Hi,

On 05/07/12 00:17, Sven Geggus wrote:
I patched osm2pgsql and it allows to import such polygons. Mapnik renders
it correctly.

Not a good Idea IMO because there is more than Mapnik and quite a lot
of the spatial operations in postgis will not work with invalid
geometries.

I agree.

One could have a flag like "--try-to-repair-broken-polygons" for users who want that, but the osm2pgsql instance that we run at OpenStreetMap should be dropping dodgy polygons instead of trying to get them to render somehow.

Bye
Frederik

--
Frederik Ramm  ##  eMail frede...@remote.org  ##  N49°00'09" E008°23'33"

_______________________________________________
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev

Reply via email to