Brussels / 3 & 4 February 2018


3D OSM Plugin API for ESA-NASA Web WorldWind

The OpenStreetMap (OSM) is a geospatial database of the world built by volunteers, an example of Volunteered Geographic Information (VGI). Some of the features that can be found in OSM include footprints of buildings, roads, green areas and more, where the complete list can be found at Besides the footprints of the buildings, OSM may optionally have the heights of the buildings or number of levels of the buildings, so it can be used for their 3D visualization. The features other than buildings can visualized in 2D. Moreover, as the database can be updated by anyone, for the intended region, the building heights, number of levels of the buildings, or any other missing information can be inserted into the database.

A plugin API has been written in JavaScript to display OSM data on ESA-NASA Web WorldWind virtual globe in two and three dimensions. The API fetches the OSM data in real time based on a bounding box, uses a local file or the data itself in GeoJSON format. The project focuses on the performance of the visualization of 3D OSM buildings, and for this purpose creates triangle meshes based on the footprint available in OSM database using the earcut algorithm ( Height of the buildings can be assigned using the OSM database, a property in a GeoJSON file or an arbitrary value. The API can also create a heatmap based on the heights of the buildings. The API also offers caching and sectorizing (tiling) to improve the performance.


Candan Eyl├╝l Kilsedar