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

[deprecation] allow to disable a rule by presence of other tags and/or location #62

Open
tyrasd opened this issue Jun 22, 2022 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@tyrasd
Copy link
Collaborator

tyrasd commented Jun 22, 2022

See openstreetmap/id-tagging-schema#484:

  {
    "old": {"highway": "cycleway", "bicycle": "no"},
    "replace": {"highway": "path", "bicycle": "no"}
  },

We would like to be able to disable this rule when moped!=no (or mofa!=no) is set, as these two modes of transport are also considered valid uses of a highway=cycleway in certain jurisdictions or local OSM communities.

@tyrasd tyrasd added the enhancement New feature or request label Jun 22, 2022
@tyrasd tyrasd added this to the v5 milestone Jun 22, 2022
@tyrasd tyrasd changed the title [deprecation] allow to disable a rule by presence of other tags [deprecation] allow to disable a rule by presence of other tags and/or location Jun 22, 2022
@tyrasd
Copy link
Collaborator Author

tyrasd commented Jun 22, 2022

related: @1ec5 rightly suggests in openstreetmap/id-tagging-schema#509 (comment) that there might be cases where a deprecation/validation rule should only be active in a certain region (or should be inactive in a certain region). In the example case above, the validation rule could be active everywhere except in the NL, while the enhanced rule (with added mofa!=no condition) could be active only in the NL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant