logo separator

[mkgmap-dev] [Patch v8] splitter optimization

From Thorsten Kukuk kukuk at suse.de on Thu Dec 1 13:33:46 GMT 2011

Hi,

On Wed, Nov 30, Gerd Petermann wrote:

> 
> Hi,
> 
> yes, it's ready and I do not plan further changes. 

somewhere there is now a bug in splitter. With r191 and r193
I get this one if I try to split the SRTM data for DACH area:

120.000.000 nodes processed... id=240833204
130.000.000 nodes processed... id=359663733
1.000.000 ways processed... id=369464864
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
        at java.util.ArrayList.get(ArrayList.java:324)
        at java.util.Collections$UnmodifiableList.get(Collections.java:1154)
        at uk.me.parabola.splitter.BinaryMapParser.parseWays(BinaryMapParser.java:95)
        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:404)
        at uk.me.parabola.splitter.Main.calculateAreas(Main.java:288)
        at uk.me.parabola.splitter.Main.split(Main.java:164)
        at uk.me.parabola.splitter.Main.start(Main.java:119)
        at uk.me.parabola.splitter.Main.main(Main.java:108)


This worked fine with splitter r181 and r185.

  Thorsten

-- 
Thorsten Kukuk, Project Manager/Release Manager SLES
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)



More information about the mkgmap-dev mailing list