logo separator

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

From Gerd Petermann GPetermann_muenchen at hotmail.com on Sat Apr 1 06:39:28 BST 2017

Hi Carlos,

this problem is fixed with r3874.  It was introduced with the merge from the split-shape branch.
Not sure why it only occurs with this special style.

Gerd
________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Carlos Dávila <cdavilam at orangecorreo.es>
Gesendet: Freitag, 31. März 2017 20:17:47
An: Development list for mkgmap
Betreff: [mkgmap-dev] AssertionError with custom style and --housenumbers

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

_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list