How I update my Gulf Coast Co-operation countries map
This is a step-by-step guide to the exact set of commands and actions I use to update my GCC maps (you can download a recent version here and also see some screenshots of it). I've put it together to show how I use the various files I've made available on my downloads page to generate a whole new map.
I generate two versions of any map: one for my GPS (which uses simpler roads) and one for Mapsource (which has more fancy styling on roads). I list both processes here and you can download the relevant files to see exactly what I'm using.
1. Creating the GPSr version
- Download the latest GCC map extract from Geofabrik.
- Relabel the file to GCC_today's date, e.g. GCC_20110308.pbf
- Run split_GCC.bat to split the data. For the GCC region, this results in a single tile as there isn't much data here yet. Total time to split: 21 seconds
- Run mkgmap_GCC_GPS.bat to generate the GPS map.
- I make sure to use the java option
-DLog.config=logging.properties so that I can spend some time later improving the OSM data.
- This batch script runs mkgmap using my options_GCC_GPS.args options file and my CF_GPS style combined with a TYP file based off the CFMaster.TYP file.
- Run process_OSMlog to parse through the results of the config logging, splitting them into discrete text files that I can then go through and use to fix errors in the routing information in OSM. `
- Copy the gmapsupp.img file to the Garmin folder of the SD card I use in my GPSr.
2. Creating the Mapsource version
- Copy the split OSM tiles created during step 1.3 above to a new folder designed to contain the Mapsource tiles
- Run mkgmap_GCC_Mapsource.bat to create the Mapsource map. This step also requires:
- As the folder containing the Mapsource tiles hasn't changed, I don't need to re-install the map: Mapsource continues looking where it looked before, and isn't aware that the tiles have changed. I may need to hit CTRL+G to refresh the cache, but otherwise everything works as expected.
This may look like a lot of steps and files to worry about, but in reality once all the options files and TYP files are set up, you never need to touch them again, so it's just a matter of mechanically clicking each batch file in turn. You could even create a master batch file that calls each batch file in turn making the whole process a one-click event.