logo separator

[mkgmap-dev] [PATCH v1] Subdivision splitting

From Marko Mäkelä marko.makela at iki.fi on Wed Sep 14 09:54:26 BST 2011

On Wed, Sep 14, 2011 at 09:57:16AM +0200, Thorsten Kukuk wrote:
>I tried to apply it on top of mkgmap-r2028, but it does not compile, 
>toGarmingString is an unknown symbol. I disabled the two lines for now 
>and I will testing it with my maps.

There is no toGarminString either.

Unfortunately, this patch did not get rid of a warning that I have been 
getting for some time now:

2011/09/14 09:08:58 WARNING (Subdivision): 63240010.osm.pbf: Subdivision 
width is 36627 at 3231057/1236133

Here is how I generated the tile:

java -Xmx1024m -Dlog.config=logging.properties -jar mkgmap.jar 
--max-jobs --product-id=1 --code-page=1252 --adjust-turn-headings 
--remove-short-arcs --country-abbr=FIN --country-name=Finland --route 
--drive-on-right --check-roundabouts --check-roundabout-flares 
--report-dead-ends=2 --add-pois-to-areas --link-pois-to-ways 
--generate-sea=multipolygon --family-id=1 --family-name=OSM-14.09.2011 
--location-autofill=nearest --description=Lappi 
--generate-sea=multipolygon,extend-sea-sectors --mapname=63240010 
--input-file=63240010.osm.pbf

The tile comes from finland.osm.pbf with these splitter bounds:

63240010: 3067072,946400 to 3268608,1409024
#       : 65.812225,20.307540 to 70.136719,30.234375

I guess I should split the tile at about 1236133 or halfway between 
946400 and 1409024 to silence the warning.

Apart from multipolygon warnings (grep -vi multipolygon), only two 
warnings are generated for the tile:

2011/09/14 11:48:58 WARNING (MapBuilder): 63240010.osm.pbf: Highway 29 
has no region (define a default region to zap this warning)
2011/09/14 11:49:08 WARNING (Subdivision): 63240010.osm.pbf: Subdivision 
width is 36627 at 3233496/1236133

Best regards,

	Marko



More information about the mkgmap-dev mailing list