[mkgmap-dev] Splitter: Assertion on very large node id
From Gerd Petermann GPetermann_muenchen at hotmail.com on Tue Mar 1 13:25:30 GMT 2016
Hi Lambertus, the code in line 260: assert flon >= -180.0 && flon <= 180.0; So it is not related to ids. Gerd ________________________________________ Von: mkgmap-dev-bounces at lists.mkgmap.org.uk <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Lambertus <osm at na1400.info> Gesendet: Dienstag, 1. März 2016 14:15 An: Development list for mkgmap Betreff: [mkgmap-dev] Splitter: Assertion on very large node id 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). _______________________________________________ mkgmap-dev mailing list mkgmap-dev at lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
- Previous message: [mkgmap-dev] Splitter: Assertion on very large node id
- Next message: [mkgmap-dev] Splitter: Assertion on very large node id
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list