
Thank you for your suggestions. It doesn't work when the --style-file parameter is given in the command line in any way. A few minutes ago I read on a website that all the parameters could also be put in a kind of configuration file which then could be given to mkgmap by the "-c" parameter. Surprise - this works! Don't ask me why, I happy with that. Thank you again for all your help. Thomas Am 30.10.2012 18:52, schrieb Josef Latt:
Hi,
your style file is: thomas-style
use the complete path to the file like: --style-file=/home/.../thomas-style
Regards
Am 30.10.2012 17:26, schrieb Thomas Kaschel:
Hi Gerd,
I also tried this, but the problem remains the same. ("could not open style file").
Thomas
Am 30.10.2012 17:01, schrieb Gerd Petermann:
Hi Thomas,
please check: with --style-file=/mkgmap/ you specify a directory that is directly in the root. Maybe it should be /home/.../mkgmap or ./mkgmap ?
Gerd
To: mkgmap-dev@lists.mkgmap.org.uk From: thomas.kaschel@googlemail.com Date: Tue, 30 Oct 2012 16:24:26 +0100 Subject: [mkgmap-dev] Could not open style file
I used mkgmap on a Windows machine to create Garmin maps from OSM data. In the future I want to run it on Ubuntu Linux. Unfortunately there is a problem including style files. I'm using mkgmap r2349.
On Windows the parameters "--style-file=C:\Landkarten\mkgmap\ --style=thomas-style" worked well.
On Linux the parameters look like "--style-file=/mkgmap/ --style-file=thomas-style" and it doesn't work. Error messages as "could not open style file thomas-style" and the following messages appear.
at uk.me.parabola.mkgmap.osmstyle.StyleImpl.<init>(StyleImpl.java:140) at
uk.me.parabola.mkgmap.osmstyle.StyleImpl.readBaseStyle(StyleImpl.java:518)
I also tried to put the style files (lines, points ...) in a zip-file but that doesn't solve the problem.
Any suggestions? Thank you.
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev