[mkgmap-dev] Splitter Error
From Chris Miller chris.miller at kbcfp.com on Tue Sep 8 20:21:44 BST 2009
It looks like there is a latitude value in your file that contains a large number of significant figures (far more than is actually required) and the parsing is failing on it. I just checked in a change that will hopefully solve the problem for you (r88) however I'd be interested in seeing the osm file that caused this problem. Is it possible to get a copy of your osm file? Chris RK> Hi, RK> RK> when I try to split a OSM file which contains only contour lines RK> made with srtm2osm (1.8.14.10) I get this error: RK> RK> [splitter-r83]$java -Xmx2048M -jar splitter.jar --mapid=21000001 RK> --mixed=yes --cache=./cache/ --max-nodes=50000 srtm_test.osm RK> Time started: Tue Sep 08 20:03:15 CEST 2009 RK> mapid = 21000001 RK> mixed = yes RK> cache = ./cache/ RK> max-nodes = 50000 RK> Checking for an existing cache and verifying contents... RK> No suitable cache was found. A new cache will be created to speed up RK> the RK> splitting stage RK> Map is being split for resolution 13: RK> - area boundaries are aligned to 0x800 map units RK> - areas are multiples of 0x1000 map units wide and high RK> Processing srtm_test.osm RK> Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: RK> 14 RK> at RK> uk.me.parabola.splitter.Convert.parseDouble(Convert.java:163) RK> at RK> uk.me.parabola.splitter.OSMParser.startNode(OSMParser.java:137) RK> at RK> uk.me.parabola.splitter.OSMParser.startElement(OSMParser.java:98) RK> at RK> uk.me.parabola.splitter.AbstractXppParser.parse(AbstractXppParser.ja RK> va:42) RK> at RK> uk.me.parabola.splitter.Main.processOsmFiles(Main.java:334) RK> at uk.me.parabola.splitter.Main.processMap(Main.java:323) RK> at RK> uk.me.parabola.splitter.Main.calculateAreas(Main.java:225) RK> at uk.me.parabola.splitter.Main.split(Main.java:132) RK> at uk.me.parabola.splitter.Main.main(Main.java:91) RK> The file is rather small, just 1x1 deg, 165 MB. RK> RK> Any ideas? RK>
- Previous message: [mkgmap-dev] Splitter Error
- Next message: [mkgmap-dev] Splitter Error
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list