Skip to content

Recognize conditional restrictions #374

Closed

Description

@karussell

Constructions should be avoided and assuming a daily re-import we should recognize the conditional tag including the date format defined in opening_hours.

First major part is implemented already in #621. Still missing:

Activity

  1. changed the title [-]Recognize conditional dates[/-] [+]Recognize conditional restrictions[/+] on Mar 18, 2015
  2. added this to the 0.5 milestone on Mar 25, 2015
  3. self-assigned this
    on Jul 28, 2015
  4. karussell commented on Jul 28, 2015

    @karussell
    MemberAuthor

    @matkoniecz do you have a real world example for conditional restrictions used for constructions?

  5. karussell commented on Jul 28, 2015

    @karussell
    MemberAuthor

    So tagging the access with the 'conditional' trick seems to be done not that often. Only maxspeed:conditional is rather often (44K), access:conditional and vehicle:conditional combined is only 10K. So I vote to implement only these 3 schemes for now and only if they contain dates, not only times. Hourly imports are possible but not often done in practise, at least not now.

  6. removed this from the 0.5 milestone on Jul 28, 2015
  7. karussell commented on Jul 28, 2015

    @karussell
    MemberAuthor

    I've created the date parsing logic in a separate branch but still will postpone this. Also see this project for a more generic opening hours parser

  8. added this to the 0.6 milestone on Aug 10, 2015
  9. karussell commented on Jan 1, 2016

    @karussell
    MemberAuthor

    The PR by @boldtrn will be soon merged.

    Should we support 'pure' opening hours too? Is this tagging schema kind of official for nodes? http://www.openstreetmap.org/node/2519644036

  10. removed their assignment
    on Jan 19, 2016
  11. removed this from the 0.6 milestone on Jan 19, 2016
  12. boldtrn commented on Jan 10, 2018

    @boldtrn
    Member

    Another case that would be nice to support is parsing of weeks like:

    no @ week 1-5

    An example way that uses this tagging scheme can be found here.

  13. mmuelder commented on Mar 2, 2018

    @mmuelder

    are time (not date) based conditional restrictions supported yet?
    access:conditional=no @ (09:00-17:00);
    would be nice

  14. boldtrn commented on Mar 4, 2018

    @boldtrn
    Member

    are time (not date) based conditional restrictions supported yet?

    No, this is not possible yet.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions