You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2014-04-26 02:13:59

Maximilian Kaul
Member
Registered: 2014-04-26
Posts: 6

[solved] mkgmap + phyghtmap contour map GPSMap64s

Hi Forum,
I have been struggling with compiling my own maps for the past few days and I think I read enough manpages and posts to be at the point where it makes sense to bother other people with my questions.
I'm trying to compile a map for most of Canada's east and a bit of the United States (19 states in total)

What I want to accomplish
-    Routable map (Garmin GPSMap 64s)
-    Address search working
-    Contour lines

All programs I use are pretty much up-to-date as I use the ArchLinux packages (which gave me some trouble because a lot of information I found on the web seems to be outdated)

What I did/understood so far (the $variables are substituted as this is from my perl script):
1)    Download maps in .osm.pbf format (got all the maps from download.geofabrik.de)
2)    Splitted all maps (looped over them and splitted one after another, each in a separate directory)

$java $java_args -jar /usr/share/java/splitter/splitter.jar $filename --keep-complete=true --geonames-file=$splitter_cities_file --max-areas=64 --max-nodes=1600000 --mapid=$MAPS{$map} --output-dir=$outdir

3)    Grabbed area from splitter log

Exact map coverage is $L, $B to $R, $T

and executed phyghtmap for each map putting the output of phyghtmap in a common directory for all maps

/usr/bin/phyghtmap -a $L:$B:$R:$T -s 10 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ -o $out_directory

4)    Combined phyghtmap output

$java $java_args -jar /usr/share/java/mkgmap/mkgmap.jar --gmapsupp --max-jobs --output-dir=$out_directory --transparent --draw-priority=28 --mapname="OSM Topo" $topo_files

5)    Prepared bounds for each map

$java $java_args -cp /ust/share/java/mkgmap/mkgmap.jar uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor $filename ${folder}/bounds/

6)    Compiled each map separately

cd $map_dir && $java $java_args -jar /usr/share/java/mkgmap/mkgmap.jar --gmapsupp --max-jobs --output-dir=$out_directory --transparent --draw-priority=25 --bounds=./bounds/ -c template.args

7)    Combined all maps from step 6 (=> not including contour map)

$java $java_args -jar /usr/share/java/mkgmap/mkgmap.jar --gmapsupp --max-jobs --route --output-dir=$GARMINDIR --index --drive-on-right --check-roundabouts --transparent --mapname="OSM Map" $map_files

What I get
-    One map that covers the whole are
-    Address search not working
-    Map is not routable
-    One map that should contain contour lines but it displays nothing on my Garmin

How do I fix this? What do I need to change to accomplish my goals.

Is it preferable to use a lot of small maps instead of a large one (as I do now) or will this break the routing? If it is preferable to use a lot of small maps: what are the upsides?

Another question: what are precompiled sea tiles. Do they just make coast lines look nicer on my device or do they have another purpose?

Thank you so much for your help!

Maximilian

Last edited by Maximilian Kaul (2014-05-20 22:31:37)

Offline

#2 2014-04-26 08:50:38

ligfietser
Member
Registered: 2008-10-09
Posts: 5,353
Website

Re: [solved] mkgmap + phyghtmap contour map GPSMap64s

You don't have to prepare bounds in step 5 yourself but can use the bounds from http://www.mkgmap.org.uk/download/mkgmap.html
Maybe this will make the address search work?
Use --precomp-sea=sea.zip option to make sea polygons, otherwise the sea wil be empty instead of blue.
--route and --index and other options must be in step 6 not only in 7.

Offline

#3 2014-05-04 21:09:21

Maximilian Kaul
Member
Registered: 2014-04-26
Posts: 6

Re: [solved] mkgmap + phyghtmap contour map GPSMap64s

Hi ligfietser,
sorry it took me so long to answer. I'm having trouble to find places with wifi...

ligfietser wrote:

You don't have to prepare bounds in step 5 yourself but can use the bounds from http://www.mkgmap.org.uk/download/mkgmap.html
Maybe this will make the address search work?

Still have to try this. I was not aware of this website.

Right know the device asks me to choose between
-    county
-    country
-    W
when I press the find button. No difference which I choose - most cities will not be found sad
When I move the cursor over a location the address will be displayed. So index seems to work.

ligfietser wrote:

Use --precomp-sea=sea.zip option to make sea polygons, otherwise the sea wil be empty instead of blue.

Thanks. I included this option.

ligfietser wrote:

--route and --index and other options must be in step 6 not only in 7.

Ok, I was not aware of this. I thought about this more like compiling each map with the options I want and the putting them together in the last step without the options because all the options I want are already included in the maps.

Do you (or anyone) have any idea why the contour maps from phyghtmap are blank? Or some hint on how to debug this?
When I say blank, I mean that there is no difference weather they are turned on or off on my Garmin - no contour lines sad

Combining the contour maps started to results in one 11K gmapsupp.img file don't know why that is yet.

Routing does not work - aborts with an error message.

For completeness (and because I modified my workflow) here are the commands my script runs (the 'cd' commands only affect the line there are in):

##########
# splitter
# step 2
##########
/usr/bin/java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar /home/maximilian/garmin/maps//north-america/us/indiana-latest/indiana-latest.osm.pbf --keep-complete=true --geonames-file=/home/maximilian/garmin/cities1000.zip --max-areas=64 --max-nodes=1600000 --mapid=71170000 --output-dir=/home/maximilian/garmin/maps//north-america/us/indiana-latest///splitter/
/usr/bin/java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar /home/maximilian/garmin/maps//north-america/us/illinois-latest/illinois-latest.osm.pbf --keep-complete=true --geonames-file=/home/maximilian/garmin/cities1000.zip --max-areas=64 --max-nodes=1600000 --mapid=71160000 --output-dir=/home/maximilian/garmin/maps//north-america/us/illinois-latest///splitter/
/usr/bin/java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest/newfoundland-and-labrador-latest.osm.pbf --keep-complete=true --geonames-file=/home/maximilian/garmin/cities1000.zip --max-areas=64 --max-nodes=1600000 --mapid=70010500 --output-dir=/home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest///splitter/
/usr/bin/java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar /home/maximilian/garmin/maps//north-america/us/maine-latest/maine-latest.osm.pbf --keep-complete=true --geonames-file=/home/maximilian/garmin/cities1000.zip --max-areas=64 --max-nodes=1600000 --mapid=71200000 --output-dir=/home/maximilian/garmin/maps//north-america/us/maine-latest///splitter/
/usr/bin/java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar /home/maximilian/garmin/maps//north-america/us/minnesota-latest/minnesota-latest.osm.pbf --keep-complete=true --geonames-file=/home/maximilian/garmin/cities1000.zip --max-areas=64 --max-nodes=1600000 --mapid=71240000 --output-dir=/home/maximilian/garmin/maps//north-america/us/minnesota-latest///splitter/
/usr/bin/java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar /home/maximilian/garmin/maps//north-america/canada/ontario-latest/ontario-latest.osm.pbf --keep-complete=true --geonames-file=/home/maximilian/garmin/cities1000.zip --max-areas=64 --max-nodes=1600000 --mapid=70010900 --output-dir=/home/maximilian/garmin/maps//north-america/canada/ontario-latest///splitter/
/usr/bin/java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar /home/maximilian/garmin/maps//north-america/canada/quebec-latest/quebec-latest.osm.pbf --keep-complete=true --geonames-file=/home/maximilian/garmin/cities1000.zip --max-areas=64 --max-nodes=1600000 --mapid=70011100 --output-dir=/home/maximilian/garmin/maps//north-america/canada/quebec-latest///splitter/
/usr/bin/java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar /home/maximilian/garmin/maps//north-america/us/new-hampshire-latest/new-hampshire-latest.osm.pbf --keep-complete=true --geonames-file=/home/maximilian/garmin/cities1000.zip --max-areas=64 --max-nodes=1600000 --mapid=71300000 --output-dir=/home/maximilian/garmin/maps//north-america/us/new-hampshire-latest///splitter/
/usr/bin/java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar /home/maximilian/garmin/maps//north-america/us/michigan-latest/michigan-latest.osm.pbf --keep-complete=true --geonames-file=/home/maximilian/garmin/cities1000.zip --max-areas=64 --max-nodes=1600000 --mapid=71230000 --output-dir=/home/maximilian/garmin/maps//north-america/us/michigan-latest///splitter/
/usr/bin/java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar /home/maximilian/garmin/maps//north-america/us/wisconsin-latest/wisconsin-latest.osm.pbf --keep-complete=true --geonames-file=/home/maximilian/garmin/cities1000.zip --max-areas=64 --max-nodes=1600000 --mapid=71500000 --output-dir=/home/maximilian/garmin/maps//north-america/us/wisconsin-latest///splitter/
/usr/bin/java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar /home/maximilian/garmin/maps//north-america/canada/manitoba-latest/manitoba-latest.osm.pbf --keep-complete=true --geonames-file=/home/maximilian/garmin/cities1000.zip --max-areas=64 --max-nodes=1600000 --mapid=70010300 --output-dir=/home/maximilian/garmin/maps//north-america/canada/manitoba-latest///splitter/
/usr/bin/java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar /home/maximilian/garmin/maps//north-america/canada/prince-edward-island-latest/prince-edward-island-latest.osm.pbf --keep-complete=true --geonames-file=/home/maximilian/garmin/cities1000.zip --max-areas=64 --max-nodes=1600000 --mapid=70011000 --output-dir=/home/maximilian/garmin/maps//north-america/canada/prince-edward-island-latest///splitter/
/usr/bin/java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar /home/maximilian/garmin/maps//north-america/us/vermont-latest/vermont-latest.osm.pbf --keep-complete=true --geonames-file=/home/maximilian/garmin/cities1000.zip --max-areas=64 --max-nodes=1600000 --mapid=71450000 --output-dir=/home/maximilian/garmin/maps//north-america/us/vermont-latest///splitter/
/usr/bin/java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar /home/maximilian/garmin/maps//north-america/us/new-york-latest/new-york-latest.osm.pbf --keep-complete=true --geonames-file=/home/maximilian/garmin/cities1000.zip --max-areas=64 --max-nodes=1600000 --mapid=71350000 --output-dir=/home/maximilian/garmin/maps//north-america/us/new-york-latest///splitter/
/usr/bin/java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar /home/maximilian/garmin/maps//north-america/us/massachusetts-latest/massachusetts-latest.osm.pbf --keep-complete=true --geonames-file=/home/maximilian/garmin/cities1000.zip --max-areas=64 --max-nodes=1600000 --mapid=71220000 --output-dir=/home/maximilian/garmin/maps//north-america/us/massachusetts-latest///splitter/
/usr/bin/java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar /home/maximilian/garmin/maps//north-america/us/ohio-latest/ohio-latest.osm.pbf --keep-complete=true --geonames-file=/home/maximilian/garmin/cities1000.zip --max-areas=64 --max-nodes=1600000 --mapid=71380000 --output-dir=/home/maximilian/garmin/maps//north-america/us/ohio-latest///splitter/
/usr/bin/java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar /home/maximilian/garmin/maps//north-america/canada/nova-scotia-latest/nova-scotia-latest.osm.pbf --keep-complete=true --geonames-file=/home/maximilian/garmin/cities1000.zip --max-areas=64 --max-nodes=1600000 --mapid=70010700 --output-dir=/home/maximilian/garmin/maps//north-america/canada/nova-scotia-latest///splitter/
/usr/bin/java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar /home/maximilian/garmin/maps//north-america/us/pennsylvania-latest/pennsylvania-latest.osm.pbf --keep-complete=true --geonames-file=/home/maximilian/garmin/cities1000.zip --max-areas=64 --max-nodes=1600000 --mapid=71410000 --output-dir=/home/maximilian/garmin/maps//north-america/us/pennsylvania-latest///splitter/
/usr/bin/java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar /home/maximilian/garmin/maps//north-america/us/rhode-island-latest/rhode-island-latest.osm.pbf --keep-complete=true --geonames-file=/home/maximilian/garmin/cities1000.zip --max-areas=64 --max-nodes=1600000 --mapid=71420000 --output-dir=/home/maximilian/garmin/maps//north-america/us/rhode-island-latest///splitter/
/usr/bin/java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar /home/maximilian/garmin/maps//north-america/canada/new-brunswick-latest/new-brunswick-latest.osm.pbf --keep-complete=true --geonames-file=/home/maximilian/garmin/cities1000.zip --max-areas=64 --max-nodes=1600000 --mapid=70010400 --output-dir=/home/maximilian/garmin/maps//north-america/canada/new-brunswick-latest///splitter/

##########
# phyghtmap
# step 3
##########
/usr/bin/phyghtmap -a 37.627036571502686:-88.10327053070068:41.76300287246704:-84.50398206710815 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ -o /home/maximilian/garmin/maps//hgt/
/usr/bin/phyghtmap -a 36.96729898452759:-91.51607036590576:42.50940799713135:-87.49262809753418 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ -o /home/maximilian/garmin/maps//hgt/
/usr/bin/phyghtmap -a 46.25349283218384:-67.86589622497559:60.90221643447876:-51.66099786758423 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ -o /home/maximilian/garmin/maps//hgt/
/usr/bin/phyghtmap -a 42.85442590713501:-71.45044326782227:48.15550088882446:-65.88966608047485 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ -o /home/maximilian/garmin/maps//hgt/
/usr/bin/phyghtmap -a 43.49907875061035:-97.27157592773438:49.997127056121826:-89.36206340789795 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ -o /home/maximilian/garmin/maps//hgt/
/usr/bin/phyghtmap -a 41.63769006729126:-95.1596474647522:57.50825643539429:-74.30997848510742 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ -o /home/maximilian/garmin/maps//hgt/
/usr/bin/phyghtmap -a 44.977126121520996:-81.2055516242981:63.134522438049316:-57.03234672546387 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ -o /home/maximilian/garmin/maps//hgt/
/usr/bin/phyghtmap -a 42.69669055938721:-72.55879640579224:45.446105003356934:-70.48690795898438 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ -o /home/maximilian/garmin/maps//hgt/
/usr/bin/phyghtmap -a 41.69438123703003:-90.41979789733887:49.32485818862915:-79.04665231704712 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ -o /home/maximilian/garmin/maps//hgt/
/usr/bin/phyghtmap -a 42.488980293273926:-92.89088487625122:47.41450309753418:-86.2001895904541 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ -o /home/maximilian/garmin/maps//hgt/
/usr/bin/phyghtmap -a 48.98945331573486:-102.014000415802:60.008440017700195:-88.12180995941162 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ -o /home/maximilian/garmin/maps//hgt/
/usr/bin/phyghtmap -a 45.91017007827759:-64.60503816604614:47.89281606674194:-61.15593194961548 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ -o /home/maximilian/garmin/maps//hgt/
/usr/bin/phyghtmap -a 42.72525072097778:-73.43941926956177:45.01780986785889:-71.46475553512573 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ -o /home/maximilian/garmin/maps//hgt/
/usr/bin/phyghtmap -a 40.0366473197937:-79.82402086257935:45.07132530212402:-70.4962420463562 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ -o /home/maximilian/garmin/maps//hgt/
/usr/bin/phyghtmap -a 40.82571029663086:-73.51095914840698:42.88766384124756:-68.71946096420288 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ -o /home/maximilian/garmin/maps//hgt/
/usr/bin/phyghtmap -a 38.09859037399292:-84.82189893722534:43.48234176635742:-79.89950895309448 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ -o /home/maximilian/garmin/maps//hgt/
/usr/bin/phyghtmap -a 42.01892852783203:-67.51296043395996:47.42182016372681:-58.225929737091064 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ -o /home/maximilian/garmin/maps//hgt/
/usr/bin/phyghtmap -a 38.92138481140137:-81.3783073425293:42.51533031463623:-74.68883514404297 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ -o /home/maximilian/garmin/maps//hgt/
/usr/bin/phyghtmap -a 40.99016189575195:-71.91249132156372:42.01937913894653:-71.10883712768555 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ -o /home/maximilian/garmin/maps//hgt/
/usr/bin/phyghtmap -a 44.29657459259033:-69.1902208328247:48.38074207305908:-63.34766149520874 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ -o /home/maximilian/garmin/maps//hgt/

##########
# combine topo
# step 4
##########
cd /home/maximilian/garmin/maps//hgt/ && /usr/bin/java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --gmapsupp --output-dir=/home/maximilian/garmin/maps//hgt/mkgmap/ --draw-priority=28 --mapname="OSM Topo" --max-jobs --transparent *.osm

##########
# prepare bounds
# compile map
# step 5 + 6
##########
/usr/bin/java -Xmx4096m -ea -cp /usr/share/java/mkgmap/mkgmap.jar uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor /home/maximilian/garmin/maps//north-america/us/indiana-latest/indiana-latest.osm.pbf /home/maximilian/garmin/maps//north-america/us/indiana-latest//bounds/
cd /home/maximilian/garmin/maps//north-america/us/indiana-latest/ && /usr/bin/java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --draw-priority=25 --bounds=./bounds/ --precomp-sea=/home/maximilian/garmin/sea.zip --housenumbers --max-jobs --transparent --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args
/usr/bin/java -Xmx4096m -ea -cp /usr/share/java/mkgmap/mkgmap.jar uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor /home/maximilian/garmin/maps//north-america/us/illinois-latest/illinois-latest.osm.pbf /home/maximilian/garmin/maps//north-america/us/illinois-latest//bounds/
cd /home/maximilian/garmin/maps//north-america/us/illinois-latest/ && /usr/bin/java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --draw-priority=25 --bounds=./bounds/ --precomp-sea=/home/maximilian/garmin/sea.zip --housenumbers --max-jobs --transparent --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args
/usr/bin/java -Xmx4096m -ea -cp /usr/share/java/mkgmap/mkgmap.jar uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest/newfoundland-and-labrador-latest.osm.pbf /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//bounds/
cd /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest/ && /usr/bin/java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --draw-priority=25 --bounds=./bounds/ --precomp-sea=/home/maximilian/garmin/sea.zip --housenumbers --max-jobs --transparent --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args
/usr/bin/java -Xmx4096m -ea -cp /usr/share/java/mkgmap/mkgmap.jar uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor /home/maximilian/garmin/maps//north-america/us/maine-latest/maine-latest.osm.pbf /home/maximilian/garmin/maps//north-america/us/maine-latest//bounds/
cd /home/maximilian/garmin/maps//north-america/us/maine-latest/ && /usr/bin/java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --draw-priority=25 --bounds=./bounds/ --precomp-sea=/home/maximilian/garmin/sea.zip --housenumbers --max-jobs --transparent --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args
/usr/bin/java -Xmx4096m -ea -cp /usr/share/java/mkgmap/mkgmap.jar uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor /home/maximilian/garmin/maps//north-america/us/minnesota-latest/minnesota-latest.osm.pbf /home/maximilian/garmin/maps//north-america/us/minnesota-latest//bounds/
cd /home/maximilian/garmin/maps//north-america/us/minnesota-latest/ && /usr/bin/java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --draw-priority=25 --bounds=./bounds/ --precomp-sea=/home/maximilian/garmin/sea.zip --housenumbers --max-jobs --transparent --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args
/usr/bin/java -Xmx4096m -ea -cp /usr/share/java/mkgmap/mkgmap.jar uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor /home/maximilian/garmin/maps//north-america/canada/ontario-latest/ontario-latest.osm.pbf /home/maximilian/garmin/maps//north-america/canada/ontario-latest//bounds/
cd /home/maximilian/garmin/maps//north-america/canada/ontario-latest/ && /usr/bin/java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --draw-priority=25 --bounds=./bounds/ --precomp-sea=/home/maximilian/garmin/sea.zip --housenumbers --max-jobs --transparent --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args
/usr/bin/java -Xmx4096m -ea -cp /usr/share/java/mkgmap/mkgmap.jar uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor /home/maximilian/garmin/maps//north-america/canada/quebec-latest/quebec-latest.osm.pbf /home/maximilian/garmin/maps//north-america/canada/quebec-latest//bounds/
cd /home/maximilian/garmin/maps//north-america/canada/quebec-latest/ && /usr/bin/java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --draw-priority=25 --bounds=./bounds/ --precomp-sea=/home/maximilian/garmin/sea.zip --housenumbers --max-jobs --transparent --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args
/usr/bin/java -Xmx4096m -ea -cp /usr/share/java/mkgmap/mkgmap.jar uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor /home/maximilian/garmin/maps//north-america/us/new-hampshire-latest/new-hampshire-latest.osm.pbf /home/maximilian/garmin/maps//north-america/us/new-hampshire-latest//bounds/
cd /home/maximilian/garmin/maps//north-america/us/new-hampshire-latest/ && /usr/bin/java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --draw-priority=25 --bounds=./bounds/ --precomp-sea=/home/maximilian/garmin/sea.zip --housenumbers --max-jobs --transparent --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args
/usr/bin/java -Xmx4096m -ea -cp /usr/share/java/mkgmap/mkgmap.jar uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor /home/maximilian/garmin/maps//north-america/us/michigan-latest/michigan-latest.osm.pbf /home/maximilian/garmin/maps//north-america/us/michigan-latest//bounds/
cd /home/maximilian/garmin/maps//north-america/us/michigan-latest/ && /usr/bin/java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --draw-priority=25 --bounds=./bounds/ --precomp-sea=/home/maximilian/garmin/sea.zip --housenumbers --max-jobs --transparent --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args
/usr/bin/java -Xmx4096m -ea -cp /usr/share/java/mkgmap/mkgmap.jar uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor /home/maximilian/garmin/maps//north-america/us/wisconsin-latest/wisconsin-latest.osm.pbf /home/maximilian/garmin/maps//north-america/us/wisconsin-latest//bounds/
cd /home/maximilian/garmin/maps//north-america/us/wisconsin-latest/ && /usr/bin/java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --draw-priority=25 --bounds=./bounds/ --precomp-sea=/home/maximilian/garmin/sea.zip --housenumbers --max-jobs --transparent --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args
/usr/bin/java -Xmx4096m -ea -cp /usr/share/java/mkgmap/mkgmap.jar uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor /home/maximilian/garmin/maps//north-america/canada/manitoba-latest/manitoba-latest.osm.pbf /home/maximilian/garmin/maps//north-america/canada/manitoba-latest//bounds/
cd /home/maximilian/garmin/maps//north-america/canada/manitoba-latest/ && /usr/bin/java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --draw-priority=25 --bounds=./bounds/ --precomp-sea=/home/maximilian/garmin/sea.zip --housenumbers --max-jobs --transparent --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args
/usr/bin/java -Xmx4096m -ea -cp /usr/share/java/mkgmap/mkgmap.jar uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor /home/maximilian/garmin/maps//north-america/canada/prince-edward-island-latest/prince-edward-island-latest.osm.pbf /home/maximilian/garmin/maps//north-america/canada/prince-edward-island-latest//bounds/
cd /home/maximilian/garmin/maps//north-america/canada/prince-edward-island-latest/ && /usr/bin/java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --draw-priority=25 --bounds=./bounds/ --precomp-sea=/home/maximilian/garmin/sea.zip --housenumbers --max-jobs --transparent --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args
/usr/bin/java -Xmx4096m -ea -cp /usr/share/java/mkgmap/mkgmap.jar uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor /home/maximilian/garmin/maps//north-america/us/vermont-latest/vermont-latest.osm.pbf /home/maximilian/garmin/maps//north-america/us/vermont-latest//bounds/
cd /home/maximilian/garmin/maps//north-america/us/vermont-latest/ && /usr/bin/java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --draw-priority=25 --bounds=./bounds/ --precomp-sea=/home/maximilian/garmin/sea.zip --housenumbers --max-jobs --transparent --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args
/usr/bin/java -Xmx4096m -ea -cp /usr/share/java/mkgmap/mkgmap.jar uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor /home/maximilian/garmin/maps//north-america/us/new-york-latest/new-york-latest.osm.pbf /home/maximilian/garmin/maps//north-america/us/new-york-latest//bounds/
cd /home/maximilian/garmin/maps//north-america/us/new-york-latest/ && /usr/bin/java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --draw-priority=25 --bounds=./bounds/ --precomp-sea=/home/maximilian/garmin/sea.zip --housenumbers --max-jobs --transparent --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args
/usr/bin/java -Xmx4096m -ea -cp /usr/share/java/mkgmap/mkgmap.jar uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor /home/maximilian/garmin/maps//north-america/us/massachusetts-latest/massachusetts-latest.osm.pbf /home/maximilian/garmin/maps//north-america/us/massachusetts-latest//bounds/
cd /home/maximilian/garmin/maps//north-america/us/massachusetts-latest/ && /usr/bin/java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --draw-priority=25 --bounds=./bounds/ --precomp-sea=/home/maximilian/garmin/sea.zip --housenumbers --max-jobs --transparent --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args
/usr/bin/java -Xmx4096m -ea -cp /usr/share/java/mkgmap/mkgmap.jar uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor /home/maximilian/garmin/maps//north-america/us/ohio-latest/ohio-latest.osm.pbf /home/maximilian/garmin/maps//north-america/us/ohio-latest//bounds/
cd /home/maximilian/garmin/maps//north-america/us/ohio-latest/ && /usr/bin/java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --draw-priority=25 --bounds=./bounds/ --precomp-sea=/home/maximilian/garmin/sea.zip --housenumbers --max-jobs --transparent --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args
/usr/bin/java -Xmx4096m -ea -cp /usr/share/java/mkgmap/mkgmap.jar uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor /home/maximilian/garmin/maps//north-america/canada/nova-scotia-latest/nova-scotia-latest.osm.pbf /home/maximilian/garmin/maps//north-america/canada/nova-scotia-latest//bounds/
cd /home/maximilian/garmin/maps//north-america/canada/nova-scotia-latest/ && /usr/bin/java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --draw-priority=25 --bounds=./bounds/ --precomp-sea=/home/maximilian/garmin/sea.zip --housenumbers --max-jobs --transparent --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args
/usr/bin/java -Xmx4096m -ea -cp /usr/share/java/mkgmap/mkgmap.jar uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor /home/maximilian/garmin/maps//north-america/us/pennsylvania-latest/pennsylvania-latest.osm.pbf /home/maximilian/garmin/maps//north-america/us/pennsylvania-latest//bounds/
cd /home/maximilian/garmin/maps//north-america/us/pennsylvania-latest/ && /usr/bin/java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --draw-priority=25 --bounds=./bounds/ --precomp-sea=/home/maximilian/garmin/sea.zip --housenumbers --max-jobs --transparent --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args
/usr/bin/java -Xmx4096m -ea -cp /usr/share/java/mkgmap/mkgmap.jar uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor /home/maximilian/garmin/maps//north-america/us/rhode-island-latest/rhode-island-latest.osm.pbf /home/maximilian/garmin/maps//north-america/us/rhode-island-latest//bounds/
cd /home/maximilian/garmin/maps//north-america/us/rhode-island-latest/ && /usr/bin/java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --draw-priority=25 --bounds=./bounds/ --precomp-sea=/home/maximilian/garmin/sea.zip --housenumbers --max-jobs --transparent --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args
/usr/bin/java -Xmx4096m -ea -cp /usr/share/java/mkgmap/mkgmap.jar uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor /home/maximilian/garmin/maps//north-america/canada/new-brunswick-latest/new-brunswick-latest.osm.pbf /home/maximilian/garmin/maps//north-america/canada/new-brunswick-latest//bounds/
cd /home/maximilian/garmin/maps//north-america/canada/new-brunswick-latest/ && /usr/bin/java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --draw-priority=25 --bounds=./bounds/ --precomp-sea=/home/maximilian/garmin/sea.zip --housenumbers --max-jobs --transparent --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args

##########
# combining all non-contour maps
# step 7
##########
/usr/bin/java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --gmapsupp --output-dir=/home/maximilian/garmin/maps/Garmin/ --mapname="OSM Map" --housenumbers --max-jobs --transparent --route --index --drive-on-right --check-roundabouts  /home/maximilian/garmin/maps//north-america/us/indiana-latest//mkgmap/71170002.img /home/maximilian/garmin/maps//north-america/us/indiana-latest//mkgmap/71170001.img /home/maximilian/garmin/maps//north-america/us/indiana-latest//mkgmap/71170003.img /home/maximilian/garmin/maps//north-america/us/indiana-latest//mkgmap/71170000.img /home/maximilian/garmin/maps//north-america/us/illinois-latest//mkgmap/71160012.img /home/maximilian/garmin/maps//north-america/us/illinois-latest//mkgmap/71160009.img /home/maximilian/garmin/maps//north-america/us/illinois-latest//mkgmap/71160004.img /home/maximilian/garmin/maps//north-america/us/illinois-latest//mkgmap/71160014.img /home/maximilian/garmin/maps//north-america/us/illinois-latest//mkgmap/71160007.img /home/maximilian/garmin/maps//north-america/us/illinois-latest//mkgmap/71160006.img /home/maximilian/garmin/maps//north-america/us/illinois-latest//mkgmap/71160010.img /home/maximilian/garmin/maps//north-america/us/illinois-latest//mkgmap/71160000.img /home/maximilian/garmin/maps//north-america/us/illinois-latest//mkgmap/71160003.img /home/maximilian/garmin/maps//north-america/us/illinois-latest//mkgmap/71160011.img /home/maximilian/garmin/maps//north-america/us/illinois-latest//mkgmap/71160015.img /home/maximilian/garmin/maps//north-america/us/illinois-latest//mkgmap/71160008.img /home/maximilian/garmin/maps//north-america/us/illinois-latest//mkgmap/71160001.img /home/maximilian/garmin/maps//north-america/us/illinois-latest//mkgmap/71160013.img /home/maximilian/garmin/maps//north-america/us/illinois-latest//mkgmap/71160005.img /home/maximilian/garmin/maps//north-america/us/illinois-latest//mkgmap/71160002.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010510.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010514.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010527.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010501.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010530.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010504.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010512.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010505.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010525.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010529.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010522.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010523.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010526.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010520.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010517.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010516.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010515.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010503.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010509.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010500.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010513.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010502.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010511.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010519.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010508.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010507.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010518.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010528.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010506.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010524.img /home/maximilian/garmin/maps//north-america/canada/newfoundland-and-labrador-latest//mkgmap/70010521.img /home/maximilian/garmin/maps//north-america/us/maine-latest//mkgmap/71200003.img /home/maximilian/garmin/maps//north-america/us/maine-latest//mkgmap/71200002.img /home/maximilian/garmin/maps//north-america/us/maine-latest//mkgmap/71200000.img /home/maximilian/garmin/maps//north-america/us/maine-latest//mkgmap/71200001.img /home/maximilian/garmin/maps//north-america/us/minnesota-latest//mkgmap/71240002.img /home/maximilian/garmin/maps//north-america/us/minnesota-latest//mkgmap/71240009.img /home/maximilian/garmin/maps//north-america/us/minnesota-latest//mkgmap/71240005.img /home/maximilian/garmin/maps//north-america/us/minnesota-latest//mkgmap/71240000.img /home/maximilian/garmin/maps//north-america/us/minnesota-latest//mkgmap/71240010.img /home/maximilian/garmin/maps//north-america/us/minnesota-latest//mkgmap/71240006.img /home/maximilian/garmin/maps//north-america/us/minnesota-latest//mkgmap/71240011.img /home/maximilian/garmin/maps//north-america/us/minnesota-latest//mkgmap/71240012.img /home/maximilian/garmin/maps//north-america/us/minnesota-latest//mkgmap/71240007.img /home/maximilian/garmin/maps//north-america/us/minnesota-latest//mkgmap/71240008.img /home/maximilian/garmin/maps//north-america/us/minnesota-latest//mkgmap/71240003.img /home/maximilian/garmin/maps//north-america/us/minnesota-latest//mkgmap/71240004.img /home/maximilian/garmin/maps//north-america/us/minnesota-latest//mkgmap/71240001.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010923.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010935.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010938.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010906.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010911.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010919.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010902.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010925.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010937.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010926.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010918.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010916.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010914.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010910.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010903.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010929.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010927.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010922.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010908.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010928.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010933.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010920.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010904.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010930.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010917.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010931.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010924.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010934.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010901.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010921.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010900.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010909.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010907.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010912.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010915.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010936.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010913.img /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010932.img
 /home/maximilian/garmin/maps//north-america/canada/ontario-latest//mkgmap/70010905.img /home/maximilian/garmin/maps//north-america/canada/quebec-latest//mkgmap/70011123.img /home/maximilian/garmin/maps//north-america/canada/quebec-latest//mkgmap/70011115.img /home/maximilian/garmin/maps//north-america/canada/quebec-latest//mkgmap/70011100.img /home/maximilian/garmin/maps//north-america/canada/quebec-latest//mkgmap/70011104.img /home/maximilian/garmin/maps//north-america/canada/quebec-latest//mkgmap/70011122.img /home/maximilian/garmin/maps//north-america/canada/quebec-latest//mkgmap/70011124.img /home/maximilian/garmin/maps//north-america/canada/quebec-latest//mkgmap/70011113.img /home/maximilian/garmin/maps//north-america/canada/quebec-latest//mkgmap/70011127.img /home/maximilian/garmin/maps//north-america/canada/quebec-latest//mkgmap/70011117.img /home/maximilian/garmin/maps//north-america/canada/quebec-latest//mkgmap/70011111.img /home/maximilian/garmin/maps//north-america/canada/quebec-latest//mkgmap/70011102.img /home/maximilian/garmin/maps//north-america/canada/quebec-latest//mkgmap/70011105.img /home/maximilian/garmin/maps//north-america/canada/quebec-latest//mkgmap/70011121.img /home/maximilian/garmin/maps//north-america/canada/quebec-latest//mkgmap/70011118.img /home/maximilian/garmin/maps//north-america/canada/quebec-latest//mkgmap/70011103.img /home/maximilian/garmin/maps//north-america/canada/quebec-latest//mkgmap/70011119.img /home/maximilian/garmin/maps//north-america/canada/quebec-latest//mkgmap/70011109.img /home/maximilian/garmin/maps//north-america/canada/quebec-latest//mkgmap/70011107.img /home/maximilian/garmin/maps//north-america/canada/quebec-latest//mkgmap/70011126.img /home/maximilian/garmin/maps//north-america/canada/quebec-latest//mkgmap/70011114.img /home/maximilian/garmin/maps//north-america/canada/quebec-latest//mkgmap/70011120.img /home/maximilian/garmin/maps//north-america/canada/quebec-latest//mkgmap/70011110.img /home/maximilian/garmin/maps//north-america/canada/quebec-latest//mkgmap/70011101.img /home/maximilian/garmin/maps//north-america/canada/quebec-latest//mkgmap/70011116.img /home/maximilian/garmin/maps//north-america/canada/quebec-latest//mkgmap/70011125.img /home/maximilian/garmin/maps//north-america/canada/quebec-latest//mkgmap/70011112.img /home/maximilian/garmin/maps//north-america/canada/quebec-latest//mkgmap/70011106.img /home/maximilian/garmin/maps//north-america/canada/quebec-latest//mkgmap/70011108.img /home/maximilian/garmin/maps//north-america/us/new-hampshire-latest//mkgmap/71300000.img /home/maximilian/garmin/maps//north-america/us/new-hampshire-latest//mkgmap/71300001.img /home/maximilian/garmin/maps//north-america/us/michigan-latest//mkgmap/71230001.img /home/maximilian/garmin/maps//north-america/us/michigan-latest//mkgmap/71230003.img /home/maximilian/garmin/maps//north-america/us/michigan-latest//mkgmap/71230005.img /home/maximilian/garmin/maps//north-america/us/michigan-latest//mkgmap/71230002.img /home/maximilian/garmin/maps//north-america/us/michigan-latest//mkgmap/71230000.img /home/maximilian/garmin/maps//north-america/us/michigan-latest//mkgmap/71230004.img /home/maximilian/garmin/maps//north-america/us/michigan-latest//mkgmap/71230007.img /home/maximilian/garmin/maps//north-america/us/michigan-latest//mkgmap/71230006.img /home/maximilian/garmin/maps//north-america/us/wisconsin-latest//mkgmap/71500003.img /home/maximilian/garmin/maps//north-america/us/wisconsin-latest//mkgmap/71500000.img /home/maximilian/garmin/maps//north-america/us/wisconsin-latest//mkgmap/71500004.img /home/maximilian/garmin/maps//north-america/us/wisconsin-latest//mkgmap/71500006.img /home/maximilian/garmin/maps//north-america/us/wisconsin-latest//mkgmap/71500007.img /home/maximilian/garmin/maps//north-america/us/wisconsin-latest//mkgmap/71500002.img /home/maximilian/garmin/maps//north-america/us/wisconsin-latest//mkgmap/71500005.img /home/maximilian/garmin/maps//north-america/us/wisconsin-latest//mkgmap/71500001.img /home/maximilian/garmin/maps//north-america/canada/manitoba-latest//mkgmap/70010309.img /home/maximilian/garmin/maps//north-america/canada/manitoba-latest//mkgmap/70010310.img /home/maximilian/garmin/maps//north-america/canada/manitoba-latest//mkgmap/70010305.img /home/maximilian/garmin/maps//north-america/canada/manitoba-latest//mkgmap/70010311.img /home/maximilian/garmin/maps//north-america/canada/manitoba-latest//mkgmap/70010312.img /home/maximilian/garmin/maps//north-america/canada/manitoba-latest//mkgmap/70010306.img /home/maximilian/garmin/maps//north-america/canada/manitoba-latest//mkgmap/70010303.img /home/maximilian/garmin/maps//north-america/canada/manitoba-latest//mkgmap/70010308.img /home/maximilian/garmin/maps//north-america/canada/manitoba-latest//mkgmap/70010302.img /home/maximilian/garmin/maps//north-america/canada/manitoba-latest//mkgmap/70010304.img /home/maximilian/garmin/maps//north-america/canada/manitoba-latest//mkgmap/70010307.img /home/maximilian/garmin/maps//north-america/canada/manitoba-latest//mkgmap/70010301.img /home/maximilian/garmin/maps//north-america/canada/manitoba-latest//mkgmap/70010315.img /home/maximilian/garmin/maps//north-america/canada/manitoba-latest//mkgmap/70010300.img /home/maximilian/garmin/maps//north-america/canada/manitoba-latest//mkgmap/70010314.img /home/maximilian/garmin/maps//north-america/canada/manitoba-latest//mkgmap/70010313.img /home/maximilian/garmin/maps//north-america/canada/prince-edward-island-latest//mkgmap/70011000.img /home/maximilian/garmin/maps//north-america/us/vermont-latest//mkgmap/71450001.img /home/maximilian/garmin/maps//north-america/us/vermont-latest//mkgmap/71450000.img /home/maximilian/garmin/maps//north-america/us/new-york-latest//mkgmap/71350007.img /home/maximilian/garmin/maps//north-america/us/new-york-latest//mkgmap/71350000.img /home/maximilian/garmin/maps//north-america/us/new-york-latest//mkgmap/71350003.img /home/maximilian/garmin/maps//north-america/us/new-york-latest//mkgmap/71350008.img /home/maximilian/garmin/maps//north-america/us/new-york-latest//mkgmap/71350005.img /home/maximilian/garmin/maps//north-america/us/new-york-latest//mkgmap/71350002.img /home/maximilian/garmin/maps//north-america/us/new-york-latest//mkgmap/71350001.img /home/maximilian/garmin/maps//north-america/us/new-york-latest//mkgmap/71350006.img /home/maximilian/garmin/maps//north-america/us/new-york-latest//mkgmap/71350009.img /home/maximilian/garmin/maps//north-america/us/new-york-latest//mkgmap/71350004.img /home/maximilian/garmin/maps//north-america/us/massachusetts-latest//mkgmap/71220024.img /home/maximilian/garmin/maps//north-america/us/massachusetts-latest//mkgmap/71220005.img /home/maximilian/garmin/maps//north-america/us/massachusetts-latest//mkgmap/71220015.img /home/maximilian/garmin/maps//north-america/us/massachusetts-latest//mkgmap/71220020.img /home/maximilian/garmin/maps//north-america/us/massachusetts-latest//mkgmap/71220021.img /home/maximilian/garmin/maps//north-america/us/massachusetts-latest//mkgmap/71220018.img /home/maximilian/garmin/maps//north-america/us/massachusetts-latest//mkgmap/71220022.img /home/maximilian/garmin/maps//north-america/us/massachusetts-latest//mkgmap/71220001.img /home/maximilian/garmin/maps//north-america/us/massachusetts-latest//mkgmap/71220004.img /home/maximilian/garmin/maps//north-america/us/massachusetts-latest//mkgmap/71220016.img /home/maximilian/garmin/maps//north-america/us/massachusetts-latest//mkgmap/71220025.img /home/maximilian/garmin/maps//north-america/us/massachusetts-latest//mkgmap/71220011.img /home/maximilian/garmin/maps//north-america/us/massachusetts-latest//mkgmap/71220002.img /home/maximilian/garmin/maps//north-america/us/massachusetts-latest//mkgmap/71220026.img /home/maximilian/garmin/maps//north-america/us/massachusetts-latest//mkgmap/71220019.img /home/maximilian/garmin/maps//north-america/us/massachusetts-latest//mkgmap/71220023.img /home/maximilian/garmin/maps//north-america/us/massachusetts-latest//mkgmap/71220000.img /home/maximilian/garmin/maps//north-america/us/massachusetts-latest//mkgmap/71220007.img /home/maximilian/garmin/maps//north-america/us/massachusetts-latest//mkgmap/71220017.img /home/maximilian/garmin/maps//north-america/us/massachusetts-latest//mkgmap/71220012.img /home/maximilian/garmin/maps//north-america/us/massachusetts-latest//mkgmap/71220009.img /home/maximilian/garmin/maps//north-america/us/massachusetts-latest//mkgmap/71220010.img /home/maximilian/garmin/maps//north-america/us/massachusetts-latest//mkgmap/71220006.img /home/maximilian/garmin/maps//north-america/us/massachusetts-latest//mkgmap/71220008.img /home/maximilian/garmin/maps//north-america/us/massachusetts-latest//mkgmap/71220013.img /home/maximilian/garmin/maps//north-america/us/massachusetts-latest//mkgmap/71220014.img /home/maximilian/garmin/maps//north-america/us/massachusetts-latest//mkgmap/71220003.img /home/maximilian/garmin/maps//north-america/us/ohio-latest//mkgmap/71380000.img /home/maximilian/garmin/maps//north-america/us/ohio-latest//mkgmap/71380004.img /home/maximilian/garmin/maps//north-america/us/ohio-latest//mkgmap/71380002.img /home/maximilian/garmin/maps//north-america/us/ohio-latest//mkgmap/71380005.img /home/maximilian/garmin/maps//north-america/us/ohio-latest//mkgmap/71380003.img /home/maximilian/garmin/maps//north-america/us/ohio-latest//mkgmap/71380006.img /home/maximilian/garmin/maps//north-america/us/ohio-latest//mkgmap/71380007.img /home/maximilian/garmin/maps//north-america/us/ohio-latest//mkgmap/71380001.img /home/maximilian/garmin/maps//north-america/canada/nova-scotia-latest//mkgmap/70010700.img /home/maximilian/garmin/maps//north-america/canada/nova-scotia-latest//mkgmap/70010705.img /home/maximilian/garmin/maps//north-america/canada/nova-scotia-latest//mkgmap/70010702.img /home/maximilian/garmin/maps//north-america/canada/nova-scotia-latest//mkgmap/70010704.img
 /home/maximilian/garmin/maps//north-america/canada/nova-scotia-latest//mkgmap/70010706.img /home/maximilian/garmin/maps//north-america/canada/nova-scotia-latest//mkgmap/70010707.img /home/maximilian/garmin/maps//north-america/canada/nova-scotia-latest//mkgmap/70010701.img /home/maximilian/garmin/maps//north-america/canada/nova-scotia-latest//mkgmap/70010703.img /home/maximilian/garmin/maps//north-america/us/pennsylvania-latest//mkgmap/71410003.img /home/maximilian/garmin/maps//north-america/us/pennsylvania-latest//mkgmap/71410004.img /home/maximilian/garmin/maps//north-america/us/pennsylvania-latest//mkgmap/71410007.img /home/maximilian/garmin/maps//north-america/us/pennsylvania-latest//mkgmap/71410001.img /home/maximilian/garmin/maps//north-america/us/pennsylvania-latest//mkgmap/71410005.img /home/maximilian/garmin/maps//north-america/us/pennsylvania-latest//mkgmap/71410000.img /home/maximilian/garmin/maps//north-america/us/pennsylvania-latest//mkgmap/71410006.img /home/maximilian/garmin/maps//north-america/us/pennsylvania-latest//mkgmap/71410002.img /home/maximilian/garmin/maps//north-america/us/rhode-island-latest//mkgmap/71420000.img /home/maximilian/garmin/maps//north-america/canada/new-brunswick-latest//mkgmap/70010403.img /home/maximilian/garmin/maps//north-america/canada/new-brunswick-latest//mkgmap/70010400.img /home/maximilian/garmin/maps//north-america/canada/new-brunswick-latest//mkgmap/70010402.img /home/maximilian/garmin/maps//north-america/canada/new-brunswick-latest//mkgmap/70010401.img

Offline

#4 2014-05-06 09:10:36

Maximilian Kaul
Member
Registered: 2014-04-26
Posts: 6

Re: [solved] mkgmap + phyghtmap contour map GPSMap64s

ligfietser wrote:

You don't have to prepare bounds in step 5 yourself but can use the bounds from http://www.mkgmap.org.uk/download/mkgmap.html
Maybe this will make the address search work?

I modified my script to use the precompiled bounds zip-file from the url you posted. No luck...

What I do on my device:
FIND button -> Addresses -> Enter the Country (with the precompiled bounds I can choose between "0s4" and "Canada" - I expected "Canada" and "US"...) -> Enter the City -> T (for Toronto) -> no results found

Routing error:
If I try to navigate to a place (not in my immediate vicinity) I almost always get this error:
"Route calculation error." (Only tested automobile driving) This error occurs after approximately 80% of the route calculation is completed.

Offline

#5 2014-05-06 10:18:19

popej
Member
Registered: 2008-09-20
Posts: 500
Website

Re: [solved] mkgmap + phyghtmap contour map GPSMap64s

Why do you make a transparent map? This won't work well with default style. Transparency shouldn't change routing or search, but maybe there is some dependency?


popej

Offline

#6 2014-05-06 10:24:48

Maximilian Kaul
Member
Registered: 2014-04-26
Posts: 6

Re: [solved] mkgmap + phyghtmap contour map GPSMap64s

popej wrote:

Why do you make a transparent map? This won't work well with default style. Transparency shouldn't change routing or search, but maybe there is some dependency?

I thought that my approach to split contour and map up needed the --transparent option.
I can try to
-    compile each map separately
-    compile one contour map
-    combine everything
all without the --transparent option. So basically I would remove the --transparent option and include the *.osm files from phyhgtmap in my last step...
Do you think that this is worth a try?

Offline

#7 2014-05-06 13:26:48

popej
Member
Registered: 2008-09-20
Posts: 500
Website

Re: [solved] mkgmap + phyghtmap contour map GPSMap64s

Transparency is an attribute of each tile, not of a whole map. Leave transparent option for contours and remove from main map and combining. This way you will get contours drawn over non-transparent main map.

Alternatively merge contours with OSM data, then split and compile. This kind of processing won't require transparency. Actually I would prefer to start with whole area in single OSM file and single pass generation of contours for this area. If you merge contours in pbf format, then you should use options "start-node-id" and "start-way-id" in phyghtmap, as described in phyghtmap help.


popej

Offline

#8 2014-05-15 22:53:38

Maximilian Kaul
Member
Registered: 2014-04-26
Posts: 6

Re: [solved] mkgmap + phyghtmap contour map GPSMap64s

Hi all,
I switched back to my one map per region approach, because it seems, that I can't get routing over long distances to work no matter what I try (Garmin always reports an error).

Here is what I do right now (--start-node-id == --start-way-id):

##########
# splitter
##########
java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar ~/garmin/maps/north-america/us/indiana-latest/indiana-latest.osm.pbf --description="north-america - us - indiana" --precomp-sea=~/garmin/sea.zip --keep-complete=true --max-areas=64 --max-nodes=1600000 --mapid=71170000 --output-dir=~/garmin/maps/north-america/us/indiana-latest/splitter/
java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar ~/garmin/maps/north-america/us/wisconsin-latest/wisconsin-latest.osm.pbf --description="north-america - us - wisconsin" --precomp-sea=~/garmin/sea.zip --keep-complete=true --max-areas=64 --max-nodes=1600000 --mapid=71500000 --output-dir=~/garmin/maps/north-america/us/wisconsin-latest/splitter/
java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar ~/garmin/maps/north-america/us/ohio-latest/ohio-latest.osm.pbf --description="north-america - us - ohio" --precomp-sea=~/garmin/sea.zip --keep-complete=true --max-areas=64 --max-nodes=1600000 --mapid=71380000 --output-dir=~/garmin/maps/north-america/us/ohio-latest/splitter/
java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar ~/garmin/maps/north-america/us/massachusetts-latest/massachusetts-latest.osm.pbf --description="north-america - us - massachusetts" --precomp-sea=~/garmin/sea.zip --keep-complete=true --max-areas=64 --max-nodes=1600000 --mapid=71220000 --output-dir=~/garmin/maps/north-america/us/massachusetts-latest/splitter/
java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar ~/garmin/maps/north-america/canada/manitoba-latest/manitoba-latest.osm.pbf --description="north-america - canada - manitoba" --precomp-sea=~/garmin/sea.zip --keep-complete=true --max-areas=64 --max-nodes=1600000 --mapid=70010300 --output-dir=~/garmin/maps/north-america/canada/manitoba-latest/splitter/
java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar ~/garmin/maps/north-america/canada/prince-edward-island-latest/prince-edward-island-latest.osm.pbf --description="north-america - canada - prince-edward-island" --precomp-sea=~/garmin/sea.zip --keep-complete=true --max-areas=64 --max-nodes=1600000 --mapid=70011000 --output-dir=~/garmin/maps/north-america/canada/prince-edward-island-latest/splitter/
java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar ~/garmin/maps/north-america/us/illinois-latest/illinois-latest.osm.pbf --description="north-america - us - illinois" --precomp-sea=~/garmin/sea.zip --keep-complete=true --max-areas=64 --max-nodes=1600000 --mapid=71160000 --output-dir=~/garmin/maps/north-america/us/illinois-latest/splitter/
java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar ~/garmin/maps/north-america/us/vermont-latest/vermont-latest.osm.pbf --description="north-america - us - vermont" --precomp-sea=~/garmin/sea.zip --keep-complete=true --max-areas=64 --max-nodes=1600000 --mapid=71450000 --output-dir=~/garmin/maps/north-america/us/vermont-latest/splitter/
java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar ~/garmin/maps/north-america/canada/newfoundland-and-labrador-latest/newfoundland-and-labrador-latest.osm.pbf --description="north-america - canada - newfoundland-and-labrador" --precomp-sea=~/garmin/sea.zip --keep-complete=true --max-areas=64 --max-nodes=1600000 --mapid=70010500 --output-dir=~/garmin/maps/north-america/canada/newfoundland-and-labrador-latest/splitter/
java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar ~/garmin/maps/north-america/us/maine-latest/maine-latest.osm.pbf --description="north-america - us - maine" --precomp-sea=~/garmin/sea.zip --keep-complete=true --max-areas=64 --max-nodes=1600000 --mapid=71200000 --output-dir=~/garmin/maps/north-america/us/maine-latest/splitter/
java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar ~/garmin/maps/north-america/us/michigan-latest/michigan-latest.osm.pbf --description="north-america - us - michigan" --precomp-sea=~/garmin/sea.zip --keep-complete=true --max-areas=64 --max-nodes=1600000 --mapid=71230000 --output-dir=~/garmin/maps/north-america/us/michigan-latest/splitter/
java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar ~/garmin/maps/north-america/canada/quebec-latest/quebec-latest.osm.pbf --description="north-america - canada - quebec" --precomp-sea=~/garmin/sea.zip --keep-complete=true --max-areas=64 --max-nodes=1600000 --mapid=70011100 --output-dir=~/garmin/maps/north-america/canada/quebec-latest/splitter/
java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar ~/garmin/maps/north-america/us/rhode-island-latest/rhode-island-latest.osm.pbf --description="north-america - us - rhode-island" --precomp-sea=~/garmin/sea.zip --keep-complete=true --max-areas=64 --max-nodes=1600000 --mapid=71420000 --output-dir=~/garmin/maps/north-america/us/rhode-island-latest/splitter/
java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar ~/garmin/maps/north-america/us/new-york-latest/new-york-latest.osm.pbf --description="north-america - us - new-york" --precomp-sea=~/garmin/sea.zip --keep-complete=true --max-areas=64 --max-nodes=1600000 --mapid=71350000 --output-dir=~/garmin/maps/north-america/us/new-york-latest/splitter/
java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar ~/garmin/maps/north-america/us/pennsylvania-latest/pennsylvania-latest.osm.pbf --description="north-america - us - pennsylvania" --precomp-sea=~/garmin/sea.zip --keep-complete=true --max-areas=64 --max-nodes=1600000 --mapid=71410000 --output-dir=~/garmin/maps/north-america/us/pennsylvania-latest/splitter/
java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar ~/garmin/maps/north-america/canada/ontario-latest/ontario-latest.osm.pbf --description="north-america - canada - ontario" --precomp-sea=~/garmin/sea.zip --keep-complete=true --max-areas=64 --max-nodes=1600000 --mapid=70010900 --output-dir=~/garmin/maps/north-america/canada/ontario-latest/splitter/
java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar ~/garmin/maps/north-america/us/minnesota-latest/minnesota-latest.osm.pbf --description="north-america - us - minnesota" --precomp-sea=~/garmin/sea.zip --keep-complete=true --max-areas=64 --max-nodes=1600000 --mapid=71240000 --output-dir=~/garmin/maps/north-america/us/minnesota-latest/splitter/
java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar ~/garmin/maps/north-america/canada/new-brunswick-latest/new-brunswick-latest.osm.pbf --description="north-america - canada - new-brunswick" --precomp-sea=~/garmin/sea.zip --keep-complete=true --max-areas=64 --max-nodes=1600000 --mapid=70010400 --output-dir=~/garmin/maps/north-america/canada/new-brunswick-latest/splitter/
java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar ~/garmin/maps/north-america/canada/nova-scotia-latest/nova-scotia-latest.osm.pbf --description="north-america - canada - nova-scotia" --precomp-sea=~/garmin/sea.zip --keep-complete=true --max-areas=64 --max-nodes=1600000 --mapid=70010700 --output-dir=~/garmin/maps/north-america/canada/nova-scotia-latest/splitter/
java -Xmx4096m -ea -jar /usr/share/java/splitter/splitter.jar ~/garmin/maps/north-america/us/new-hampshire-latest/new-hampshire-latest.osm.pbf --description="north-america - us - new-hampshire" --precomp-sea=~/garmin/sea.zip --keep-complete=true --max-areas=64 --max-nodes=1600000 --mapid=71300000 --output-dir=~/garmin/maps/north-america/us/new-hampshire-latest/splitter/

##############################
# phyghtmap
# coorinates from splitter log
##############################
phyghtmap -a 37.627036571502686:-88.10327053070068:41.76300287246704:-84.50398206710815 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ --start-node-id=10071170000 --start-way-id=10071170000 -o ~/garmin/maps/north-america/us/indiana-latest/hgt/
phyghtmap -a 42.488980293273926:-92.89088487625122:47.41450309753418:-86.2001895904541 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ --start-node-id=10071500000 --start-way-id=10071500000 -o ~/garmin/maps/north-america/us/wisconsin-latest/hgt/
phyghtmap -a 38.09859037399292:-84.82189893722534:43.48234176635742:-79.89950895309448 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ --start-node-id=10071380000 --start-way-id=10071380000 -o ~/garmin/maps/north-america/us/ohio-latest/hgt/
phyghtmap -a 40.82571029663086:-73.51095914840698:42.88766384124756:-68.71946096420288 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ --start-node-id=10071220000 --start-way-id=10071220000 -o ~/garmin/maps/north-america/us/massachusetts-latest/hgt/
phyghtmap -a 48.98945331573486:-102.014000415802:60.008440017700195:-88.12180995941162 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ --start-node-id=10070010300 --start-way-id=10070010300 -o ~/garmin/maps/north-america/canada/manitoba-latest/hgt/
phyghtmap -a 45.91017007827759:-64.60503816604614:47.89281606674194:-61.15593194961548 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ --start-node-id=10070011000 --start-way-id=10070011000 -o ~/garmin/maps/north-america/canada/prince-edward-island-latest/hgt/
phyghtmap -a 36.96729898452759:-91.51607036590576:42.50940799713135:-87.49262809753418 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ --start-node-id=10071160000 --start-way-id=10071160000 -o ~/garmin/maps/north-america/us/illinois-latest/hgt/
phyghtmap -a 42.72525072097778:-73.43941926956177:45.01780986785889:-71.46475553512573 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ --start-node-id=10071450000 --start-way-id=10071450000 -o ~/garmin/maps/north-america/us/vermont-latest/hgt/
phyghtmap -a 46.25349283218384:-67.86589622497559:60.90221643447876:-51.66099786758423 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ --start-node-id=10070010500 --start-way-id=10070010500 -o ~/garmin/maps/north-america/canada/newfoundland-and-labrador-latest/hgt/
phyghtmap -a 42.85442590713501:-71.45044326782227:48.15550088882446:-65.88966608047485 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ --start-node-id=10071200000 --start-way-id=10071200000 -o ~/garmin/maps/north-america/us/maine-latest/hgt/
phyghtmap -a 41.69438123703003:-90.41979789733887:49.32485818862915:-79.04665231704712 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ --start-node-id=10071230000 --start-way-id=10071230000 -o ~/garmin/maps/north-america/us/michigan-latest/hgt/
phyghtmap -a 44.977126121520996:-81.2055516242981:63.134522438049316:-57.03234672546387 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ --start-node-id=10070011100 --start-way-id=10070011100 -o ~/garmin/maps/north-america/canada/quebec-latest/hgt/
phyghtmap -a 40.99016189575195:-71.91249132156372:42.01937913894653:-71.10883712768555 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ --start-node-id=10071420000 --start-way-id=10071420000 -o ~/garmin/maps/north-america/us/rhode-island-latest/hgt/
phyghtmap -a 40.0366473197937:-79.82402086257935:45.07132530212402:-70.4962420463562 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ --start-node-id=10071350000 --start-way-id=10071350000 -o ~/garmin/maps/north-america/us/new-york-latest/hgt/
phyghtmap -a 38.92138481140137:-81.3783073425293:42.51533031463623:-74.68883514404297 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ --start-node-id=10071410000 --start-way-id=10071410000 -o ~/garmin/maps/north-america/us/pennsylvania-latest/hgt/
phyghtmap -a 41.63769006729126:-95.1596474647522:57.50825643539429:-74.30997848510742 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ --start-node-id=10070010900 --start-way-id=10070010900 -o ~/garmin/maps/north-america/canada/ontario-latest/hgt/
phyghtmap -a 43.49907875061035:-97.27157592773438:49.997127056121826:-89.36206340789795 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ --start-node-id=10071240000 --start-way-id=10071240000 -o ~/garmin/maps/north-america/us/minnesota-latest/hgt/
phyghtmap -a 44.29657459259033:-69.1902208328247:48.38074207305908:-63.34766149520874 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ --start-node-id=10070010400 --start-way-id=10070010400 -o ~/garmin/maps/north-america/canada/new-brunswick-latest/hgt/
phyghtmap -a 42.01892852783203:-67.51296043395996:47.42182016372681:-58.225929737091064 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ --start-node-id=10070010700 --start-way-id=10070010700 -o ~/garmin/maps/north-america/canada/nova-scotia-latest/hgt/
phyghtmap -a 42.69669055938721:-72.55879640579224:45.446105003356934:-70.48690795898438 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ --start-node-id=10071300000 --start-way-id=10071300000 -o ~/garmin/maps/north-america/us/new-hampshire-latest/hgt/

########
# mkgmap
########
cd ~/garmin/maps/north-america/us/indiana-latest/ && java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --gmapsupp --bounds=~/garmin/bounds.zip --precomp-sea=~/garmin/sea.zip --housenumbers --max-jobs --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args ./hgt/*.osm
cd ~/garmin/maps/north-america/us/wisconsin-latest/ && java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --gmapsupp --bounds=~/garmin/bounds.zip --precomp-sea=~/garmin/sea.zip --housenumbers --max-jobs --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args ./hgt/*.osm
cd ~/garmin/maps/north-america/us/ohio-latest/ && java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --gmapsupp --bounds=~/garmin/bounds.zip --precomp-sea=~/garmin/sea.zip --housenumbers --max-jobs --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args ./hgt/*.osm
cd ~/garmin/maps/north-america/us/massachusetts-latest/ && java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --gmapsupp --bounds=~/garmin/bounds.zip --precomp-sea=~/garmin/sea.zip --housenumbers --max-jobs --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args ./hgt/*.osm
cd ~/garmin/maps/north-america/canada/manitoba-latest/ && java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --gmapsupp --bounds=~/garmin/bounds.zip --precomp-sea=~/garmin/sea.zip --housenumbers --max-jobs --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args ./hgt/*.osm
cd ~/garmin/maps/north-america/canada/prince-edward-island-latest/ && java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --gmapsupp --bounds=~/garmin/bounds.zip --precomp-sea=~/garmin/sea.zip --housenumbers --max-jobs --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args ./hgt/*.osm
cd ~/garmin/maps/north-america/us/illinois-latest/ && java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --gmapsupp --bounds=~/garmin/bounds.zip --precomp-sea=~/garmin/sea.zip --housenumbers --max-jobs --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args ./hgt/*.osm
cd ~/garmin/maps/north-america/us/vermont-latest/ && java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --gmapsupp --bounds=~/garmin/bounds.zip --precomp-sea=~/garmin/sea.zip --housenumbers --max-jobs --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args ./hgt/*.osm
cd ~/garmin/maps/north-america/canada/newfoundland-and-labrador-latest/ && java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --gmapsupp --bounds=~/garmin/bounds.zip --precomp-sea=~/garmin/sea.zip --housenumbers --max-jobs --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args ./hgt/*.osm
cd ~/garmin/maps/north-america/us/maine-latest/ && java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --gmapsupp --bounds=~/garmin/bounds.zip --precomp-sea=~/garmin/sea.zip --housenumbers --max-jobs --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args ./hgt/*.osm
cd ~/garmin/maps/north-america/us/michigan-latest/ && java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --gmapsupp --bounds=~/garmin/bounds.zip --precomp-sea=~/garmin/sea.zip --housenumbers --max-jobs --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args ./hgt/*.osm
cd ~/garmin/maps/north-america/canada/quebec-latest/ && java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --gmapsupp --bounds=~/garmin/bounds.zip --precomp-sea=~/garmin/sea.zip --housenumbers --max-jobs --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args ./hgt/*.osm
cd ~/garmin/maps/north-america/us/rhode-island-latest/ && java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --gmapsupp --bounds=~/garmin/bounds.zip --precomp-sea=~/garmin/sea.zip --housenumbers --max-jobs --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args ./hgt/*.osm
cd ~/garmin/maps/north-america/us/new-york-latest/ && java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --gmapsupp --bounds=~/garmin/bounds.zip --precomp-sea=~/garmin/sea.zip --housenumbers --max-jobs --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args ./hgt/*.osm
cd ~/garmin/maps/north-america/us/pennsylvania-latest/ && java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --gmapsupp --bounds=~/garmin/bounds.zip --precomp-sea=~/garmin/sea.zip --housenumbers --max-jobs --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args ./hgt/*.osm
cd ~/garmin/maps/north-america/canada/ontario-latest/ && java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --gmapsupp --bounds=~/garmin/bounds.zip --precomp-sea=~/garmin/sea.zip --housenumbers --max-jobs --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args ./hgt/*.osm
cd ~/garmin/maps/north-america/us/minnesota-latest/ && java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --gmapsupp --bounds=~/garmin/bounds.zip --precomp-sea=~/garmin/sea.zip --housenumbers --max-jobs --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args ./hgt/*.osm
cd ~/garmin/maps/north-america/canada/new-brunswick-latest/ && java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --gmapsupp --bounds=~/garmin/bounds.zip --precomp-sea=~/garmin/sea.zip --housenumbers --max-jobs --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args ./hgt/*.osm
cd ~/garmin/maps/north-america/canada/nova-scotia-latest/ && java -Xmx4096m -ea -jar /usr/share/java/mkgmap/mkgmap.jar --output-dir=mkgmap --gmapsupp --bounds=~/garmin/bounds.zip --precomp-sea=~/garmin/sea.zip --housenumbers --max-jobs --route --index --drive-on-right --check-roundabouts -c ./splitter/template.args ./hgt/*.osm

Prince Edward Island does not work at all:

maximilian@kaul_mba garmin $ phyghtmap -a 45.91017007827759:-64.60503816604614:47.89281606674194:-61.15593194961548 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ --start-node-id=10070011000 --start-way-id=10070011000 -o ~/garmin/maps/north-america/canada/prince-edward-island-latest/hgt/
S65E045: trying view1 ...
S65E045: trying srtm1 ...
S65E045: trying view3 ...
S65E045: trying srtm3 ...
S65E045: no file found on server.
S64E045: trying view1 ...
S64E045: trying srtm1 ...
S64E045: trying view3 ...
S64E045: trying srtm3 ...
S64E045: no file found on server.
S63E045: trying view1 ...
S63E045: trying srtm1 ...
S63E045: trying view3 ...
S63E045: trying srtm3 ...
S63E045: no file found on server.
S62E045: trying view1 ...
S62E045: trying srtm1 ...
S62E045: trying view3 ...
S62E045: trying srtm3 ...
S62E045: no file found on server.
S65E046: trying view1 ...
S65E046: trying srtm1 ...
S65E046: trying view3 ...
S65E046: trying srtm3 ...
S65E046: no file found on server.
S64E046: trying view1 ...
S64E046: trying srtm1 ...
S64E046: trying view3 ...
S64E046: trying srtm3 ...
S64E046: no file found on server.
S63E046: trying view1 ...
S63E046: trying srtm1 ...
S63E046: trying view3 ...
S63E046: trying srtm3 ...
S63E046: no file found on server.
S62E046: trying view1 ...
S62E046: trying srtm1 ...
S62E046: trying view3 ...
S62E046: trying srtm3 ...
S62E046: no file found on server.
S65E047: trying view1 ...
S65E047: trying srtm1 ...
S65E047: trying view3 ...
S65E047: trying srtm3 ...
S65E047: no file found on server.
S64E047: trying view1 ...
S64E047: trying srtm1 ...
S64E047: trying view3 ...
S64E047: trying srtm3 ...
S64E047: no file found on server.
S63E047: trying view1 ...
S63E047: trying srtm1 ...
S63E047: trying view3 ...
S63E047: trying srtm3 ...
S63E047: no file found on server.
S62E047: trying view1 ...
S62E047: trying srtm1 ...
S62E047: trying view3 ...
S62E047: trying srtm3 ...
S62E047: no file found on server.
No files for this area 45.91017007827759:-64.60503816604614:47.89281606674194:-61.15593194961548 from desired source.

After phyghtmap --rewrite-indices it tries to re-download the data

maximilian@kaul_mba garmin $ phyghtmap -a 45.91017007827759:-64.60503816604614:47.89281606674194:-61.15593194961548 -s 10 -c 100,50 -0 -j 4 --source=view1,srtm1,view3,srtm3 --hgtdir=./hgt/ --start-node-id=10070011000 --start-way-id=10070011000 -o ~/garmin/maps/north-america/canada/prince-edward-island-latest/hgt/
S65E045: trying view1 ...
S65E045: trying srtm1 ...
S65E045: trying view3 ...
S65E045: downloading file http://www.viewfinderpanoramas.org/ANTDEM3/31-45.zip to ./hgt/VIEW3/31-45.zip ...
S65E045: unzipping file ./hgt/VIEW3/31-45.zip ...
updating index in ./hgt/viewfinderHgtIndex_3.txt ...
DONE
S65E045: trying srtm3 ...
S65E045: no file found on server.
S64E045: trying view1 ...
S64E045: trying srtm1 ...
S64E045: trying view3 ...
S64E045: trying srtm3 ...
S64E045: no file found on server.
S63E045: trying view1 ...
S63E045: trying srtm1 ...
S63E045: trying view3 ...
S63E045: trying srtm3 ...
S63E045: no file found on server.
S62E045: trying view1 ...
S62E045: trying srtm1 ...
S62E045: trying view3 ...
S62E045: trying srtm3 ...
S62E045: no file found on server.
S65E046: trying view1 ...
S65E046: trying srtm1 ...
S65E046: trying view3 ...
S65E046: trying srtm3 ...
S65E046: no file found on server.
S64E046: trying view1 ...
S64E046: trying srtm1 ...
S64E046: trying view3 ...
S64E046: trying srtm3 ...
S64E046: no file found on server.
S63E046: trying view1 ...
S63E046: trying srtm1 ...
S63E046: trying view3 ...
S63E046: trying srtm3 ...
S63E046: no file found on server.
S62E046: trying view1 ...
S62E046: trying srtm1 ...
S62E046: trying view3 ...
S62E046: trying srtm3 ...
S62E046: no file found on server.
S65E047: trying view1 ...
S65E047: trying srtm1 ...
S65E047: trying view3 ...
S65E047: trying srtm3 ...
S65E047: no file found on server.
S64E047: trying view1 ...
S64E047: trying srtm1 ...
S64E047: trying view3 ...
S64E047: trying srtm3 ...
S64E047: no file found on server.
S63E047: trying view1 ...
S63E047: trying srtm1 ...
S63E047: trying view3 ...
S63E047: trying srtm3 ...
S63E047: no file found on server.
S62E047: trying view1 ...
S62E047: trying srtm1 ...
S62E047: trying view3 ...
S62E047: trying srtm3 ...
S62E047: no file found on server.
No files for this area 45.91017007827759:-64.60503816604614:47.89281606674194:-61.15593194961548 from desired source.

but I'm stuck in a loop after that: --rewrite-indices will always lead to this file being re-downloaded and without --rewrite-indices phyghtmap tells me that there is no data...

Any suggestions?

Offline

#9 2014-05-16 16:20:34

popej
Member
Registered: 2008-09-20
Posts: 500
Website

Re: [solved] mkgmap + phyghtmap contour map GPSMap64s

S64 E45 is an area at sea, no SRTM there. You probably swapped coordinates when defining bounding box, see phyghtmap help.


popej

Offline

#10 2014-05-20 22:31:05

Maximilian Kaul
Member
Registered: 2014-04-26
Posts: 6

Re: [solved] mkgmap + phyghtmap contour map GPSMap64s

popej wrote:

S64 E45 is an area at sea, no SRTM there. You probably swapped coordinates when defining bounding box, see phyghtmap help.

Figured this out, too.
Splitter and phyghtmap put their coordinates in different orders (latitude/longitude interchanged). After updating my script everything works now.
Thanks to all of you for your help! I'll start with adjusting my map now smile

Offline

Board footer

Powered by FluxBB