logo separator

[mkgmap-dev] mapname splitter V mkgmap

From Greg Troxel gdt at ir.bbn.com on Mon Aug 17 20:10:26 BST 2009

frmas <frmas at free.fr> writes:

> Greg Troxel a écrit :
>>> So I suppose that once the mapname in the template.args file is given, I
>>> can't change it with a parameter on the mkgmap command line, as long as
>>> I use the "-c template.args" parameter ??
>> the mapname in the -c takes precedence if it is given later than
>> --mapname.
> You meant on the same command line ? If so, it doesn't make any
> difference at least here with the other parameters I use.
> But I saw two differences when I put it as the last parameter or one of
> the first parameters.
> If I put it at the end of the command line, the resulting file is 183808
> bytes for Andorra, and no error are given about zero length arc.
> -rw-r--r--  1 fm users    183808 2009-08-17 20:58 Andorre.img
> If I put the -c parameter at the beginning, the resulting file is 96768
> bytes
> -rw-r--r--  1 fm users     96768 2009-08-17 21:01 Andorre.img
> and I have lots of errors like this one :
> GRAVE (RoadNetwork): Road Avinguda Meritxell; FIXME (OSM id 6182097)
> contains zero length arc
> GRAVE (RoadNetwork):
> http://www.openstreetmap.org/?lat=42.50842&lon=1.53407&zoom=17
> GRAVE (RoadNetwork): Road Avinguda Meritxell; FIXME (OSM id 6182097)
> contains zero length arc

I don't really understand, but I think the command line is parsed
incrementally and the options in force when the filename is given are
the ones that are used.  I had the same experience as you and have been
putting -c template.args as the last argument to mkgmap.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 193 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090817/940cb6b4/attachment.bin 

More information about the mkgmap-dev mailing list