logo separator

[mkgmap-dev] AssertionError with custom style and --housenumbers

From Carlos Dávila cdavilam at orangecorreo.es on Fri Mar 31 19:17:47 BST 2017

I'm getting the error below compiling a single tile with the following 
command:

java -Xmx2500m -ea -jar mkgmap.jar --output-dir=./tmp 
--bounds=bounds.zip --precomp-sea=sea.zip --max-jobs --route --latin1 
--code-page=1252 --index --housenumbers --style=truck 55139114.o5m

java.lang.AssertionError
         at 
uk.me.parabola.imgfmt.app.net.RoadIndex.write(RoadIndex.java:45)
         at 
uk.me.parabola.imgfmt.app.net.RoadDef.writeLevelDivs(RoadDef.java:361)
         at 
uk.me.parabola.imgfmt.app.net.RoadDef.writeNet1(RoadDef.java:230)
         at uk.me.parabola.imgfmt.app.net.NETFile.write(NETFile.java:66)
         at 
uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:263)
         at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:107)
         at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:69)
         at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:263)
         at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:259)
         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
         at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
         at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
         at java.lang.Thread.run(Thread.java:745)

Removing --housenumbers tile compiles fine. What is causing the error is 
the absence of the following rule in lines file:

# Mop up any unrecognised highway types
highway=* & area!=yes [0x07 road_class=0 road_speed=0 resolution 23]

Input data: http://alternativaslibres.org/files/tmp/55139114.o5m



More information about the mkgmap-dev mailing list