[Tile-serving] [osm2pgsql] Don't let invalid geometries into the database (#428)

Frederik Ramm notifications at github.com
Mon Aug 10 09:10:59 UTC 2015


Unsure what this discussion is about. There are certainly a large number of invalid polygons (self-intersections, inner rings sharing a boundary with the outer ring, piece of outer ring contained twice) in the OSM database at the moment. If osm2pgsql already has code to somehow magically correct these polygons, then perhaps this change really affects just a few edge cases and doesn't require much discussion. If on the other hand the suggestion were to stop importing and/or auto-fixing all these broken polygons altogether, then I would be very much in favour of this as it would lead to better data, but it would certainly lead to a short-term drop in colourful areas.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/428#issuecomment-129374509
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150810/85ca6049/attachment.html>


More information about the Tile-serving mailing list