[OSM-dev] osm2pgsql invalid polygons

Ramas ieskok at ramuno.lt
Sun May 6 17:24:19 BST 2012


Hi devs,
how do you solve problem with skipped invalid polygons? Seems new geos lib
fails to validate relations like this:
http://www.openstreetmap.org/browse/relation/2148430

with error:
Self-intersection at or near point 2889220.2400000002 7470212.1299999999

I patched osm2pgsql and it allows to import such polygons. Mapnik renders
it correctly. Does we need such validations?

Ramunas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20120506/7d814f4b/attachment.html>


More information about the dev mailing list