logo separator

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

From Gerd Petermann GPetermann_muenchen at hotmail.com on Fri Mar 31 19:43:36 BST 2017

Hi Carlos,

I was not able to reproduce this error.
I created a copy of the default style and commented the line you mentioned.
I used your options with this style (with and without option --preserve-element-order).
I used r3873 for my test and older bounds and sea files.
If you think those are needed, please let me know where I can download the version you used.

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