Geojsontomesh by peted70 - 2

Importers & ExportersVR & ARExtensions

A quick look at #3D mapping on #HoloLens with #unity. Provides a custom editor to import a Geo Bounding Box into Unity as a 3D mesh which is textured with a satellite image using the Bing Maps static API.

Unknown VersionMIT LicenseUpdated 4 years agoCreated on December 31st, 2016
Go to source

HoloLens 3D Mapping in Unity

See for further details and usage

Alt text

alt tag


To use you can add an empty GameObject into your scene and then add the ThreeDMapScript as a new component to that GameObject. The custom editor for this component will provide some inputs to allow you to define a bounding box in terms of latitude and longitude. Also, you can specify the height of the levels used for the buildings. This could also be sourced from other data sets so could be a more accurate representation of the building heights. Once set the Generate Map button will cause the script to call the REST API to retrieve the GeoJSON and the satellite image, generate the meshes and apply the required material. Each building is currently represented by a separate mesh as can be seen in the scene hierarchy window and is named from data in the GeoJSON. alt tag


To run the REST API either load the ASP.NET Core project in Visual Studio and press F5 or navigate in a shell to the folder containing the project.json file and execute the command dotnet run

alt tag

Show all projects by peted70