NL:OSM Map On Garmin
| Sub pages |
|---|
| Map File Format |
| Pre-Made Map Download |
| POI Files |
| Mass Storage Mode |
| cGPSmapper |
| QLandkarte |
| Cycle map |
Veel GPS-apparaten van Garmin kunnen kaarten tonen op het beeldscherm. Deze pagina legt uit hoe je OSM-kaarten op je Garmin-apparaat kunt krijgen.
Contents |
Kaarten die al gemaakt zijn
Sommige mensen hebben al het werk verricht om Garmin-kaarten te maken voor delen van de wereld, kijk op Download (Engels) voor meer informatie.
Creating Your Own Maps from OSM Data
Software
| Program | License | .osm to .mp | .mp to .img | .osm to .img | IMG aggregation | Routing | Upload | Developed for OSM? |
|---|---|---|---|---|---|---|---|---|
| Mkgmap | GPL | No | Yes | Yes | Yes | Yes | No | Yes |
| QLandkarte | GPL | No | No | No | Yes | No | Yes | No |
| cGPSmapper | proprietary | No | Yes | No | No | Yes | No | No |
| sendmap | proprietary | No | No | No | Yes | No | Yes | No |
| osm2mp | GPL | Yes | No | No | No | Yes | No | Yes |
| GroundTruth | BSD | No | No | Yes | No | No | Yes | Yes |
- Mkgmap is an Open Source Java program developed specifically for converting OSM data into Garmin map image files. You should probably look at this first.
- QLandkarte is an Open Source program to display and work with Garmin maps.
- cGPSmapper is a programs to convert a textual presentation of a Garmin map into binary map files. cGPSmapper can not read OSM files directly. MapCenter is a web interface to cGPSmapper.
- sendmap is a companion program to cGPSmapper for aggregating and uploading map images files.
- osm2mp can create routable garmin maps, see this forum thread for details and download.
- OSM Composer is a GUI for simplifying the process of creating Garmin map images from OSM and SRTM data.
- GroundTruth is a command line application for creating Garmin maps from OSM data.
Directions: Creating your map
If you've never dealt with cartographic data before, this might be slightly harder than you expect. If you have dealt with cartographic data, you'll probably find this shockingly easy, fast, and reliable.
These are generally the steps involved (also see the Software section below):
- Get OSM Data: You need a .osm file; you'll need to select your location, ask the server to generate data, and download the data. There are several options:
- The easiest way of all is to use the Export tab on the site. This will download the map you have currently on display. Choose the osm option when downloading.
- If you want an entire country or maybe even the whole world, use the planet dump or one of the many excerpts available.
- You can use JOSM to select and download the data, then choose Save As. (But note that this is inefficient for large data sets, as JOSM will attempt to draw the data, which can take many minutes, and which you don't need to do if you're only trying to use the data on a GPS unit.)
- For a command-line download, see Getting Data or GroundTruth For Dummies#Downloading_OSM_Data.
- If you are writing software, download through the API or XAPI.
- Convert to IMG file: You need to convert the .osm file to a Garmin map image file (.img). You should probably use Mkgmap for this. Mkgmap will not process arbitrarily large input files, so you probably need to cut the osm file into smaller chunks, most easily with the new splitter. A workaround is to NOT download raw .osm data but directly use the .img tiles by User:Computerteddy, which cover the whole world. You can use [1] to calculate the URLs of the tiles you need for a given rectangular region.
- Creating GMAPSUPP.IMG files: Some GPS may need one or more of those map image files to be converted into an aggregate image file called GMAPSUPP.IMG. Mkgmap and OSM Map On Garmin/cGPSmapper perform this process.
Creating your own topographic maps
See the dedicated page on topographic maps for garmin devices.
Installing the map onto your GPS
Installing direct to your GPS The easiest way to install a map on your Garmin device is to put it in USB mass storage mode and copy the gmapsupp.img file you want to install to the directory called Garmin on it (creating if it it doesn't exist). For more details on this see OSM_Map_On_Garmin/Mass_Storage_Mode.
The following example describes how to copy the file in LINUX:
wget http://path/to/gmapsupp.img sudo mkdir /mnt/gps/Garmin sudo mv gmapsupp.img /mnt/gps/Garmin/
Installing using sendmap: If your GPS doesn't support USB mass storage mode you may have to use sendmap or other proprietary software to transfer it to the device.
Using MapSource: Alternatively you can Load your map into Garmin's Mapping program MapSource and download it from there. Instructions for installing your map in MapSource are here OSM Map On MapSource Once the maps are installed in MapSource select the map function in the tools menu. Then highlight all the maps you want to download. you can change between different mapsets while doing this. Then choose the "send to device" function. This will Overwrite the existing map files (except the Garmin base map).
What if I have an existing gmapsupp.img file?
On Windows and Mac OS X
You can transfer any section of a map together with all other maps on your unit after the map has been registered in MapSource. There is a section on how to do that (This is the same as the method above): OSM Map On MapSource.
After integration of maps, in MapSource select ALL maps at once. That works across different map sets as well. Then choose "send to device". The transfer will take quite a while.
sendmap Can transfer a gmapsupp.img file, overwriting the existing one.
If you don't already have any gmapsupp.img file on your unit, and you have a memory card, you can simply copy your gmapsupp.img file into a folder called garmin on the memory card using a card reader or USB mass storage mode.
Everywhere else
Your existing gmapsupp.img file contains your current map. You can merge your existing map and these maps into a new gmapsupp.img file with mkgmap:
java -jar mkgmap.jar --gmapsupp your-existing-map.img map-you-want-to-add.img
(The order in which the .img files are provided does not matter)
Note: Sometimes merging two gmapsupp.img files together doesn't seem to work but merging the two files that were used to produce them will work, e.g.:
java -jar mkgmap.jar --gmapsupp 1234567.img 2345678.img
Once you have a gmapsupp.img file copy it to your Garmin device:
sudo cp gmapsupp.img /mnt/gps/Garmin/
Converting MapSource format maps to OS X format
Maps in the MapSource format (a .tdb file and a bunch of .img files) can be converted to the OS X .gmapi format using Gmapibuilder. This way the maps can be used in Roadtrip.
Devices
OSM maps should work on all Garmin devices which support uploading maps. These include the Colorado, eTrex Legend, eTrex Vista, eTrex Summit, eTrex Venture, GPSMAP, Nüvi, Oregon, Quest and Streetpilot ranges.
If you know of any Garmin devices which support maps but do not work with OSM maps, please list them here.
Other Stuff
- OSMGarminMap is an older XSLT style sheet to convert OSM data into files which can then be read and converted by cGPSmapper. It is probably not useful to you unless you want to hack around.
- Cycle map explains how to create a custom "rendering" of OSM data using Mkgmap.
- GPS Maps From OSM Data describes a web-based interface to generating GPS maps from OSM data.
- See /Format for more information about these Garmin map image files.
- See /WINE MapSource how to use the original MapSource in wine to transfer maps (if neither sendmap nor qlandkarte work for you).
External links
- MapCenter has loads of Garmin maps to download including the data in source format. There are many detailed maps, some at city street level. The licensing status of each map is up to each author -- it is always free to use and modify for personal use only, but often the authors are less strict -- so there's the possibility of importing some of these maps into OSM.
- Mapsntrails is a nice big Database which lists most of the free Garmin GPS maps which are available on the Internet for download. It included OSM, and Mapcenter, but also a lot smaller unknown sites.
- GpsMapEdit can be used to view and convert the garmin format (.img) back to polish format (.mp). The polish format is input for the MapCenter database.
- PocketMV is an shareware ($20) program for an Windows PDA that can display the garmin IMG file.
- Mario Advisor is a free java utility to display Garmin IMG maps in your mobile phone.
- www.digitalmobilemap.com is a J2ME program that can display garmin IMG map on any mobile phone. The application supports routeable maps and uses A* algorithm for AutoRouting
- PTGMAP Program for WindowsMobile Device to display maps in the Garmin format.