Skip to content

Query language: Support "has no key like"  #589

@westnordost

Description

@westnordost

What already exists is [!key] and [~kexRegex]. What is missing is [!~keyRegex] or similar to check if an element has no key that matches with the regex tagged.

Example use cases:

  • Check if a recycling container is not tagged with any recycleable it accepts: [!~'^recycling:.*$'].
  • Check if the road has no cycleway tagged: !~'^cycleway(:left|:right|:both)?$'
  • There are other such schemes as the recycling scheme, at least I think for services provided at car shops, boat shops, motorcycle shops

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions