logo separator

[mkgmap-dev] Splitting srtm.osm fails

From Josef Latt Josef.Latt at gmx.net on Tue Jul 26 10:39:39 BST 2011

No hints?

Am 21.07.2011 08:36, schrieb Josef Latt:
> Hi,
> 
> I get srtm data with 'mono Srtm2Osm.exe -bounds1 47.2 5.8 55.2 15.1
> -step 20 -cat 100 20 -large -corrxy 0.0005 0.0005 -o srtm.osm'
> 
> 
> Splitting (splitter-r179) the data with 'java -ea -Xmx2048M -jar
> /home/jolatt/OSM/splitter/splitter.jar --mapid=21000001 --mixed=yes
> --max-nodes=5000000 srtm.osm' into tiles I get the following error:
> 
> 
> **** WARNING: the default output type has changed to pbf, use
> --output=xml for .osm.gz files
> 
> Elapsed time: 0s   Memory: Current 59MB (1MB used, 58MB free) Max 1820MB
> Time started: Thu Jul 21 08:22:09 CEST 2011
> Map is being split for resolution 13:
>  - area boundaries are aligned to 0x800 map units
>  - areas are multiples of 0x1000 map units wide and high
> Processing srtm.osm
> in 1 file
> Time: Thu Jul 21 08:22:09 CEST 2011
> Exact map coverage is (53.99924039840698,5.800073146820068) to
> (55.20007610321045,8.0000638961792)
> Trimmed and rounded map coverage is (54.0087890625,6.9873046875) to
> (55.2392578125,8.0419921875)
> Splitting nodes into areas containing a maximum of 5.000.000 nodes each...
> Area (54.0087890625,6.9873046875) to (55.2392578125,8.0419921875)
> contains 2.629 nodes. DONE!
> 1 areas:
> Area 21000001 covers (0x266800,0x4f800) to (0x274800,0x5b800)
> Writing out split osm files Thu Jul 21 08:22:09 CEST 2011
> Processing 1 areas in a single pass
> (54.0087890625,6.9873046875) to (55.2392578125,8.0419921875)
> Starting pass 1 of 1, processing 1 areas (21000001 to 21000001)
> Making SparseMultiMap
> Making SparseMultiMap
> Processing srtm.osm
> Exception in thread "main" java.lang.IndexOutOfBoundsException: Index
> (31250001) 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)
> 
> 
> 
> I would try an older version of splitter, but where to download, or is
> there another idea?
> 
> Greetings
> Josef Latt
> 

-- 
PGP Schlüssel: 311D1055
http://keyserver.pgp.com



More information about the mkgmap-dev mailing list