I've a little problem with either the initial data (from Geofabrik) or the import (using osm2pgsql): I can't find some lines of a street in my city in the database while they are there on the OSM-Site (http://www.openstreetmap.org/).
So here is what I've done:
- Downloaded the PBF from Geofabrik (karlsruhe-regbez-140706.osm.pbf)
- Imported it using osm2pgsql (osm2pgsql -c -k -d osm -U postgres -H localhost -S openstreetmap-carto.style karlsruhe-regbez-140706.osm.pbf)
- Trying to find a line which should be there (SELECT * FROM planet_osm_line WHERE "osm_id" = 132833416)
The line is part of a long street here in Karlsruhe and can be found via osm.org (http://www.openstreetmap.org/way/132833416#map=19/49.00566/8.40795&layers=D). The line "left" of the missing on is present in the database. The second next to it's right is there , too.
Versions used:
- osm2pgsql SVN version af61cae663 (64bit id space)
- PostgreSQL 9.3.4 x64
- PostGIS 2.1.3 x64
Am I doing something wrong? No errors are shown, by the way. Any chance to find out if the line in question is in the PBF at all?
-s
, that's why it worked for me from the start.