logo separator

[mkgmap-dev] latin1 an index creation ---- ONLY WHEN USING THE INDEX BRANCH

From Felix Hartmann extremecarver at gmail.com on Wed Jun 20 09:42:39 BST 2012

Note: the following error only happens using the index branch, if I use 
trunk it compiles fine.

I continue here, because I get exactly the same error message, it is not 
related to missing --latin1 however:
(for me it happens on several countries, though most go through fine. 
Smallest Geofabrik extract affected is slovakia, but also Germany, 
Bayern, Sachsen, and some others break due to this bug  -- adding 
code-page=1252 in front of --latin1 doesn't help)

c:\OpenMTBMap\maps>start /low /b /wait java -jar -Xms4000M -Xmx7000M 
c:\openmtbmap\mkgmap.jar --max-jobs=4 --generate-sea --latin1 
"--style-file=c:\openmtbmap\new4"  --nsis --index --
transparent --adjust-turn-headings --add-pois-to-areas 
--ignore-maxspeeds --reduce-point-density=3 
--x-reduce-point-density-polygon=6 --link-pois-to-ways 
--precomp-sea=c:\openmtbmap\maps\sea --ignore-
turn-restrictions --min-size-polygon=14 --remove-short-arcs=4 
--description=openmtbmap_sk --show-profiles=0 --merge-lines 
--location-autofill=bounds,is_in,nearest 
--bounds=c:\openmtbmap\maps\bounds -
-route --country-abbr=sk --country-name=slovakia --mapname=64090000 
--family-id=6409 --product-id=1 
--series-name=openmtbmap_slovakia_20.06.2012 
--family-name=mtbmap_sk_20.06.2012 --tdbfile --overview
-mapname=mapsetx --keep-going 
--area-name="slovakia_20.06.2012_openmtbmap.org" -c 
c:\openmtbmap\maps\template.slovakia   1>NUL
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -63
         at 
uk.me.parabola.imgfmt.app.srt.Sort$SrtCollator$PositionIterator.next(Sort.java:468)
         at 
uk.me.parabola.imgfmt.app.srt.Sort$SrtCollator.compareOneStrength(Sort.java:396)
         at 
uk.me.parabola.imgfmt.app.srt.Sort$SrtCollator.compare(Sort.java:363)
         at 
uk.me.parabola.imgfmt.app.mdr.PrefixIndex.createFromList(PrefixIndex.java:73)
         at 
uk.me.parabola.imgfmt.app.mdr.PrefixIndex.createFromList(PrefixIndex.java:99)
         at uk.me.parabola.imgfmt.app.mdr.Mdr17.addPois(Mdr17.java:100)
         at 
uk.me.parabola.imgfmt.app.mdr.MDRFile.writeSections(MDRFile.java:301)
         at uk.me.parabola.imgfmt.app.mdr.MDRFile.write(MDRFile.java:258)
         at 
uk.me.parabola.mkgmap.combiners.MdrBuilder.onFinish(MdrBuilder.java:365)
         at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:440)
         at 
uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:126)
         at uk.me.parabola.mkgmap.main.Main.main(Main.java:114)




More information about the mkgmap-dev mailing list