NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I have been experimenting with generating Garmin maps with mkgmap, and then converting them to Garmin's Mac-platform ".gmapi" format for using them in RoadTrip, by using "Gmapi Builder.app". This works great, except for one thing. The maps are always named "OSM Map", and that means that I can only install one at a time — they seem to overwrite each other. Now, mkgmap has gazillion switches for setting various names and identifiers on maps. Which one of all these is it that I need to change?

asked 21 Jun '12, 09:08

turepalsson's gravatar image

turepalsson
836101625
accept rate: 25%


--family-name and --area-name did not make much apparent difference. Eventually, I concluded that --series-name seems to be the critical one.

Here is what my workflow looks like:

I start with a bunch of .osm.pbf files, let's say rhone-alpes.osm.pbf and ile-de-france.osm.pbf. I run 'splitter' on each one of these, each in a "clean" directory, giving each a unique --mapid. So, r-a might get 19710001 and i-d-f gets 19720001. This results in a set of tile .osm.pbf files named 19710001.osm.pbf, 19710002.osm.pbf and so on for r-a, and 19720001, 19720002, etc for i-d-f.

I then run mkgmap once for each directory. I set the family ID to 1971 for r-a, 1972 for i-d-f. The family name, series name and area name are all set to the basename of the .osm.pbf file it started with. This gives me (in each directory) files named osmmap.tdb and osmmap.img.

Finally, i open each osmmap.tdb file in Gmapi builder and hit "convert". This gives me rhone-alpes.gmapi and ile-de-france.gmapi. These can be installed by double-clicking them, and display fine in Road Trip and Base Camp. The only remaining problem is that I can only see one of them at a time. Is it possible to have maps that are installed separately, but display at the same time in e.g. RoadTrip?

permanent link

answered 21 Jun '12, 14:30

turepalsson's gravatar image

turepalsson
836101625
accept rate: 25%

--family-name and perhaps --area-name will let you set display names of maps differently.

More importantly, you need to set --product-id to a different value for every map, otherwise your garmin device will only see one of the *.img files.

permanent link

answered 21 Jun '12, 09:54

Vincent%20de%20Phily's gravatar image

Vincent de P... ♦
17.3k18152249
accept rate: 19%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×309
×30
×3
×2

question asked: 21 Jun '12, 09:08

question was seen: 4,372 times

last updated: 21 Jun '12, 14:30

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum