[mkgmap-dev] Splitter Crash
From News news at pointdee.co.uk on Tue Jul 16 22:51:44 BST 2013
I'm getting the following error when trying to split some large .osm files containing contour data. After generating the contour files I preprocess them and then split them so it's most likely an error in my preprocesing but I can't track it down. Additionally this only happens if the input file needs splitting i.e if I tweak the contour file size and the --max-nodes option to the point that the input file doesn't actually need splitting then splitter continues through the file and all is well but this approach isn't feasible for what I need to achieve. Command line is:- java -Xmx1024M -jar splitter.jar --mapid=12345001 --max-nodes=200000 --output=xml input.osm Any pointers as to where to look would be appreciated. Thanks Paul Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 2147483647, Size: 6 at java.util.ArrayList.rangeCheck(ArrayList.java:604) at java.util.ArrayList.get(ArrayList.java:382) at uk.me.parabola.splitter.WriterDictionaryInt.getBitSet(WriterDictionaryInt.java:85) at uk.me.parabola.splitter.SplitProcessor.writeNode(SplitProcessor.java:297) at uk.me.parabola.splitter.SplitProcessor.processNode(SplitProcessor.java:102) at uk.me.parabola.splitter.OSMParser.endElement(OSMParser.java:219) at uk.me.parabola.splitter.AbstractXppParser.parse(AbstractXppParser.java:61) at uk.me.parabola.splitter.Main.processMap(Main.java:831) at uk.me.parabola.splitter.Main.writeAreas(Main.java:769) at uk.me.parabola.splitter.Main.split(Main.java:277) at uk.me.parabola.splitter.Main.start(Main.java:162) at uk.me.parabola.splitter.Main.main(Main.java:146)
- Previous message: [mkgmap-dev] Commit: r2656: area_size() returns the whole multipolygon size for mp members
- Next message: [mkgmap-dev] Splitter Crash
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list