Hacker News new | ask | show | jobs
by AndrewKemendo 3621 days ago
How is it generating the 3D Building objects (like the cathedral)? Does it just pull from a object library tied to that geo like google maps?
2 comments

No, all 3D buildings data is provided by OpenStreetMap. This wiki page describes the model:

http://wiki.openstreetmap.org/wiki/Simple_3D_buildings

In short, all complex buildings are defined via multiple simple polygons with height, height under ground, colors, etc.

For example, you can check how Saint Basils Cathedral is defined (take a look at Members list):

https://openstreetmap.org/relation/3224486

I think this is the relevant section of the docs.

https://github.com/reinterpretcat/utymap/wiki/How-To#customi...

Customize POI

By default, Place of Interest data is rendered as textured cube by demo app. If you want to customize this, check poi builder in demo app. You may replace default implementation with more complex. In future, there are plans to start adding specific builders for specific poi (e.g. builder for cache machine, street lights, etc.)