Comments (7)
Currently we are treating access=no
and vehicle=no
the same way with allowing this segment for bicycles. But according to https://wiki.openstreetmap.org/wiki/Tag:access%3Dno the intention of access=no
is stronger. While on a segment tagged as vehicle=no
it is still possible and legal to dismount and push for access=no
this is not the case. So I think that this problem report is valid and we should change it. I'm going to prepare a PR if there aren't any objections.
from graphhopper.
Have also thought about this like using foot_access
in a custom model as exception when bike_access
is false
but there are several cases where is does not work like for steps or bad surfaces or a too big hike_rating
(sac_scale
) etc.
from graphhopper.
See discussion in #870. Maybe @ratrun can comment on this.
Anyway, the discussion about the tagging above is valid. I'm going to prepare a change to accept highway=cycleway toghether with vechicle=no. We should allow this for bicyles. Cycleways under construction should be tagged with with highway=construction
from graphhopper.
Access parsing aside, the road isn't tagged properly IMHO. This should be highway=construction
+ construction=cycleway
as explained in the OSM wiki:
from graphhopper.
And should we remove the special case way.hasTag("highway", "cycleway"))
in BikeCommonAccessParser? And then consider the "dismount" for vehicle=no in OSMGetOffBikeParser and BikeCommonAverageSpeedParser?
from graphhopper.
And should we remove the special case way.hasTag("highway", "cycleway"))
I extended the check there in my first version of the PR, see #2981
And then consider the "dismount" for vehicle=no in OSMGetOffBikeParser and BikeCommonAverageSpeedParser?
Yes that is a good idea. I'll try to extend the PR.
from graphhopper.
And then consider the "dismount" for vehicle=no
Broadly speaking, we should do this for all cases where foot access is allowed but biking isn't.
from graphhopper.
Related Issues (20)
- Routing wrong if change edge encoder access at caculate weight edge HOT 2
- opening_hours is ignored for way HOT 5
- 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
- should locked=yes have lower priority? HOT 4
- Default MaxWeight resolution is insufficient for truck routing HOT 11
- bad u-turn on road with turn restriction
- correctness vs. speed: astarbi.epsilon
- Snapping to turn restriction via-edges yields bad routes HOT 2
- bike should better avoid primary roads HOT 1
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.