Hi I am am just atarting with openstreet maps and I am trying to get an instance set up ona stand alone computer and running into problems.
I am trying to load berlin-latest.osm.pbf file from http://download.geofabrik.de/europe/germany/ ,. I am using the command
osm2pgsql -W -d osm berlin-latest.osm.pdf --number-processes 8 -C 8000 --slim -S default.style
and I keep getting the error
Using PBF parser.
terminate called after throwing an instance of ‘osmium::pbf_error’
What(): PBF error: truncated data (EOF encountered)
Aborted (core dumped)
I am using the latest version of osm from github, I am using postgresql-9.3.
any help for why I am getting this would be great. I downloaded the file three times thinking I had corrupted it but I still keep getting the same error.
thanks