[OSM-dev] incomplete import with osm2pgsql 0.83 från sweden.osm.pbf

Per Eric Rosén per at rosnix.net
Mon May 13 21:14:30 UTC 2013


Hi!

I get some ( seemlingly random) missing lakes when importing from the 
geofabrik.de planet.osm extract "sweden.osm.pbf".

I do like this :
wget http://download.geofabrik.de/europe/sweden-latest.osm.pbf
osm2pgsql -s -m -d gis sweden-latest.osm.pbf

(removed custom default.style and bbox for debugging, still same)

Result: 20% of lakes seems missing. Esp larger like "Mälaren" and 
"Hjälmaren", but also som smaller. I addition to seeing the missing lakes 
with mapnik, I have tried looking for them with psql queries and by 
loading planet_osm_polygon in qgis.

The lakes are present when I look at the data with josm. I *could* 
probably download a planet.osm and compare, but it would the a bit over my 
current availible computing capacity.

(and no, there seems to be no polygons at all imported for the missing 
lakes, tagged natural=water or not)

osm2pgsql is lastest from git (tried stable too), database is normal 
postgres 9.1 / postgis 2.0.3 on debian 7.0 amd64.

anything obvious forgotten?
/Per Eric
--
^): Per Eric Rosén http://rosnix.net/~per/
/   per at rosnix.net GPG 7A7A BD68 ADC0 01E1 F560 79FD 33D1 1EC3 1EBB 7311


More information about the dev mailing list