[mkgmap-dev] Splitter Crash
From News news at pointdee.co.uk on Fri Jul 19 16:39:55 BST 2013
For additional info if I use --keep-complete=false then the input files are processed without error so although I have a solution it would be better if splitter died gracefully. Thanks Paul On 16/07/13 22:51, News wrote: > 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) > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev >
- Previous message: [mkgmap-dev] Splitter Crash
- Next message: [mkgmap-dev] Splitter Crash
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list