If you are an owner of a Garmin 520 device, you may have discovered the device has the capability to use custom maps in the standard Garmin .img format. Unfortunately the device has quite limited internal storage (up to around 100MB) and no external SD card capability.
Storage space can be increased by removing the default Basemap and maps of your choice (e.g. your local area) can be acquired via the excellent [OSM Garmin Maps] (http://garmin.openstreetmap.nl/) website.
Further information about doing this can be found via these blog posts:
However consider the needs of the long distance cyclist - such as a participant in London Edinburgh London, the premier Audax UK event - in this scenario the above available maps needed to cover the area being travelled will be too big to fit on this device.
One can use OSM data directly and process the data yourself using Open Source tools to generate a gmapsupp.img file that covers your area of interest. My operating system is Debian Linux so the tools needed are available, of a modern enough version and easy to install via the standard operating system ‘apt-get’ manner:
Those using Windows or Mac OS’s can run these tools but installation is normally more intricate and one will need to refer to the individual websites for specific instructions.
Overview
My method for generating a suitable gmapsupp.img is thus:
- Download a OSM data extract in PBF format - Geofabrik
- Run osmosis to remove and contain only the relevant data wanted for the map.
- Create the map using mkgmap, using the default style.
- Transfer to your Garmin device and enjoy.
All these steps can be easily scripted to be able to run with different parameters, such as adjusting the data being used or for a newer dataset.