logo separator

[mkgmap-dev] remove-short-arcs config bug

From Ralf Kleineisel ralf at kleineisel.de on Tue Nov 10 14:36:54 GMT 2009

There seems to be a bug in the way the config file for mkgmap is read. All
options I tried can be switched on with "=yes" and off with "=no". E.g.:

transparent=no
tdbfile=yes
route=yes

If I try the same with the remove-short-arcs option (i.e.
"remove-short-arcs=yes") I get an error for r1364. If I put
"remove-short-arcs" on a line without "=yes" it works.

java.lang.NumberFormatException: For input string: "yes"
        at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
        at java.lang.Double.parseDouble(Unknown Source)
        at
uk.me.parabola.mkgmap.reader.osm.xml.Osm5XmlHandler.<init>(Osm5XmlHandler.java:131)
        at
uk.me.parabola.mkgmap.reader.osm.xml.Osm5MapDataSource.load(Osm5MapDataSource.java:71)
        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:187)
        at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:185)
        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




More information about the mkgmap-dev mailing list