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.
C# Other
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
EditorProject
GeoJsonToMesh started working out hjow to create the projector standard asset from … Jan 15, 2017
Samples/HoloLens/HoloLensMapSample
ThreeDMapDataAPI
img
.gitignore
LICENSE Initial commit Dec 31, 2016
Queries.txt made the request based on data dynamically retrieved from overpass AP… Jan 5, 2017
README.md
Script1.js
json1.json

README.md

HoloLens 3D Mapping in Unity

See http://peted.azurewebsites.net/hololens-3d-mapping/ for further details and usage

Alt text

alt tag

Editor

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

REST API

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