Code Monkey home page Code Monkey logo

Comments (9)

DennisOSRM avatar DennisOSRM commented on August 27, 2024

I am not sure if this data is present in osm. Do the parks have the same opening hours? Is it an hourly schedule or at least something with 15 minute slots?

from osrm-backend.

emiltin avatar emiltin commented on August 27, 2024

the opening_hours tag is used in osm. we're going to update the tags for all the parks in copenhagen.

http://wiki.openstreetmap.org/wiki/Key:opening_hours

parks have different schedules. most also have different winter/summer schedules.

from osrm-backend.

emiltin avatar emiltin commented on August 27, 2024

see also time restrictions on the access tag: http://wiki.openstreetmap.org/wiki/Key:access

from osrm-backend.

emiltin avatar emiltin commented on August 27, 2024

lower priority than opening hours, but: another time-depending aspect is the 'lit' tag. most bicyclist don't want to be routed through areas without street lightning (like parks or remote areas) if it's after dark.

from osrm-backend.

TheMarex avatar TheMarex commented on August 27, 2024

Time dependent routing is not possible with the current approach. The best we could do is return the opening hours with the response to make it visible to the user/application that re-routing might be needed.

from osrm-backend.

emiltin avatar emiltin commented on August 27, 2024

for some use cases you could have different profiles for day and night. for example for biking or walking this would at least capture things like parks that close or are not lit after dark.

from osrm-backend.

daniel-j-h avatar daniel-j-h commented on August 27, 2024

Superseded by @oxidase's work in #3415 and the corresponding issue #3414.

Once the opening hours utility tool is in place you can at least contract, say, for every 15 minutes or hour and get different routes back.

from osrm-backend.

MichalPP avatar MichalPP commented on August 27, 2024

does #4006 fix this issue? making several exclude classes based on the time (or night and day routing)

from osrm-backend.

daniel-j-h avatar daniel-j-h commented on August 27, 2024

Yes or you pre-process the data and add conditional turn restriction for all turns going over the conditional access tag - which is a bit of a hack. Conditional access tags are ticket in: #4231

from osrm-backend.

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.