Coder Social home page Coder Social logo

Comments (8)

bt90 avatar bt90 commented on June 11, 2024 2

An example from the OSM wiki:

Example

It's locked, yet still passable for bikes and pedestrians.

from graphhopper.

karussell avatar karussell commented on June 11, 2024

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.

bt90 avatar bt90 commented on June 11, 2024

Seems like a tagging mistake to me:

https://maps.app.goo.gl/yw1dCcgVTrKYRFBo7

from graphhopper.

BURMAUG avatar BURMAUG commented on June 11, 2024

If bikes are allowed and pedestrians can walk freely then yes to both but not a vehicle.

from graphhopper.

caspg avatar caspg commented on June 11, 2024

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.

karussell avatar karussell commented on June 11, 2024

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.

caspg avatar caspg commented on June 11, 2024

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?

commit

        if (restrictedValues.contains(firstValue))
            return true;
        else if (node.hasTag("locked", "yes") && !intendedValues.contains(firstValue))
            return true;

from graphhopper.

ratrun avatar ratrun commented on June 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.