logo separator

[mkgmap-dev] Splitter PBF support patch

From Steve Ratcliffe steve at parabola.me.uk on Fri May 27 11:29:15 BST 2011

Hi

I compared the pbf and xml formats as output from a small file which 
only produced one output tile.

I converted the pbf to xml with osmosis. Its tricky to compare them, but 
by counting elements it seemed that the main differences was that there 
were fewer relations in the pbf output. Further more it just seemed to 
be the final few that were missing.

Comparing with the osmosis code I think there should be a switchTypes() 
call to ensure that the last relations are written out (see attached patch).

After the patch, I can't see any further substantial difference between 
the outputs. Compiled img files are the same size although not entirely 
identical. I'm not sure if the differences are significant or not yet.

There could still be bugs in the mkgmap pbf reader code. Although it has 
been in for a while, its probably not been used much until now.

..Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pbf-finish.patch
Type: text/x-patch
Size: 564 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20110527/8714e559/attachment.bin 


More information about the mkgmap-dev mailing list