logo separator

[mkgmap-dev] mkgmap appears to ignore --family-name

From Marko Mäkelä marko.makela at iki.fi on Fri Dec 4 09:06:36 GMT 2009

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



More information about the mkgmap-dev mailing list