Skip to content
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

Access restriction not observed #178

Closed
simonpoole opened this issue Mar 14, 2012 · 8 comments
Closed

Access restriction not observed #178

simonpoole opened this issue Mar 14, 2012 · 8 comments

Comments

@simonpoole
Copy link

motor_vehicle=agricultural is not observed. This and motor_vehicle=forestry are very common in Switzerland, see
http://taginfo.openstreetmap.ch/keys/motor_vehicle#values

Example of use: http://www.openstreetmap.org/browse/way/36411709

@emiltin
Copy link
Contributor

emiltin commented Mar 14, 2012

what does motor_vehicle=agricultural imply? that only agricultural vehicles are allowed?

@simonpoole
Copy link
Author

It implies only agricultural traffic (just as forestry implies traffic for forest maintenance), independent of type of vehicle (see http://wiki.openstreetmap.org/wiki/Key:access). Note that the agricultural=* tag applies to agricultural vehicles, not use.

motor_vehicle should include all motorized vehicles with the exception of motorized wheel chairs.

@simonpoole
Copy link
Author

Further comment: the most reasonable way to handle this restriction btw is to handle it similar to *=destination. If the user selects a destination that is only reachable by ways with such a restriction, route, but issue a warning. Don't use such roads to route through traffic.

@emiltin
Copy link
Contributor

emiltin commented Mar 14, 2012

but bicycles/pedestrians are allowed?

@simonpoole
Copy link
Author

Yes. A rough hierarchy of access tags is

access (applies to all access)

  • vehicle (all transport via vehicle, so pedestrians, horses, wheelchair etc. allowed)
    -- motor_vehicle (motorized transport)
    --- motorcar
    --- motorcycle
    --- mofa
    --- hgv
    --- .....
    -- bicycle
  • foot
  • horse
  • ......

In real life there is no such thing as a strict hierarchy for such things, see for example:
http://wiki.openstreetmap.org/wiki/OSM_tags_for_routing/Access-Restrictions

@emiltin
Copy link
Contributor

emiltin commented Mar 14, 2012

makes sense.
if you're into coding, you might consider contributing updates cucumber tests https://github.com/DennisOSRM/Project-OSRM/blob/master/features/access.feature

:-)

@DennisOSRM
Copy link
Collaborator

Thanks for the info.

@DennisOSRM
Copy link
Collaborator

This is now implemented with the switch to a script engine based data extraction routine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants