logo separator

[mkgmap-dev] Error splitting SRTM data

From Carlos Dávila cdavilam at orangecorreo.es on Wed Sep 14 08:49:24 BST 2011

I get the error below splitting SRTM of Spain. My commands:
mono Srtm2Osm.exe -bounds1 35.99 -9.501 43.79 4.6 -step 10 -cat 100 20 
-large -corrxy 0.0005 0.0005 -o srtm_peninsula.osm
java -Xmx2000m -jar ../../osmosis/osmosis-0.24.1-java5/osmosis.jar --rx 
enableDateParsing=no srtm_peninsula.osm --bounding-polygon 
file="/home/carlos/SIG/10m-admin-0-countries/spain.poly" --wx srtm_spain.osm
java -Xmx2500M -jar /home/carlos/Paquetes/mkgmap/dist/splitter.jar 
--mapid=65140001 --mixed=true --max-nodes=6500000 --description="SRTM 
Spain" srtm_spain.osm

Error:
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index 
(31250079) is greater than or equal to list size (31250001)
         at 
it.unimi.dsi.fastutil.objects.ObjectArrayList.get(ObjectArrayList.java:258)
         at 
uk.me.parabola.splitter.SparseInt2ShortMapInline.put(SparseInt2ShortMapInline.java:128)
         at 
uk.me.parabola.splitter.SparseInt2ShortMultiMap$Inner.put(SparseInt2ShortMultiMap.java:81)
         at 
uk.me.parabola.splitter.SparseInt2ShortMultiMap.put(SparseInt2ShortMultiMap.java:31)
         at 
uk.me.parabola.splitter.SplitProcessor.writeNode(SplitProcessor.java:209)
         at 
uk.me.parabola.splitter.SplitProcessor.processNode(SplitProcessor.java:118)
         at uk.me.parabola.splitter.OSMParser.endElement(OSMParser.java:243)
         at 
uk.me.parabola.splitter.AbstractXppParser.parse(AbstractXppParser.java:57)
         at uk.me.parabola.splitter.Main.processMap(Main.java:412)
         at uk.me.parabola.splitter.Main.writeAreas(Main.java:368)
         at uk.me.parabola.splitter.Main.split(Main.java:190)
         at uk.me.parabola.splitter.Main.start(Main.java:118)
         at uk.me.parabola.splitter.Main.main(Main.java:107)
Any idea how to get it work?



More information about the mkgmap-dev mailing list