You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support :backward and :forward direction restrictions #205
Do you found a specific problem (link)? maxspeed* should be already properly handled, lanes* is something we currently do not take into account at all.
changed the title [-]Support :backward and :forward direction restrctions[/-][+]Support :backward and :forward direction restrictions[/+]on Aug 18, 2014
The lane support is a different issue (feel free to create one). The other requests (restriction and maxspeed) is now implemented. Will be live tomorrow.
Hmmh, we should apply different speeds if they differ. Currently we just take the minimum value, thanks @jansoe for pointing me to this again :)
Therefor we need a similar behaviour like with Bike2WeightFlagEncoder which allows storing two weights per edge. As this has significant impact on hardware requirement for the speed-up mode we should make this a configurable. Reopening but moving to another release.
We already had motor_vehicle:backward/forward implemented and yesterday I implemented the maxspeed:backward/forward handling for car (#2727).
The remaining bit is regarding lanes. Have a look into OSMLanesParser and you would need to set the lanes EncodedValue to storeTwoDirections=true.
See also #1269 for a PR that needs to be adapted to the current code, which added full lane support. This would be nice and something you could work on.
We already had motor_vehicle:backward/forward implemented and yesterday I implemented the maxspeed:backward/forward handling for car (#2727).
The remaining bit is regarding lanes. Have a look into OSMLanesParser and you would need to set the lanes EncodedValue to storeTwoDirections=true.
See also #1269 for a PR that needs to be adapted to the current code, which added full lane support. This would be nice and something you could work on.
Activity
karussell commentedon May 14, 2014
Do you found a specific problem (link)? maxspeed* should be already properly handled, lanes* is something we currently do not take into account at all.
dubyk commentedon May 14, 2014
http://www.openstreetmap.org/way/279960188 (motor_vehicle:backward=no, movement for cars only from top to down)
but
http://graphhopper.com/maps/?point=49.545888%2C25.617456&point=49.548992%2C25.618272&vehicle=CAR
https://www.openstreetmap.org/way/23374149 (motor_vehicle:backward=no, movement for cars only from left to right)
but
http://graphhopper.com/maps/?point=46.50937%2C6.494422&point=46.509156%2C6.493725
karussell commentedon May 17, 2014
Thanks, I'll have a look!
[-]Support :backward and :forward direction restrctions[/-][+]Support :backward and :forward direction restrictions[/+]karussell commentedon Mar 3, 2015
The lane support is a different issue (feel free to create one). The other requests (restriction and maxspeed) is now implemented. Will be live tomorrow.
karussell commentedon Mar 3, 2015
Hmmh, we should apply different speeds if they differ. Currently we just take the minimum value, thanks @jansoe for pointing me to this again :)
Therefor we need a similar behaviour like with Bike2WeightFlagEncoder which allows storing two weights per edge. As this has significant impact on hardware requirement for the speed-up mode we should make this a configurable. Reopening but moving to another release.
jessLryan commentedon Jan 17, 2023
I would like to contribute but I can't quite work out what the remaining issues are, is anyone still working on this?
karussell commentedon Jan 18, 2023
We already had motor_vehicle:backward/forward implemented and yesterday I implemented the maxspeed:backward/forward handling for car (#2727).
The remaining bit is regarding lanes. Have a look into OSMLanesParser and you would need to set the
lanesEncodedValue to storeTwoDirections=true.See also #1269 for a PR that needs to be adapted to the current code, which added full lane support. This would be nice and something you could work on.
jessLryan commentedon Jan 19, 2023
Thanks so much, I'll have a go :-)
Vinay00018 commentedon Nov 14, 2024
hey I want to contribute to this project ,how can i do
karussell commentedon Nov 14, 2024
Please read through https://github.com/graphhopper/graphhopper/blob/master/CONTRIBUTING.md
(and questions should go to our forum: https://discuss.graphhopper.com/)
karussell commentedon Nov 14, 2024
I'll close here as everything seems to be fixed. If there is a more specific demand please create a new issue.
Vinay00018 commentedon Nov 14, 2024
I am doing this for the first time
I cant able to understand these things
karussell commentedon Nov 14, 2024
For questions please use our forum. For a github introduction use: https://docs.github.com/get-started
Update to node gallium lts (graphhopper#205)