Skip to content

add shorthand for key=* and key!=no #37

Description

@tyrasd

Many OSM keys can have a no value to explicit map the negated meaning of the thing represented by that key. For example oneway=no, wall=no, etc.

It is slightly cumbersome to write filters for those cases when involving the key=* wildcard, as one needs to include an extra … and key!=no to make the query do what is expected. See e.g. GIScience/ohsome-quality-api#1018. Maybe we should introduce a shorthand syntax for this?

Possible ideas for how it could look like in the query:

key=%
key=**
key=*!no
key is truthy
key in (!no)
key=+

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions