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

Reload graph from previous run #2

Open
jcoupey opened this issue Jan 6, 2017 · 0 comments
Open

Reload graph from previous run #2

jcoupey opened this issue Jan 6, 2017 · 0 comments

Comments

@jcoupey
Copy link

jcoupey commented Jan 6, 2017

The graph is currently loaded from the osm.pbf file using osm4routing: https://github.com/Tristramg/roads-from-nd/blob/master/src/main.rs#L68 ; so the same parsing work is done on each execution.

It could be nice to be able to write down the node and edges files produced by osm4routing. The next execution with different parameters or start node might then get a significant speed-up by only loading the graph in memory from those files.

Another way of doing this would be to just provide an options to load from those files rather than from osm.pbf (and let users generates the files themselves using osm4routing).

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

1 participant