[mkgmap-dev] Splitter Crash
From Gerd Petermann gpetermann_muenchen at hotmail.com on Wed Jul 24 08:43:25 BST 2013
Hi Paul, I have no clue yet. Are you able to reproduce the error when you convert the input file to o5m or osm.pbf first? If yes, please upload the file and send a link. Gerd > Date: Tue, 16 Jul 2013 22:51:44 +0100 > From: news at pointdee.co.uk > To: mkgmap-dev at lists.mkgmap.org.uk > Subject: [mkgmap-dev] Splitter Crash > > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20130724/96a22591/attachment.html
- 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