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

Extend invalid access value check to *:lanes #2371

Merged
merged 1 commit into from
Nov 2, 2024
Merged

Conversation

Famlam
Copy link
Collaborator

@Famlam Famlam commented Oct 27, 2024

Extend the "invalid access value"-check to *:lanes.
For :lanes:conditional things can get quite complicated (without embedding the conditional value parser), so it only checks the first value. Maybe I'll incorporate it in the future.

Examples:

  • w6873526 bus:lanes=yes|yes|designed (class 30404)
    Unknown access value "designed" for key "bus:lanes"
    (Should be designated)
  • w623467493 access:lanes=yes|yes|yes|bus (class 30405)
    Access value "bus" for key "access:lanes" is a transport mode. Consider using "access:lanes = ... + bus:lanes = ..." instead
    (In this case access:lanes should be deleted altogether, but that's up to the user as there's too many exceptions possible, depending on e.g. other access tags, highway defaults, ...)

@frodrigo frodrigo merged commit 67f6ffa into dev Nov 2, 2024
6 checks passed
@Famlam Famlam deleted the famlam-access-lanes branch November 2, 2024 19:18
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.

2 participants