Hello list,

I have been playing around with defining the style-file in the 
template.args file instead of in the command line.  After about 4 hours 
of inconsistent results I have by painful trial and error discovered the 
following.

If I use this line in template.args everything works:

style-file: ../mkgmap/resources/styles/mystyle

But if I use this line:

style-file: "../mkgmap/resources/styles/mystyle"
mkgmap silently fails and applies the default style.

Why does it bork on the ""?  How would it cope if you had Windows-like 
spaces in your path to the style file?  It would *really* help if 
someone could add a quick patch to make sure mkgmap fails elegantly when 
it can't find the style file.

The same problem does not occur if you invoke mkgmap with the 
--style-file="../mkgmap/resources/styles/mystyle" option - presumably 
the command line interpreter handles the "" properly here?

Charlie



_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to