OSM Map On Garmin/Format

From OpenStreetMap Wiki
Jump to: navigation, search
Available languages — OSM_Map_On_Garmin/Format
Afrikaans Alemannisch aragonés asturianu azərbaycanca Bahasa Indonesia Bahasa Melayu Bân-lâm-gú Basa Jawa Baso Minangkabau bosanski brezhoneg català čeština dansk Deutsch eesti English español Esperanto estremeñu euskara français Frysk Gaeilge Gàidhlig galego Hausa hrvatski Igbo interlingua Interlingue isiXhosa isiZulu íslenska italiano Kiswahili Kreyòl ayisyen kréyòl gwadloupéyen Kurdî latviešu Lëtzebuergesch lietuvių magyar Malagasy Malti Nederlands Nedersaksies norsk bokmål norsk nynorsk occitan Oromoo oʻzbekcha/ўзбекча Plattdüütsch polski português português do Brasil română shqip slovenčina slovenščina Soomaaliga suomi svenska Tiếng Việt Türkçe Vahcuengh vèneto Wolof Yorùbá Zazaki српски / srpski беларуская български қазақша македонски монгол русский тоҷикӣ українська Ελληνικά Հայերեն ქართული नेपाली मराठी हिन्दी অসমীয়া বাংলা ਪੰਜਾਬੀ ગુજરાતી ଓଡ଼ିଆ தமிழ் తెలుగు ಕನ್ನಡ മലയാളം සිංහල ไทย မြန်မာဘာသာ ລາວ ភាសាខ្មែរ ⵜⴰⵎⴰⵣⵉⵖⵜ አማርኛ 한국어 日本語 中文(简体)‎ 吴语 粵語 中文(繁體)‎ ייִדיש עברית اردو العربية پښتو سنڌي فارسی ދިވެހިބަސް

OSM Map On Garmin

Garmin uses an undocumented file format for its map files. The format has been partially reverse engineered, but there are still some unknowns.

Common file types used on Garmin devices and for MapSource

  • gmapsupp.img — the container file for maps inside /garmin folder on GPS internal memory or memory card. When sending maps with Mapsource, all new maps are put into gmapsupp.img. Old maps previously in gmapsupp.img will be deleted.
    • .img — Garmin map files
    • .tdb — needed for MapSource and Qlandkarte GT. Tells things about the maps, like an index. Not needed for GPS
    • .TYP — needed to customize the appearance of objects. Needed for GPS and MapSource/Qlandkarte to have much better looking maps.

Storage on Garmin devices

Newer Garmin GPS devices support mass storage mode, where the device pretends to be a normal storage device like a USB stick. Here are more details.

File format documentation and libraries

To understand the Garmin map file format the best place to start is the Sourceforge project garmin-img.

Mkgmap comes with some code for disassembling and viewing Garmin maps: http://svn.parabola.me.uk/display; there's information on the mostly-understood routing network at http://svn.parabola.me.uk/display/trunk/doc/nod.txt.

Libgarmin also contains more info on the format -- its aim is to read Garmin maps for routing in Navit. The libgarmin wiki contains some more information on the format.

jgarminimg let you read garmin img files into java and display maps as a swing component.