Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: block raw size expected at: 0x0A #11

Open
abyrd opened this issue Aug 4, 2015 · 1 comment
Open

Error: block raw size expected at: 0x0A #11

abyrd opened this issue Aug 4, 2015 · 1 comment

Comments

@abyrd
Copy link
Member

abyrd commented Aug 4, 2015

Report from Gerd Petermann from the osm-dev list:

I was able to run the sample commands in readme.md with this file:
http://download.geofabrik.de/europe/germany/niedersachsen-latest.osm.pbf

I've then used
wget http://localhost:9001/52.880317,8.4041013,52.9082785,8.4864987.pbf

to extract a small part. Next step was to convert it to xml format, but osmconvert (1.8.4) complains:

f:\osm>osmconvert.exe "52.880317,8.4041013,52.9082785,8.4864987.pbf" -o=test.osm
osmconvert Error: block raw size expected at: 0x0A.

Interestingly I was able to read the pbf file with splitter which uses the library provided by Scott A. Crosby.

@abyrd
Copy link
Member Author

abyrd commented Aug 4, 2015

Bug reproducible on MacOS 10.10.4:

$ osmconvert "52.880317,8.4041013,52.9082785,8.4864987.pbf" -o=test.osm
osmconvert Error: block raw size expected at: 0x0A.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant