mkgmap appears to ignore --family-name

The Nuvi user reported that he had problems routing from Tapiola, Espoo to Kumpula, Helsinki but it is now working OK, both for me (Edge 705) and him. Maybe it was just bad source data. He also reported that the map says "family name" instead of something like "Osm 03.12.2009". I can repeat that on my Edge 705. Has this been changed recently, perhaps related to some MDR stuff? It used to work last time I looked, several months ago. Here is the relevant command from my osm2img.sh: java -jar mkgmap.jar -c mkgmap.args --family-name="OSM 03.12.2009" The whole script is at http://www.polkupyoraily.net/osm/ http://www.polkupyoraily.net/osm/files/osm2img.sh http://www.polkupyoraily.net/osm/files/mkgmap.args Best regards, Marko

On Thursday 03 December 2009 21:40:47 Marko Mäkelä wrote:
He also reported that the map says "family name" instead of something like "Osm 03.12.2009". I can repeat that on my Edge 705. Has this been changed recently, perhaps related to some MDR stuff? It used to work last time I looked, several months ago. Here is the relevant command from my osm2img.sh:
java -jar mkgmap.jar -c mkgmap.args --family-name="OSM 03.12.2009"
Try to set the family name in the args file BEFORE the input-file sections. The family name / ID will be used for all tiles that are below that in the args file. For a map with two families: family-id=1234 product-id=1 family-name=Map1 input-file=1.osm input-file=2.osm family-id=5678 product-id=1 family-name=Map2 input-file=3.osm input-file=4.osm

On Fri, Dec 04, 2009 at 09:22:02AM +0100, Ralf Kleineisel wrote:
On Thursday 03 December 2009 21:40:47 Marko Mäkelä wrote:
He also reported that the map says "family name" instead of something like "Osm 03.12.2009". I can repeat that on my Edge 705. Has this been changed recently, perhaps related to some MDR stuff? It used to work last time I looked, several months ago. Here is the relevant command from my osm2img.sh:
java -jar mkgmap.jar -c mkgmap.args --family-name="OSM 03.12.2009"
Try to set the family name in the args file BEFORE the input-file sections.
Thanks Ralf, putting --family-name before -c mkgmap.args did the trick. I would not specify the family-name in the args file. The actual parameter is --family-name="$(date -r$OSM +"OSM %x")" where $OSM is the input file, in my case finland.osm.bz2. For a map with two families, I guess you could use multiple -c files, one per family, interleaved with the --family-name parameters, if you wanted to easily embed the date in the family name. Marko
participants (2)
-
Marko Mäkelä
-
Ralf Kleineisel