Closed JarnoLeConte closed 8 years ago
Thanks!
I would prefer to use public Weighting createWeighting
of the GraphHopper class and also have a test case for this. Would you have the time to make these changes?
Would you have some time to invest into this? Should be easy to refactor and use graphHopper.createWeighting
On second thought, I'm not sure if this change is correct. I'm not sure if the match algorithm behaves properly by changing the weighting. Good tests should be required. At this moment I don't want to investigate in this feature anymore. Maybe at a later moment. A new pull request will be required. I think this pull request can be removed now. It requires further investigation.
Ok, thanks for the feedback. I'll close for now.
Override the default weighting method by adding a property weighting in the HTTP request.
The weighting property could be set to
fastest
orshortest
.Example request: