This fails when the input filename is for example 'some.body.osm'. The error message is "what(): BlobHeader size invalid:1010792557 Aborted (core dumped)"
Test case:
~/osm-tools/osmium/osmjs/osmjs -j ~/osm-tools/osmium/osmjs/js/testgeom.js /tmp/palermo.streets.osm
I don't know if it worth adding more logic or simply let it fail with a more descriptive error message. The work-around for me (renaming the input file) was trivial :)
The text was updated successfully, but these errors were encountered:
There is special logic for handling filenames containing dots in order to identify .osm.bz2 and other compression formats.
https://github.com/joto/osmium/blob/master/include/osmium/osmfile.hpp#L457
This fails when the input filename is for example 'some.body.osm'. The error message is "what(): BlobHeader size invalid:1010792557 Aborted (core dumped)"
Test case:
~/osm-tools/osmium/osmjs/osmjs -j ~/osm-tools/osmium/osmjs/js/testgeom.js /tmp/palermo.streets.osm
I don't know if it worth adding more logic or simply let it fail with a more descriptive error message. The work-around for me (renaming the input file) was trivial :)
The text was updated successfully, but these errors were encountered: