
I now have put the style folder in the mkgmap base map, and --style=fiets doesn't seem to work. Do I have to put the style in a zip-file? Willem1
sonke016 at planet.nl schrieb:
I have a problem when I'm trying to use a style. If I create a style, for example "fiets", put it in the folder "mkgmap\resources\styles\fiets", and I use the command
java -jar mkgmap.jar map.osm --tdbfile --style-file=styles\fiets then mkgmap just uses the default style. I tried almost everything: using --style, using quotation marks, using --style-file=resources\styles\fiets etc.
I think, the path of the style must be relative to your working directory. So when you are running in the mkgmap directory, the parameter --style-file=resources\styles\fiets should work.
Or you can put the fiets folder as a subfolder under your working directory, then the parameter would be --style=fiets.
Gruss Torsten