Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osrm data update #2378

Closed
swordOfMiracle opened this issue May 5, 2016 · 2 comments
Closed

osrm data update #2378

swordOfMiracle opened this issue May 5, 2016 · 2 comments

Comments

@swordOfMiracle
Copy link

swordOfMiracle commented May 5, 2016

Can I update a little part of osrm data(I mean a set of files, such as .osrm, .edges, .hsgr etc) without calling osrm-extract/osrm-contract again ?

For example - setting a barrier to the highway and it is becoming not-drivable way.

@danpat
Copy link
Member

danpat commented May 5, 2016

@swordOfMiracle as a general rule, no, not without creating the potential for invalid routes.

OSRM uses the .hsgr for routing. Unfortunately, because of the way Contraction Hierarchies work, if you update something in the original graph, you probably need to re-generate the contracted graph - small changes in the original can lead to large changes in the .hsgr file.

Just today I've opened a separate ticket #2377 to discuss one possible way of supporting a limited set of modifyable edges within the CH without requiring a full re-processing run.

@TheMarex
Copy link
Member

Closing as duplicate of #2377.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants