Comments (8)
An example from the OSM wiki:
It's locked, yet still passable for bikes and pedestrians.
from graphhopper.
I know how this is meant. It is still discussable if this is the same way where it is passable. So IMO in the photo this would be two different ways and locked=yes means inaccessible for all transportation modes.
from graphhopper.
Seems like a tagging mistake to me:
https://maps.app.goo.gl/yw1dCcgVTrKYRFBo7
from graphhopper.
If bikes are allowed and pedestrians can walk freely then yes to both but not a vehicle.
from graphhopper.
I asked question about this on forum https://discuss.graphhopper.com/t/barrier-lift-gate-is-blocking-bike/8398
I have similar node near me (Poland) which blocks routing through official cycling route.
I would vote for ignoring locked=yes
if there is [access]=yes
.
from graphhopper.
Probably the majority of mappers uses locked=yes
as equivalent to access=no
and in such a case we would also let it through for bicycle=yes
.
from graphhopper.
I did this change in my fork to allow bicycles when there is locked=yes
. Maybe something like this could go to the main branch?
if (restrictedValues.contains(firstValue))
return true;
else if (node.hasTag("locked", "yes") && !intendedValues.contains(firstValue))
return true;
from graphhopper.
I think that one also needs to take the transportation mode into regard. See master...ratrun:biketourplanner:issue2982 for a draft
from graphhopper.
Related Issues (20)
- Please provide better upgrade instructions between major versions HOT 7
- Route: Legs information empty in Java API
- Isochrone: No buckets when using public transport
- I just finished translating all zh_CN & zh_HK HOT 1
- Default bicycle profile ignoring turn restrictions? HOT 2
- Tags vehicle=no + bicycle:conditional=yes@… should trigger warning instead of failing to route in cycle profiles HOT 3
- Bike priority determination problem for tag combination of `cycleway:left` and `cycleway:right`
- GHUtility's method not found
- LMApproximator overhead HOT 3
- Benchmark stops with PointOutOfBoundsException HOT 5
- make `edges` byte-based
- highway=cycleway + access=no + bicycle=NULL is used for routing HOT 7
- Default MaxWeight resolution is insufficient for truck routing HOT 11
- bad u-turn on road with turn restriction HOT 4
- correctness vs. speed: astarbi.epsilon
- Snapping to turn restriction via-edges yields bad routes HOT 2
- bike should better avoid primary roads HOT 1
- bike should preffer more footways with bicycle=yes HOT 5
- Allow to route through highway=construction HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphhopper.