Thanks for your reaction.
I executed the following command now:
G:\Willem\Mijn
documenten\mkgmap\mkgmapr1117>java -jar mkgmap.jar --style-file=fietskrt
fiets2.osm
I get the following exception:
Error in style: Error: (relations:8): Stack size is 3
SEVERE (Main): java.util.concurrent.ExecutionException:
uk.me.parabola.imgfmt.ExitException: Could not open style null
java.util.concurrent.ExecutionException:
uk.me.parabola.imgfmt.ExitException: Could not open style null
at
java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
at
java.util.concurrent.FutureTask.get(Unknown Source)
at
uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:289)
at
uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:124)
at
uk.me.parabola.mkgmap.main.Main.main(Main.java:100)
Caused by: uk.me.parabola.imgfmt.ExitException: Could not open style
null
at
uk.me.parabola.mkgmap.reader.osm.xml.Osm5MapDataSource.createStyler(Osm5MapDataSource.java:126)
at uk.me.parabola.mkgmap.reader.osm.xml.Osm5MapDataSource.load(Osm5MapDataSource.java:79)
at
uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:148)
at
uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:56)
at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:168)
at
uk.me.parabola.mkgmap.main.Main$1.call(Main.java:166)
at
java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at
java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at
java.lang.Thread.run(Unknown Source)
Exiting - if you want to carry on regardless, use the --keep-going
option
I included the used style (fietskrt) with this
message. Does someone know what the problem is?
Willem1
-----Oorspronkelijk bericht-----
Van: Mark Burton [mailto:markb@ordern.com]
Verzonden: zondag 26 juli 2009 22:35
Aan: mkgmap-dev@lists.mkgmap.org.uk
Onderwerp: Re: [mkgmap-dev] Problem with styles
This works for me:
I have a directory called mkgmap-burto-style. In it
are:
info lines options points
polygons relations version
I use the following option:
--style-file=mkgmap-burto-style
That assumes that mkgmap-burto-style is in the current
directory.
Obviously, you need to put in a pathname (absolute or
relative) if it's
elsewhere.
Cheers,
Mark