logo separator

[mkgmap-dev] Unable to build unicode map with index

From Carlos Dávila carlos at alternativaslibres.org on Tue Sep 22 09:45:25 BST 2020

Hello all

I am trying to build an unicode map of Israel or Greece but they always 
fail with java.lang.AssertionError as soon as I add --index to command 
line. I have tried both my own style and default one. Only if I use an 
small osm file as input it succeeds. The simplest command line that 
throws the error is:

java -Xmx3G -ea -jar mkgmap_trunk.jar --bounds=bounds.zip --route 
--unicode --family-name="Test" --family-id=190 --product-id=1 
--description="Test" --series-name="Test" --overview-mapname=55190000 
--mapname=55190000 --index --style=default --remove-ovm-work-files=true 
51178007.o5m
Time started: Tue Sep 22 10:37:47 CEST 2020
Number of MapFailedExceptions: 0
Exception in thread "main" java.lang.AssertionError: 914
         at 
uk.me.parabola.imgfmt.app.FileBackedImgFileWriter.put1u(FileBackedImgFileWriter.java:166)
         at uk.me.parabola.imgfmt.app.mdr.Mdr8.writeSectData(Mdr8.java:45)
         at 
uk.me.parabola.imgfmt.app.mdr.MDRFile.writeSection(MDRFile.java:421)
         at 
uk.me.parabola.imgfmt.app.mdr.MDRFile.writeSections(MDRFile.java:373)
         at uk.me.parabola.imgfmt.app.mdr.MDRFile.write(MDRFile.java:269)
         at 
uk.me.parabola.mkgmap.combiners.MdrBuilder.onFinish(MdrBuilder.java:334)
         at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:675)
         at 
uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:125)
         at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:144)
         at uk.me.parabola.mkgmap.main.Main.main(Main.java:115)

Test files can be found are 51178007.o5m 
<https://alternativaslibres.org/tmp/51178007.o5m> and jerusalem.o5m 
<https://alternativaslibres.org/tmp/jerusalem.o5m>



More information about the mkgmap-dev mailing list