GSoC 2017 - 3D OSM Plugin API for ESA-NASA Web World Wind
Introduction
The goal of this project is to create a plugin API to display OpenStreetMap (OSM) data on NASA Web World Wind virtual globe in three dimensions. The OSM data is going to be fetched in real time based on a bounding box or a URL for OSM data and some keywords. The adapter will offer a function to extrude the polygons present in the fetched data using an arbitrary height value. Additionally the project may extract the real heights of buildings using DSM data and apply these heights to extrusion, improve performance via various caching techniques, and tile the data. In case the tiling will be implemented, a new adapter may be created to tile any GeoJSON data. (https://summerofcode.withgoogle.com/projects/#4767034027016192)
The project can be found at https://github.com/kilsedar/3dosm.
Tentative Schedule
Time frame | Task |
---|---|
May 30 - June 8 2017 | OSM data retrieval and filtering |
June 9 - 15 2017 | OSM data rendering |
June 16 - 26 2017 | Extrusion of OSM polygon data |
June 27 - July 2 2017 | Investigation of caching techniques |
July 3 - 20 2017 | Implementation of caching |
July 21 - 24 2017 | Search for DSM data with a large enough coverage |
July 25 - August 9 2017 | Implementation of an algorithm to match the DSM and OSM buildings |
August 10 - 20 2017 | Development of a use case application to showcase the API developed, where bounding box is defined by drawing a rectangle on the globe, or providing a URL for data |
August 21 - 29 2017 | User interface implementation |
ɤ In case time remains, existing tiling procedures will be investigated and the most suitable one will be implemented.
Weekly Reports
Week 1
- What did I complete this week?
- Configured the environment for unit testing.
- Implemented OSMLayer and OSMBuildingLayer classes, which fetch the OSM data given a bounding box, render the data in 3D, zoom on the data. - What am I going to achieve next week?
- I will do research on how tiling can be implemented for OSM data in NASA Web World Wind and start its implementation. - Is there any blocking issue?
- There is no blocking issue.
Week 2
- What did I complete this week?
- Fixed some bugs of the OSMBuildingLayer.
- To improve the performance, instead of tiling my mentor suggested me to use triangle meshes. I started to triangulate the 3D polygons, by creating a subclass of GeoJSONParser. I first triangulated the lateral surfaces and started to read how to make polygon triangulation including the concave ones and the ones with holes. Found https://github.com/mapbox/earcut. - What am I going to achieve next week?
- If my mentor approves I will triangulate also the top of the polygons using the ear cut algorithm.
- I will assess the performance improvements gained using triangulation.
- I will improve the documentation. - Is there any blocking issue?
- There is no blocking issue.
Student's Biography
Candan Eylül Kilsedar studied Computer Science and Engineering in BSc and MSc. Currently she is working in the Department of Civil and Environmental Engineering, in GEOlab, Politecnico di Milano, Italy as a research fellow and PhD student. GEOlab focuses highly on Free and Open Source Software (FOSS) and as a result she has experience in using FOSS. She wants to take the opportunity of joining GSoC 2017 to extend her knowledge in FOSS development. Her mentors for this project are Patrick Hogan, the project manager of the NASA World Wind and Jakub Balhar, software Engineer at Gisat. Eventually she wants to develop & use FOSS to build better communication and collaboration inside and among cities. She is interested in web technologies and geographic data visualization techniques. Her GitHub repositories can be found at https://github.com/kilsedar.