logo separator

[mkgmap-dev] Unable to compile maps

From Carlos Dávila cdavilam at jemila.jazztel.es on Sun Sep 27 23:15:56 BST 2009

Since yesterday I get the error below trying to compile France and Spain
maps (from Geofabrik):
java.lang.AssertionError: relative pointer too large for 14 bits
        at
uk.me.parabola.imgfmt.app.net.RouteArc.writeSecond(RouteArc.java:260)
        at
uk.me.parabola.imgfmt.app.net.RouteNode.writeSecond(RouteNode.java:253)
        at
uk.me.parabola.imgfmt.app.net.RouteCenter.write(RouteCenter.java:103)
        at
uk.me.parabola.imgfmt.app.net.NODFile.writeNodes(NODFile.java:102)
        at uk.me.parabola.imgfmt.app.net.NODFile.write(NODFile.java:72)
        at
uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:205)
        at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:96)
        at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:61)
        at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:186)
        at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:184)
        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)
I'm not sure max-nodes is related with the problem, but yesterday I
could compile France map reducing to 1300000, but now I can't make the
maps even with 400000. I had always used default max-nodes till now. I
also tried  with mkgmap downloaded from the web instead of my compiled
one, thinking it could be a problem of my build, but didn't help. I have
not changed any parameter in my script.
As you can imagine, I have no java skills, so any hint is welcome.
Regards
Carlos



More information about the mkgmap-dev mailing list