[Tile-serving] [openstreetmap/osm2pgsql] Import of changes failing because of TopologyException (#787)
Christoph Hormann
notifications at github.com
Mon Sep 25 09:14:39 UTC 2017
> How'd you check this, and what versions of components?
Extracted the relation from overpass api, converted to spatialite file with osmium (built from master from a few weeks back i think), converted to EPSG:3857 using ogr2ogr (GDAL 2.2.1) and checked for ST_IsValid() using spatialite.
I don't think this is an issue though - the geometry contains nothing that is prone to making it invalid upon reprojection and osmium would report and reject if it was invalid originally.
> All geometries being ST_IsValid is an essential constraint.
As @lonvia said then you need to check with Postgis and reject all geometries that violate this. Geometries becoming invalid by reprojection is rare with mercator but with a whole planet that is still likely to occur a few times.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/787#issuecomment-331823544
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20170925/77b5b9cb/attachment.html>
More information about the Tile-serving
mailing list