logo separator

[mkgmap-dev] splitter that generates problem list

From toc-rox easyclasspage at googlemail.com on Sun Nov 4 13:50:07 GMT 2012

Splitting the current geofabrik extract for italy fails with an exception:

java -Xmx6000M -jar
/home/kto/Freizeitkarte-Entwicklung/tools/splitter-r214/splitter.jar
--geonames-file=/home/kto/Freizeitkarte-Entwicklung/cities/cities15000.zip
--mixed --no-trim --overlap=0 --keep-complete --mapid=63800001
--max-nodes=600000 --output=xml
--output-dir=/home/kto/Freizeitkarte-Entwicklung/work/Freizeitkarte_Italien
/home/kto/Freizeitkarte-Entwicklung/source/Freizeitkarte_Italien.osm.pbf
cache=
description=
geonames-file=/home/kto/Freizeitkarte-Entwicklung/cities/cities15000.zip
keep-complete=true
mapid=63800001
max-areas=255
max-nodes=600000
max-threads=4 (auto)
mixed=true
no-trim=true
output=xml
output-dir=/home/kto/Freizeitkarte-Entwicklung/work/Freizeitkarte_Italien
overlap=0
problem-file=
resolution=13
split-file=
status-freq=120
write-kml=
...
MAP occupancy: 105,000,000, number of area dictionary entries: 1681 of 65535
Map details: HashMap -> 8 vectors for 3,715,420 chunks(vector usage < 12%)
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3
	at
uk.me.parabola.splitter.SparseLong2IntMapInline.fillCurrentChunk(SparseLong2IntMapInline.java:167)
	at
uk.me.parabola.splitter.SparseLong2IntMapInline.put(SparseLong2IntMapInline.java:301)
	at
uk.me.parabola.splitter.ProblemsListGenerator.processWay(ProblemListGenerator.java:154)
	at
uk.me.parabola.splitter.BinaryMapParser.parseWays(BinaryMapParser.java:170)
	at crosby.binary.BinaryParser.parse(BinaryParser.java:121)
	at crosby.binary.BinaryParser.handleBlock(BinaryParser.java:68)
	at crosby.binary.file.FileBlock.process(FileBlock.java:135)
	at crosby.binary.file.BlockInputStream.process(BlockInputStream.java:34)
	at uk.me.parabola.splitter.Main.processMap(Main.java:530)
	at uk.me.parabola.splitter.Main.genProblemLists(Main.java:407)
	at uk.me.parabola.splitter.Main.split(Main.java:210)
	at uk.me.parabola.splitter.Main.start(Main.java:138)
	at uk.me.parabola.splitter.Main.main(Main.java:127)

Remark: Same result with "--overlap=10000".

Regards Klaus



--
View this message in context: http://gis.19327.n5.nabble.com/splitter-that-generates-problem-list-tp5734014p5734080.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.



More information about the mkgmap-dev mailing list