logo separator

[mkgmap-dev] Problem with osmconvert pbf files

From GerdP gpetermann_muenchen at hotmail.com on Thu Jan 3 15:00:20 GMT 2013

Roger Calvert wrote
> pbf files generated by osmconvert.exe appear to be incompatible with
> mkgmap.
> 
>  >Error at line 1, col 1
>  >Bad file format: cumbria.pbf
>  >Error parsing file
> 
> Test sequence:
> 1. compile a pbf file generated by splitter - good
> 2. convert this file to osm with osmconvert.exe and compile - good
> 3. convert the osm file back to pbf with osmconvert.exe and compile -
> fails.
> 
> Comparison of the 'before' and 'after' pbf files with a hex editor shows 
> that they are very different (although they are the same at line 1 
> column 1). The 'after' file is about 230k smaller (in about 5M) than the 
> 'before' file.
> 
> I am using osmconvert version 0.7N and mkgmap 2353.
> 
> Has anyone else encountered this problem?

I can reproduce this problem with mkgmap when I rename a 
file from xyz.osm.pbf to xyz.pbf.

Gerd




--
View this message in context: http://gis.19327.n5.nabble.com/Problem-with-osmconvert-pbf-files-tp5742471p5742517.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.


More information about the mkgmap-dev mailing list