fixing-polygons-in-osm
fixing-polygons-in-osm copied to clipboard
Fixing (multi)polygons in OpenStreetMap
Although this project is no more active i wanted to share some observations here regarding the remaining impact of broken polygon geometries in the OSM database, in particular w.r.t. https://github.com/openstreetmap/osm2pgsql/pull/684....
**I will be (mis-)using this issue to occasionally write about the current state of the effort to fix the (multi)polygons in OSM.** After a lot of preparation over the last...
While I generally agree with changing old style multipolygons to new style multipolygons, I want to mention that there is an issue which let me refrain from doing so in...
Sometimes (inner or outer) ways have the same tags as the multipolygon relation. This could be the result of an incomplete cleanup of the old-style multipolygon or have other reasons....
Another thing to fix in/with mps: overlapping landuses/naturals Often, mappers will overlay areas (rather than use distinct polygons or mps), which works for the map (due to rendering z-order), but...
While fixing old-style polygons I see semi-often that there are two or more multipolygon sharing the same outer way. Often, the inner ways are not (completely) the same so I...
Maybe the [*Wrong role*](http://area.jochentopf.com/stats/#wrong_role) case should also include empty roles which are deprecated according to the [wiki](https://wiki.openstreetmap.org/wiki/Relation:multipolygon#Members) (since at least [mid 2011](https://wiki.openstreetmap.org/w/index.php?title=Relation:multipolygon&diff=655239&oldid=655238)): > [role=empty:] Don't use, deprecated. Tools may handle...
Sorry having to bring this one up here, but it emerged from a discussion with another mapper (and it seems there's no example for this on the wiki). ![rings](https://cloud.githubusercontent.com/assets/7353960/24801431/79fa178a-1ba4-11e7-9363-415f230578d9.png) This...
I'm not sure if you have this in your pipeline anyway, but found those cases worth mentioning here. _Multipolygon relations with only one member_ ``` relation({{bbox}}) [type=multipolygon] (if:count_members()==1); (._;>;); out...
While touching inner rings are permitted in osm, how about touching outer rings? JOSM sees this as an error, and it also cannot be handled by OGC conforming functions. These...