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

Is there a way to capture missing road/dotted lines in VROOM? #1171

Open
TusharB31 opened this issue Oct 22, 2024 · 5 comments
Open

Is there a way to capture missing road/dotted lines in VROOM? #1171

TusharB31 opened this issue Oct 22, 2024 · 5 comments
Labels

Comments

@TusharB31
Copy link

We are using OSM with VROOM. But OSM has missing road network where it shows dotted line. Is there a way to capture such dotted lines in VROOM?

@jcoupey
Copy link
Collaborator

jcoupey commented Oct 23, 2024

OSM has missing road network where it shows dotted line

Can you be a bit more specific: what is your workflow and in which context do you actually see "dotted lines"?

@TusharB31
Copy link
Author

My current workflow is as follow:

  1. we are using VROOM with OSRM and OSM.
  2. We have developed our custom program on top of it.
  3. Getting the distance Matrix using OSM.

We are using OSRM "https://map.project-osrm.org/" for plotting locations dynamically in GIS view. But, it shows dotted lines wherever the road between two locations is missing or if there is partial road available then it creates dotted line till location from the road not available.

@jcoupey
Copy link
Collaborator

jcoupey commented Oct 24, 2024

This has nothing to do with VROOM. What happens is that OSRM, or any other routing engine, will snap your input location to the nearest relevant road segment (see OSRM nearest endpoint). The frontend just shows a straight dotted line between your input location and the matching road segment. It's not a "missing road", just a sign that your locations are a bit away from the network.

@TusharB31
Copy link
Author

Yes, It just shows the dotted sign. But is it possible to capture such locations in the Vroom code?

@jcoupey
Copy link
Collaborator

jcoupey commented Oct 24, 2024

is it possible to capture such locations in the Vroom code

Not sure what you mean exactly.

The snapping happens at the routing level, so totally outside of VROOM. If you have a lot of distance between your locations and the road network, you may want to improve your geocoding or find a better snapping mechanism in the first place.

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

No branches or pull requests

2 participants