Mit Mkgmap Karten ans GPS senden
I know that many of you dislike closed source programs, I do that too (with the exception that for now I still dualboot to windows because of Garmin Mapsource and some other programs, otherwise I am on the good Ubuntu side of the world)!
Many people commented in forums that sendmap does not work for them, and running Mapsource under WINE works, but you can't connect to your Garmin GPS using WINE (if you find out how, please drop a detailed comment).
However you can also use mkgmap for sending the maps.
1. Get and install mkgmap . Note that Java is required (Sun Java JDK is recommended). I would advise to go with the latest release or compile from source with ANT.
2 a) Now combine all .img and .TYP (please use UPPERCASE for .TYP under Linux) with the following command from the folder where the maps are extracted to:
(Of course you could also define the .img files by folder, and you probably have to add the path wo mkgmap) This will create a gmapsupp.img file, that you can upload to your GPS in USB mode (place it into /garmin folder on GPS internal memory or memory card)
Note that all 6*.img have to be from the same openmtbmap country file – otherwise only one "country" will show in proper colours. You can instead of deleting all but one typfile replace *.TYP with e.g. clas*.TYP or the full name like clasde.TYP.
-–family-id should be the same number as the first 4 digits of the maps (if you use a different number, you have to adjust the FID inside the .TYP-file). Note every map on your gps needs a different family-id (else they won't be shown).
-–family-name can be set to any value (only use letters and numbers, no Umlauts or symbols) and will be shown as mapname on the GPS maplist.
2 b) if you want to have contourlines (altitude lines) included too, just change the above command from "6*.img" to "6*.img 7*.img" and put the *.img from the contourline download into the same folder before running the above command.
It is now also possible to include several maps with different .TYP files at the same time with mkgmap – the command will get more complex however (read mkgmap mailinglist/docs on how to do this as I have never tried it)!
Alternatively run 2. for each mapset (e.g. "openmtbmap austria", or "Garmin City Navigator" on its own, and then combine the maps with gmaptool
Alternatives for Linux / Mac OSX users
0. Use gmt (gmaptool) instead.
1. You could also try to use Qlandkarte GT to send the maps to your GPS. You may have to comile drivers for your GPS by hand however.
2. Alternatively use Mapsource from inside WINE, To send maps put a symbolic link for the driver:
ln -s /dev/ttyUSB0 ~/.wine/dosdevices/com1
you will need admin rights.