
Dear mkgmap users, 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 have no idea what I am doing wrong. Could someone please help me, for example by giving a working example command? Willem1

sonke016@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
participants (2)
-
sonke016@planet.nl
-
Torsten Leistikow