This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Missing data after importing into postgis with osmosis

0

Hello everyone,

I have successfully imported a .bz2 OSM extract to PostGIS with osmosis using --read-xml , but when I have displayed the data in ID Editor, I noticed that there are some missing geometries (highways especially).

I remember that I had the same problem with osm2pgsql and I solved it with the --slim option.

Here is the command I used:

osmosis --read-pbf country.osm.bz2 --write-apidb host="localhost" database="openstreetmap" user="postgres" password="*********" validateSchemaVersion="no"

Maybe I have commited a mistake, which is ?? thank you

asked 27 Oct '15, 09:55

AYARI's gravatar image

AYARI
31335
accept rate: 0%

edited 27 Oct '15, 09:56

Source code available on GitHub .