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 c8265f8:
- make use of osmium's CRS wrapper
- use virtual functions instead of switching over projection
- remove duplicate code (mainly WSG84 to mercator transformation)
- use custom projections also with --proj 4326 and 900913
Fixesopenstreetmap#514.
- make use of osmium's proj wrapper class CRS
- use virtual functions instead of switching over projection
- remove duplicate code (mainly WSG84 to mercator transformation)
- use custom projections also with --proj 4326 and 900913 (fixesopenstreetmap#514)
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/fullor its simiplied version (only have the size and faster to download):
wget -O nrw.osm https://clbin.com/nbVgxI've imported it like this using the default.style with and without --multi-geometry using osm2pgsql c8265f8:
The resulting administrive area can't be found in planet_osm_polygon, it can be found splittet in more than 20 pieces in planet_osm_line.
Import works as expected when using native mercator projection:
The text was updated successfully, but these errors were encountered: