[Tile-serving] [osm2pgsql] some multipolygons don't get created when using --proj 4326 (#514)

TobWen notifications at github.com
Wed Dec 9 20:29:24 UTC 2015


osm2pgsql is not building some multipolygons when using --proj 4326.

Have a look at this relation:
```wget -O nrw.osm http://www.openstreetmap.org/api/0.6/relation/62761/full```
or its simiplied version (only have the size and faster to download):
 ```wget -O nrw.osm https://clbin.com/nbVgx```

I've imported it like this using the default.style with and without --multi-geometry using osm2pgsql c8265f809e3c809638040db750477ba2963cc0ee:
```
osm2pgsql --create --database testcase --proj 4326 nrw.osm
```

The resulting administrive area can't be found in planet_osm_polygon, it can be found splittet in more than 20 pices in planet_osm_line.

Import works as expected when using native mercator projection:
```
osm2pgsql --create --database testcase nrw.osm
```

Simplified testcase (based on nrw.osm):


---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/514
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20151209/4999d3d5/attachment.html>


More information about the Tile-serving mailing list