Code Monkey home page Code Monkey logo

Comments (2)

agrenott avatar agrenott commented on June 13, 2024

I've been able to reproduce on Africa dataset. It indeed looks like an integer overflow:

java -jar /mnt/g/git/garmin_mtb/tools/splitter-r653/splitter.jar africa_lon-27.26_66.72lat-60.32_37.78_view1,view3,srtm3v3.0.osm.pbf
...
2,120,000,000 nodes parsed... id=2129999999
2,130,000,000 nodes parsed... id=2139999999
2,140,000,000 nodes parsed... id=-2144967297
2,150,000,000 nodes parsed... id=-2134967297
...
2,110,000,000 nodes parsed... id=2119999999
2,120,000,000 nodes parsed... id=2129999999
2,130,000,000 nodes parsed... id=2139999999
Error: Node ids are not sorted. Use e.g. osmosis to sort the input data.
This is not supported with keep-complete=true or --problem-list
uk.me.parabola.splitter.SplitFailedException: Node ids are not sorted
        at uk.me.parabola.splitter.MultiTileProcessor.storeCoord(MultiTileProcessor.java:497)
        at uk.me.parabola.splitter.MultiTileProcessor.processNode(MultiTileProcessor.java:126)
        at uk.me.parabola.splitter.AbstractMapProcessor.consume(AbstractMapProcessor.java:82)
        at uk.me.parabola.splitter.OSMFileHandler.execute(OSMFileHandler.java:157)
        at uk.me.parabola.splitter.ProblemLists.calcMultiTileElements(ProblemLists.java:255)
        at uk.me.parabola.splitter.Main.useProblemLists(Main.java:503)
        at uk.me.parabola.splitter.Main.start(Main.java:127)
        at uk.me.parabola.splitter.Main.main(Main.java:81)

from pyhgtmap.

extremecarver avatar extremecarver commented on June 13, 2024

Can confirm, best push a new stable version. This would be the first stable version that works correctly with big areas!
And yes it's a big improvment over the original phygtmap that was much slower, and used more RAM.
Both version 3.0 and 3.1 were still affected by this (and other) bugs.

from pyhgtmap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.