logo separator

[mkgmap-dev] Maps crashing Mapsource in big cities

From Felix Hartmann extremecarver at googlemail.com on Fri Feb 12 12:26:53 GMT 2010


On 12.02.2010 12:50, Mark Burton wrote:
> Hello Felix,
>
>    
>> To me it seems that either we do something wrong, or Mapsource cannot
>> handle very detailed places. Try compiling Australia from Geofabrik (I
>> used maxnodes=1300000 - so smaller than default 16...)
>> with the following commandline:
>> start /low /b /wait java -enableassertions -jar -Xmx4200M mkgmap.jar
>> --max-jobs=2 --reduce-point-density=5.4 --reduce-point-density-polygon=4
>> --suppress-dead-end-nodes --index --delete-tags-file=deletetags
>> --blacklist-tags-file=deletetags --adjust-turn-headings
>> --ignore-maxspeeds --ignore-turn-restrictions --remove-short-arcs=4
>> --location-autofill=1 --description=openmtbmap_%abr%_%date% --route
>> --country-abbr=%abr% --country-name=%country% --mapname=%mapid%0000
>> --family-id=%mapid% --product-id=1 --series-name=openmtbmap_%abr%_%date%
>> --family-name=mtbmap_%abr%_%date% --tdbfile --overview-mapname=mapset
>> --area-name=%country% d:\garmin\mkgmap_680\maps\%mapid%00%tile%.osm.gz
>>
>> At the latest on resolution=24 it crashes. If I use
>> --generate-sea=no-mp;extend.... then it already crashes on resolution 22
>> (zoomlevel 700m). Simply center onto the city POI of Melbourne and zoom
>> in. Same problem exists for Greece and Athens. (it's not related to the
>> TYPfile - Mapsource also crashes without registered typfile). Reports I
>> got indicate that the maps not only crash Mapsource but also BSOD Garmin
>> GPS (though no damage done, except restart needed).
>>      
> Could it be simply that the map has too much stuff in it and some limit
> in mapsource/gps is being exceeded.
>
> What happens if you use smaller tiles? Do the same problems occur?
>
> I don't understand why people make such big tiles, what's the benefit?
>    
You're right. Decreasing Splitter maxnodes to 800.000 worked fine. 
1.000.000 still crashed Mapsource. Maybe there are some limits that 
mkgmap is assuming higher than they should be. For the sake of safety I 
would decrease --maxnodes default to 400.000 - as only then 
Denmark/Netherlands are more or less safe without errors.
> Cheers,
>
> Mark
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>    



More information about the mkgmap-dev mailing list