Coder Social home page Coder Social logo

Comments (15)

easbar avatar easbar commented on May 22, 2024 1

Ok sure its probably also not a real problem. If some issues are auto-closed we can just re-open them. But do the commit hashes really stay the same even when porting the map-matching repo to here?

from graphhopper.

karussell avatar karussell commented on May 22, 2024 1

Yes. Or at least they did it with the method I used for the navigation pull request. See e.g. the first commit here: https://github.com/graphhopper/graphhopper/pull/2071/commits -> 6c03fdd -> graphhopper/graphhopper-navigation@6c03fdd

from graphhopper.

karussell avatar karussell commented on May 22, 2024

One can now preprocess the graph to create shortcuts (contraction hierarchy) - call OSMReader with osmreader.levelgraph=true and osmreader.chShortcuts=fastest. In addition to this you need to call new LevelGraphStorage with an MMapDirectory. This way it was possible for me today to successfully perform a 500km query on android with only ~15MB (32MB were allocated) within about a minute. Still this is improvable but the base is created. Keep in mind with contraction hierarchy we do not apply any heuristics to achieve this, 'just' clever shortcuts!

from graphhopper.

karussell avatar karussell commented on May 22, 2024

There is also beam search

from graphhopper.

karussell avatar karussell commented on May 22, 2024

Reopening in order to implement memory limitating algorithms. Also look at #104 for possible hard abort condition

from graphhopper.

karussell avatar karussell commented on May 22, 2024

Found an implementation of ID A* in Java and under Apache License https://github.com/citiususc/hipster/blob/development/hipster-core/src/main/java/es/usc/citius/hipster/algorithm/IDAStar.java

from graphhopper.

karussell avatar karussell commented on May 22, 2024

For none-CH requests one can now increase the heuristical nature and improve speed by a factor of at least 2. See #506

from graphhopper.

easbar avatar easbar commented on May 22, 2024

Almost eight years later issue #1 got closed 😄

from graphhopper.

karussell avatar karussell commented on May 22, 2024

Oh, why ... (ah, the commits of #2071 had a link to the issue #1 of the navigation repo ... )

from graphhopper.

easbar avatar easbar commented on May 22, 2024

Uh yeah there was a commit in the navigation repo that closed issue number 1 of the navigation repository:

image

and now we had this commit here it closed issue number 1 of this repository. Btw were there other issue references (in comments etc.) pointing to navigation issues? For map matching we should also check this and maybe change comments like

// this is a comment, see #6586

to

// this is a comment, see map-matching/#6586

from graphhopper.

boldtrn avatar boldtrn commented on May 22, 2024

Oh no, that's really unfortunate. I guess there will be multiple comments like this in the MapMatching Repo?

from graphhopper.

easbar avatar easbar commented on May 22, 2024

Yes, but in the navigation code there weren't any. For map-matching we should not forget about this. But actually we should be a bit careful because I think we decided not to squash the map-matching commits (to preserve history) and there might be some commits that auto-fix some issues :)

from graphhopper.

karussell avatar karussell commented on May 22, 2024

maybe change comments like

We cannot change commit messages without changing the history that could break other things.

from graphhopper.

easbar avatar easbar commented on May 22, 2024

We cannot change commit messages without changing the history that could break other things.

I meant we should change comments in the code. But even if there is something like fixes #256 in a commit message we could change the commit message when we are merging map-matching? It would not be possible in the map-matching repository, but when we merge it here its no problem to change the commits (they are just new commits for this repository, nothing existing is changed)?

from graphhopper.

karussell avatar karussell commented on May 22, 2024

I do not like rewriting history for map matching that much as e.g. we would not be able to easily find map matching commits in the graphhopper repo and maybe other disadvantages. E.g. when linking to commits like [here](graphhopper/map-matching#40 (comment) although this is rather rare (found 4 issues).

from graphhopper.

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.