polygon-city / polygon-city-cli

Converts a CityGML file into GeoJSON footprint indexes and 3D models (obj & collada)
6 stars 1 forks source link

Place a default point or shape in the GeoJSON index for buildings without a ground surface #8

Closed robhawkes closed 8 years ago

robhawkes commented 8 years ago

Some buildings don't have a ground surface defined in the CityGML and so it's difficult to work out which polygons to use for the footprint. In this case they currently don't get added to the GeoJSON index.

For the buildings without a ground surface, a GeoJSON point feature or some other default shape (eg. a small circle) should be added at the building centroid as an alternative. This potentially complicates the GeoJSON by including non-footprint features so perhaps it could be added as a separate group / layer within the GeoJSON (so they can be filtered out).

robhawkes commented 8 years ago

229d7390d921e76d882e8ee7d8b1d838924c9436 closes this for the time being