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

The Issues in Understanding OSRM Graph Representation #12

Open
freshFishhh opened this issue Nov 6, 2023 · 3 comments
Open

The Issues in Understanding OSRM Graph Representation #12

freshFishhh opened this issue Nov 6, 2023 · 3 comments

Comments

@freshFishhh
Copy link

I need some help guys. I cant understand that the 'Basic Changes of Convert OSM to OSRM Edge-expanded Graph' in 'Understanding OSRM Graph Representation'. In my opinion, the segment with particular is a node in OSRM graph,but the last figure in 'Basic Changes of Convert OSM to OSRM Edge-expanded Graph' is not clear. Blue points represent the OSM point, and a segment between to OSM points equals a edge in graph, why the red line(a segement) include two black points? And I think its contradicting.

@freshFishhh
Copy link
Author

please!!!

@wangyoucao577
Copy link
Contributor

Have a look at Process of Convert OSM to OSRM Edge-expanded Graph. The OSRM Edge-expanded graph generally means abstract OSM Way to Graph Node. Each OSM Way has two directions, so each direction is a Graph Node. Go back to your question, actually each black point is a directed OSM way.

@freshFishhh
Copy link
Author

I have understood this issue by your kind help. I am learning how the data converting to OSRM graph by extractor and contractor (especially the code of car.lua), which is so complex for me. Thanks for you help, and I may bother you again.

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

2 participants