The goal of this project is to create a plugin API to display OpenStreetMap (OSM) data on NASA Web WorldWind virtual globe in three dimensions. The API fetches the OSM data in real time based on a bounding box, or 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. Height to 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.
More can be found at http://osm.eoapps.eu/.
Milan buildings in 3D, where the height of the buildings is extracted from Lidar using GRASS. A local file is used.
New York buildings in 3D, where the height information is coming from OSM. The data is fetched in real time.
sudo apt-get install apache2 cd /var/www/html/ sudo apt-get install git sudo git clone https://github.com/kilsedar/3dosm.git
NOTE: switching between examples requires to edit the require.conf.js file.
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - sudo apt-get install nodejs sudo npm install -g karma-cli karma start
npm install -g jsdoc