logo separator

[mkgmap-dev] Splitter PBF support patch

From Marko Mäkelä marko.makela at iki.fi on Thu May 19 22:00:58 BST 2011

On Thu, May 19, 2011 at 11:46:57PM +0300, Marko Mäkelä wrote:
>Doh, I missed this. I had the broken *.osm.pbf files lying around from 
>a previous broken run, and was just about to complain that the patch 
>fails to close the polygons, as your initial splitter.jar release did.  
>I will try this one more time on today's finland.osm.pbf

The split time was reduced from 140ish (IIRC) to 102 seconds.

There seems to be something wrong with the pbf output, because mkgmap is 
outputting this kind of messages:

2011/05/19 23:53:11 WARNING (OsmBinHandler): 63240005.osm.pbf: Way 
http://www.openstreetmap.org/browse/way/107168753 references undefined 
node 1231941341
2011/05/19 23:53:11 WARNING (OsmBinHandler): 63240005.osm.pbf: Way 
http://www.openstreetmap.org/browse/way/107168753 references undefined 
node 1232127462
2011/05/19 23:53:11 WARNING (OsmBinHandler): 63240005.osm.pbf: Way 
http://www.openstreetmap.org/browse/way/107168753 references undefined 
node 1232017145

Could it be that when you delete nodes outside the output tile, you 
forget to delete the node references from the way? I have not seen these 
messages before. Or is the osm.gz output of the splitter equally broken, 
but the mkgmap XML parser is not complaining about ways referencing 
deleted nodes?

Apart from these warnings, I am still getting the warnings about 
unclosed polygons, like this:

2011/05/19 23:54:39 WARNING (StyledConverter): 63240008.osm.pbf: 
Unclosed way http://www.openstreetmap.org/browse/way/23679990 
[natural=water] should be converted as shape but the start or end point 
lies inside the bbox. Skip it.

For some reason, the pbf splitter workflow failed to issue the data 
error (one dead-end oneway) that I got reported for the same 
finland.osm.pbf when splitting it to osm.gz.

Can you fix these issues?

	Marko



More information about the mkgmap-dev mailing list