logo separator

[mkgmap-dev] Splitter: Assertion on very large node id

From Lambertus osm at na1400.info on Tue Mar 1 13:15:02 GMT 2016

Using an o5m file with a huge node-id seems to break splitter-r427:

[..]
3,200,000,000 nodes processed... id=3982721872
3,210,000,000 nodes processed... id=200000782524
Exception in thread "main" java.lang.AssertionError
         at 
uk.me.parabola.splitter.O5mMapParser.readNode(O5mMapParser.java:260)
         at 
uk.me.parabola.splitter.O5mMapParser.readFile(O5mMapParser.java:187)
         at 
uk.me.parabola.splitter.O5mMapParser.parse(O5mMapParser.java:133)
         at uk.me.parabola.splitter.Main.processOSMFiles(Main.java:1396)
         at uk.me.parabola.splitter.Main.processMap(Main.java:908)
         at uk.me.parabola.splitter.Main.calculateAreas(Main.java:599)
         at uk.me.parabola.splitter.Main.split(Main.java:256)
         at uk.me.parabola.splitter.Main.start(Main.java:185)
         at uk.me.parabola.splitter.Main.main(Main.java:155)

The o5m file is a combination of a recent planet dump and an address 
file for France, from here (banco-france-o5m.zip):
https://github.com/ligfietser/mkgmap-style-sheets/tree/master/resources

It looks like a signed 32 bit integer problem? Splitter is running on 
Linux x86_64, Java OpenJDK 1.7.0_95 64-bit (mixed mode).


More information about the mkgmap-dev mailing list