How To Create Garmin Topo Maps - Part 9 - Compiling DataLast updated July 21st, 2008 at 05:33pm Introduction
The final part of this lesson is two parts. The first, and required, step is converting the .mp files to Garmin compatible .img files. The second, optional, step is creating a NSIS setup file to allow people to easily install your new map.
Software
Some software is required for creating .img files and the setup system.
- Creating The .img Files
- cGPSMapper - converts .mp files to .img files (a free version exists)
- MapSetToolkit - allows easy creation of the preview files (free)
- Creating The Setup File
- NSIS - creates setup files (free)
Creating .img Files
First make sure you downloaded cgpsmapper.
- Copy cgpsmapper.exe from its directory to your release_version_1.00 directory
- Download GPSFileDepot's batch scripts to make processing autonomous
Note: this is not required but highly recommended for multiple .mp files
- Extract the files in the zip folder to your release_version_1.00 folder
- Open TranscodeQ.txt and put all your .mp filenames in there (for example MSTopo_A1.mp, MSTopo_A2.mp, etc.)
- Double click transcode.bat; this will run cgpsmapper on all the files listed there and then hit the next file.
This process will most likely take a few hours and will create .img files. You are now done with the .mp files.
Creating The Preview File
I use MapSetToolkit to easily create the preview files.In the lower left make sure you point the cgpsmapper blank to the location where cgpsmapper is installed.
- Open MapSetToolkit
- Click "Select IMG Files" in the upper left
- Point it to your release_version_1.00 folder
- Click "Select All"
- Click "Add-->"
- Set the Mapset Directory to the release_version_1.00 folder
- Enter your mapset name into the mapset name box (Mississippi Topo for example)
- Leave Product Code blank
- Enter your information into the copyright information box; it may not use this depending on the version of cgpsmapper you use.
- We're going to fill in family ID with a 4 digit number. This number can be random but right now GPSFileDepot's maps use 326#; please don't use any 326#.

- Click Start
Creating Setup Files
We will use NSIS and a template file to easily create setup files that install your maps on someone's computer as well as make it easy to access in MapSource.
- Download the setup template file
- Extract the file to your release_version_1.00 folder
- Open the .nsi file in notepad
- Edit MAP_DESC_NAME
- Edit MAP_SHORT_NAME (this needs to match the map name from Mapset Toolkit)
- Edit MAP_URL
- Edit MAP_EMAIL
- Edit MAP_COPYRIGHT
- Edit MAP_VERSION
- Edit MAP_REL_DATE (map release date)
- Go to this website and convert your code from decimal to hex. This decimal code is the family id from Mapset Toolkit. Now take this code and "flip" it, if the hex code was ABCD then your MAP_ID is CDAB
- Change the DIRECTORY to match your release directory
- Change the EXE_FILE from ms_topoinstall.exe to XX_topoinstall.exe where XX is your state's two letter code.
- Now save the file and close notepad.
- Open NSIS and compile the .nsi file.
You should now a setup exe in your release_version_1.00 folder.
What's Next?
Now that you've made a map make sure you reigster here at GPSFileDepot and then go to the member's area and add your map so you can share it with the world.
If you have any questions of comments please either contact us or post in the forums.
<-- Previous - Combining | Table of Contents |