-
Notifications
You must be signed in to change notification settings - Fork 339
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
feat: adding independent geometry for each step #873
base: master
Are you sure you want to change the base?
feat: adding independent geometry for each step #873
Conversation
Adding geometry in steps
…adding-geometry-in-steps
Adding geometry in steps
…:DhiegoHenriqueA/vroom-rotaexata into geometry-in-steps
Merge commit 'e471524bf1bc55561aa47919cc541216d3dfd814' of github.com…
feat: adding independent geometry for each step
Thanks for the PR, I totally get it is useful to be able to split the final
I wonder if we could have a simple way to simply find the rank of each step in the fully decoded geometry. This way we could add a simple |
I understood your offered option, it makes total sense thinking about performance and data reduction, but would you be able to find out the geometry divider index between one leg and another without passing the steps=true? |
No, I did not actually check whether this is doable with OSRM without adding |
Do you think it's worth adding this option to the project? We could add a new parameter in the vroom to return the geometry and just in this case look for the steps resource in OSRM. |
I mentioned adding
Yes, I think providing the ability to chunk the whole geometry into route legs between steps is a useful addition to the description of the solution we provide. |
To improve the application, do you think it's necessary to add a new boolean parameter in the VROOM to return the geometry of each step? or do we leave it for all cases? And in the return we will only add a |
Yes, only adding a If the overhead of getting the index values is marginal, it would be simpler to add that by default whenever the geometry is requested (choice already possible using the |
Yes, it seems to be easy to do that, as soon as I have time I'll do it and update the pull request. |
Issue
adding independent geometry for each step
Tasks
docs/API.md
(remove if irrelevant)CHANGELOG.md
(remove if irrelevant)