osm-analytics icon indicating copy to clipboard operation
osm-analytics copied to clipboard

buildings highlighted are only ways, not multipolygon relations

Open MarcoMinghini opened this issue 8 years ago • 3 comments

Buildings found on the map are just the ways having building=_, while _relations* having building=* and type=multipolygon (typically buildings having an inner courtyard) are not shown (example: http://www.openstreetmap.org/relation/1120279)

MarcoMinghini avatar Apr 28 '16 20:04 MarcoMinghini

Sorry, I've just read this in the README. However I think this is an important feature to add so I hope to see it in the future. Thanks!

MarcoMinghini avatar Apr 28 '16 20:04 MarcoMinghini

yeah, it's one of the current limitations. It would be possible to add without almost any effort to osm-analytics, but requires having the multipolygon geometries is the osm-qa-tiles. And from what I can see, it should be possible to include them there as the producing code seems to already support it. On the other hand I'm not 100% sure if this is going to land in osm-qa-tiles anytime soon… //cc @aaronlidman

tyrasd avatar Apr 29 '16 07:04 tyrasd

We're looking into adding multipolygons, which would support most buildings, into the underlying osm-qa-tiles. While already technically possible, it greatly increases processing time and output size, so we're looking into other ways of doing it.

Here are our initial results:

command minjur time geojson size tippecanoe time mbtiles size total time
minjur 1h14m 210 GB 2h22m 26 GB (25 gzip) 3h36m
minjur-mp 2h34m 329 GB 3h57m 64 GB (57 gzip) 6h31m

aaronlidman avatar Apr 29 '16 13:04 aaronlidman