x

Re: Worldwide routable Garmin maps: URL REMOVED


Geschrieben von Lambertus (Gast) am 07. Februar 2010 20:44:19: [flux]

Als Antwort auf: Worldwide routable Garmin maps: URL REMOVED geschrieben von Lambertus (Gast) am 08. März 2009 14:41:

Download the planet file if you plan to render the entire world, like I do. Otherwise download from a Geofabrik or Cloudemade extract or from any other extract source.

The next two steps are performed recursively until Mkgmap was able to render the source data successfully.
1) Split the planet into tiles that can be processed by Mkgmap:

java␣-Xmx3400m␣-ea␣-jar␣~/garmin/utils/splitter/splitter.jar␣--no-trim␣--max-areas=150␣--cache=cache␣--mapid=$mapid␣--max-nodes=$max_nodes␣--write-kml=$name.kml␣--geonames-file=../../cities15000.zip␣planet-latest.translit.osm.gz

2) Render step (done before each release):

ulimit␣-t␣600␣&&␣java␣-Xmx1792M␣-ea␣-jar␣~/garmin/utils/mkgmap/mkgmap.jar␣--road-name-pois␣--adjust-turn-headings␣--latin1␣--name-tag-list=name:en,int_name,name:zh_py,name:engels,name␣--remove-short-arcs␣--add-pois-to-areas␣--make-opposite-cycleways␣--link-pois-to-ways␣--route␣--description='OSM␣World␣Routable'␣--series-name='OSM␣World␣Routable'␣$file

Combining step (done on request of the user):

Java␣-Xmx2048M␣-jar␣$utils_dir/mkgmap/mkgmap.jar␣--index␣--overview-mapname=63240000␣--series-name='OSM␣World␣Routable'␣--latin1␣--description='OSM␣World␣Routable'␣--product-id=3␣--family-id=2000␣--tdbfile␣--nsis␣--gmapsupp␣*324*.img

The Mkgmap and Splitter tools versions are mostly the latest available. There is another too, which isn't opensource (yet, I certainly hope) that transliterates non-English names to English. Anyone doing some serious map building outside the ASCII or Latin1 language areas should experiment to make their Mkgmap parameters suit that situation. I don't have any experience with that, so I can't help unfortunately.