The Grail: my own topo maps into my Garmin
Well, this took long enough.
Broad Strokes
- Data from the Shuttle Radar Topography Mission (best taken from CGIAR).
- Use GDAL (gdal_translate) to convert to GMT’s .grd format.
- Use GMT’s grdcut to cut out a region of interest.
- Use GDAL (gdal_contour) to create a contour map, in ESRI Shapefile format.
- Open GPSMapEdit, import said Shapefile, tweak environment parameters extensively. Save as Polish-format .mp file; export as Garmin .img file.
- Use MapSetToolKit to install the .img file as a map that MapSource can see.
- Use MapSource to send the file to the GPS.
Tricky Bits
- Steps 1 – 4 are pain-free.
- Step 2
- File | Import | Shapefile. In the “From field” tab the labels must be clicked on, for some reason. Click. Click. Make sure the datum and coordinate system are correct.
- Under File | Map Properties. Enter a unique 8-digit numeric key in “ID.” Give the map a name.
- Tricky things to do under the “Levels” tab:
- A “level” is a zoom level. Level0 is the most detailed; Level8 or so the least detailed. Map objects will only be visible at levels for which are not specified, or for levels that are not specified.
- So, add as many levels, plus one, as you want your map to be visible in. The last level must be blank.
- Moreover, in the “Bits” field of the “Level Settings” dialog box, starting from Level0, each successive level must use fewer bits than the one above it.
- Close out the “Map Properties” dialog.
- Select all of the contours. Right click. Modify | Extend All Elements up to Level — and enter in the number of levels minus 1. (The highest-level level must be empty.)
- Step 7. Described here.
Remaining Work
- Figuring out what contour intervals are appropriate for which zoom levels.
- Making it look better.