This topic just for reference. I advise to use the "create_mapsource_installationfiles_with_mkgmap.bat" or "create_mapsource_installationfiles.bat" instead.
The principle of gmaptool when using the GUI version (gmaptool.exe) is very easy. First you select all *img that you want to integrate into your new mapset in Explorer/Commander and drag it into the main Window. Then you select an operation at the top. To use it you have to know some Vocabs first however. I won't explain computer basics here. They are needed to use gmaptool. It's not clickibunti.
I will explain the easiest way to use it here, there are many other ways to achieve the goal with gmaptool – as gmaptool is very powerful.
Vocabs
Overview Image: Usually named mapset00.img. Needed to show maps in Mapsource. Can be generated by maptk or cgpsmapper. Same as Preview Map.
Preview Map: Same as overview image. Different Term for the same thing.
TDB File: The File that holds the information which *img belong to the mapset
Mapset: An assortment of map tiles (*.img) that is joined together by .tdb, overview image (mapset00.img), and .mdx. An example is openmtbmap_at, while openmtbmap_de would be another mapset.
FID – Familiy ID. This is a number between 100 and 9999 (please don't use any other values, while in principle they do work, they might bring forward problems). Every Mapset needs an unique ID. You should use Mapsettoolkit to check for the FID of other maps installed to your computer so that you don't choose a FID that has been taken already.
PID – Product ID: Allways set to "1"
TYPFile: File that holds the information about how map objects are displayed. Can be changed to please different tastes. Ends with .typ. Openmtbmap.org maps need a typfile. Some maps like City Navigator also look o.k. without typfile.
Prerequisites
Maptk is not working anymore. Put cgpsmapper path in gmaptool GUI (and delete maptk path).
Enable "Advanced Options" in the options tab too. You don't need experimental options (if you read this guide, you obviously don't want to enable them).
Generating a preview map and install.bat to install maps to Mapsource:
1. Drag and Drop all *img you want to include into gmaptool main window. Also drop in the TYPFile. Watch out to not include the overwiew image. If you want to integrate contourlines, you want to drag them as well as the openmtbmap.org maps into here. If you want to you can combine maps of several countries. Note that this will not enable Autorouting over boarders, but it will enable you to see the maps at the same time in Mapsource without needing to change the mapset. You can also drop a gmapsupp.img
2. Click the tab "Split" and choose an directory which is empty to which gmaptool can send the maps.
3. Choose an empty output folder (Directory).
4. Select in the drop down menu: Create Files for Mapsource
5. Check "Compile Preview Map".
6. Set a Mapset Name (be creative but don't use Umlauts or special characters)
6. Set Mapset FID to a value not used (use mapsettoolkit to check), set PID to 1.
7. Click on "Split all" . and let gmaptool do the work
– You don't want to check any of the following but leave them empty: "Limit Preview Map", "Limit Mapset Area", "Set Code Page" or "Create TDB v3 when possible".
If in doubt click on "?" to see gmaptool help.
8. Then run the newly crated install.bat that you find togehter with all maps in the output directory. (on x64 Windows you might need to twiddle with the %Key% value in the install.bat, in case some map has wrongly installed to 32bit path in registry).
If the colors are wrong, then this means your typfile was not included. This is the case if the fid/pid of the typfile are not the same as the ones of the maps. In that case use mapsettoolkit to add the typfile to the maps (and change the FID/PID of the typfile automatically after confirmation).
Additional notes for SRTM Contourlines Installation:
I recommend to keep to seperate folders. One for the standard openmtbmap_austria installation, and a second one for the srtm files (plus the current openmtbmap_austria tiles). So unzip the srtm files to any folder you like, copy (don't move) the openmtbmap_austria map tiles (all files ending with ".img" and having a 8 digit filename (i.e. 63660001.img, but not mapset00.img!) also in that folder.
Also copy the mtbat.TYP file into the folder. However you have to rename it, so there is no conflict in your GPS (Mapsource will tolerate you not renaming it – but the maps may display wrong) be carefull, maximum 8 characters are allowed. I named it srtmat.TYP Then follow the above guide. You will have to set a mapID – I would recommend using 6365 if it is not yet used (openmtbmap_italy uses 6367), but you may use any other number from 100-9999. Don't use 6366 as this the number the openmtbmap_austria uses.
After clikcing on "START" you will get a notice saying that the FID and PID of the .TYP File are wrong and you will be asked if it should be changed. Click Yes on that question. Then you have can send the maps either with or without contourlines to your GPS (or send both versions, and then upon use enable the one you want using the map setup window of your GPS.
Please Note: the *.img files containing the contourlines must be named higher than the maps containing the background polygon. Otherwise the will not show in Mapsource if you include them into the same .tdb. This was wrong in the SRTM Contourlines offered for Austria (update available as of 10.08.2009). Simply rename those tiles from 6224 to 7224 and redo the installation (either with mapsettoolkit or gmaptool –> which I do prefer by now for map installation) or download the srtm files again.
Updating the Maps
Updating your standard openmtbmap installations is as easy as overwriting the old files. For installs of maps including the SRTM contourlines this is a bit more difficult. In case the number/naming of tiles changes, you need to delete the old *.tdb and the old mapset00.img (generated by cgpsmapper) in your SRTM installation folder, then overwrite the old tiles (*.img) with the newer ones and follow the above installation again.
You will also have to do this when after updating the maps – on sending the maps to the GPS with Mapsource, Mapsource complains about an error (usually somethin like there are only 1000MB of free space on your GPS, you try to send 200MB of maps – notice that the second number is smaller – this indicates that the mapset00.img is not working for your maps and needs to be regenerated).
Spend a token to make the maps even better - Unterstuetz openmtbmap - fuer noch bessere Karten.
Gracias muchos tacos!
Wie umständlich!
Ich habe das mit der Beschreibung nicht hin bekommen. Mapsource zeigt immer noch seine schäbige Popelkarte an.
Gibt’s nirgends jemanden, der für ein paar Euros eine MicroSD bespielt und sie mir schickt, sodass ich sie nur in meien Vista HCX rein schieben muss?
Und einen, der mir für ein passr Euro eine CD-ROM schickt, die ich einlege und dann läuft der Laden in Mapsource?
Ich habe keine Zeit, mich hier stundenlang an den PC zu hocken.
Die Open-Street-Map hatte ich (ohne download-Zeit) in ca. 10 min auf der SD und dann lief sie im Garmin…
Gruß Rainer
Bei mir ging’s mit der OpenMTPMap ähnlich schnell. Allerdings habe ich auch die [url=http://openmtbmap.org/tutorials/install/]Installationshinweise[/url] gelesen.
Ich versuche Höhenlinien und Alps Karten mit GmapTool zu zerlegen. Problem als admin unter Vista: FID 255, PID 1
Fehlermeldung:
Programmstart.
====================================================================
Zerlege alle Maps.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp/65280000.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp/65280001.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp/65280002.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp/65280003.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp/65280004.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp/65280005.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp/65280006.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp/65280007.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp/65280008.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp/65280009.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp/65280010.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp/65280011.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp/65280012.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp/65280013.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp/65280014.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp/65280015.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp/65280016.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp/65280017.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp/65280018.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp/65280019.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp/65280020.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp/65280021.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280000.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280001.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280002.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280003.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280004.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280005.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280006.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280007.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280008.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280009.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280010.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280011.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280012.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280013.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280014.img.
Lese Datei D:/transfer/Garmin/osm/openmtbmap_alp/65280000.img.
Lese Datei D:/transfer/Garmin/osm/openmtbmap_alp/65280001.img.
Falscher Header (DSKIMG GARMIN), Datei D:/transfer/Garmin/osm/openmtbmap_alp/65280001.img.
Fehler, Ergebnis fehlerhaft.
Ende.
Fehlt irgendwas – oder warum die Fehlermeldung?
Lesen sollte man können (ist aber auch schwer….)
Ich hab den typfile im Zielverzeichnids vergessen, danach ging es fehlerfrei:
====================================================================
Zerlege ausgewählte Maps.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280000.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280001.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280002.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280003.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280004.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280005.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280006.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280007.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280008.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280009.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280010.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280011.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280012.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280013.img.
Eingabedateien: D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280014.img.
Lese Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280000.img.
Lese Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280001.img.
Lese Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280002.img.
Lese Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280003.img.
Lese Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280004.img.
Lese Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280005.img.
Lese Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280006.img.
Lese Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280007.img.
Lese Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280008.img.
Lese Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280009.img.
Lese Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280010.img.
Lese Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280011.img.
Lese Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280012.img.
Lese Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280013.img.
Lese Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280014.img.
Benutze ursprüngliche Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280000.img für Mapset.
Benutze ursprüngliche Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280001.img für Mapset.
Benutze ursprüngliche Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280002.img für Mapset.
Benutze ursprüngliche Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280003.img für Mapset.
Benutze ursprüngliche Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280004.img für Mapset.
Benutze ursprüngliche Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280005.img für Mapset.
Benutze ursprüngliche Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280006.img für Mapset.
Benutze ursprüngliche Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280007.img für Mapset.
Benutze ursprüngliche Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280008.img für Mapset.
Benutze ursprüngliche Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280009.img für Mapset.
Benutze ursprüngliche Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280010.img für Mapset.
Benutze ursprüngliche Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280011.img für Mapset.
Benutze ursprüngliche Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280012.img für Mapset.
Benutze ursprüngliche Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280013.img für Mapset.
Benutze ursprüngliche Datei D:/transfer/Garmin/osm/openmtbmap_alp_srtm/75280014.img für Mapset.
Schreibe Datei mapset00.mp
Schreibe Datei mapset00.tdb
Schreibe Datei mapset00.mdx
Ausführung cgpsmapper zur Übersichtskartenkompilierung.
“”cgpsmapper.exe” -l “D:/transfer/Garmin/osm/alpsadd/mapset00.mp”"
Oh, sorry, ich glaube, ich hab den Beitrag an der falschen Stelle gemacht…
Hi,
habe mir heute aktuelle Karten D/A/CH/IT runtergeladen.
Versuch 1:
uninstall.bat im bisherigen Verzeichnis, alle neuen Download-Dateien über vorhanden drüberkopiert – install.bat
==> Mapsource startet nicht mehr: “Bei der Installation von MapSource ist ein Problem aufgetreten”
Versuch 2 (nach Wiederherstellung alter Stand):
Kein uninstall.bat, nur neue .IMG-Dateien über alte kopiert, dann install.bat aufgerufen
==> Mapsource startet nicht mehr: “Bei der Installation von MapSource ist ein Problem aufgetreten”
Kopiere ich die alten .IMG drüber, startet Mapsource wieder…
Gruesse
Maertenz
mio mapp ok bueno me gusta
Creating a map from austria with the openmtbmap and the srtm contour lines worked fine. Unfortunately the mtb tracks are hardly visible in mapsource (very thin lines), whereas they are displayed nicely in the original openmtbmap. Any suggestions?
zrdz
After following all steps, there’s no install.bat created. Who has this batch for me?
fine