[Tile-serving] [openstreetmap/osm2pgsql] Import of changes failing because of TopologyException (#787)

Paul Norman notifications at github.com
Sat Sep 23 09:06:34 UTC 2017


> Can you also reduce the number of updates you get at once? This should result in a smaller XML file to search through.

I no longer need the diff, since I can reproduce an error locall. Although I'm not sure why you get an error with COPY and I don't, or why that geom is processed at all, if I download that relation from the API and import it with

`osm2pgsql -d gis --slim r2823696.osm -S default.style`  I get
```
gis=# select count(*) from planet_osm_polygon where not st_isvalid(way);
NOTICE:  Self-intersection at or near point -18073790.800134856 -20061906.389537029
┌───────┐
│ count │
├───────┤
│     1 │
└───────┘
```

This is an error, and is almost certainly the same problem that you're seeing.

If I try it with 0.92.0, the DB has no invalid geoms.

Because this is a critical regression, we're holding up the 0.94.0 release

-- 
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-331621559
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20170923/8b832883/attachment.html>


More information about the Tile-serving mailing list