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

Introduce cycleway:both=* and make cycleway:NULL=* unsearchable #1147

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tordans
Copy link
Collaborator

@tordans tordans commented Feb 29, 2024

This is another take at the same issues as #1137.

The goal is, to work around

  • a deprecation of the :NULL variant that used to represent "both" or sometimes "the primary side"
  • the need to add another feature to the files which would allow to handle both keys at the same time.

The idea is, to have the legacy value kind of unsearchable and only show up when the cycleway:NULL key is present. However, that is hard ATM because this key is also used for crossing, asl and such (https://taginfo.openstreetmap.org/keys/cycleway#values) and the prerequisiteTag does not allow any arrays as values, yet.

Lets see how the preview behaves … but I think that the limitation of prerequisiteTag will make this a nonstarter as well…

The goal is, to work around
- a deprecation of the `:NULL` variant that used to represent "both" or sometimes "the primary side"
- the need to add another feature to the files which would allow to handle both keys at the same time.

The idea is, to have the legacy value kind of unsearchable and only show up when the `cycleway:NULL` key is present. However, that is hard ATM because this key is also used for `crossing`, `asl` and such (https://taginfo.openstreetmap.org/keys/cycleway#values) and the `prerequisiteTag` does not allow any arrays as values, yet.
@tordans tordans marked this pull request as draft February 29, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant