Skip to content

[Feature request] Quest filters: AND / OR groups #1009

Description

@selrond

The custom quests feature is really useful for everyday on the go mapping.
As mentioned in #1006 I use it quite extensively.

That said, I would find it helpful to combine filter conditions in groups. The examples below show the behavior I mean; I’m not suggesting a particular format.

Opening hours for different kinds of places

opening_hours is missing
AND (shop=supermarket OR amenity=pharmacy)

This could be one quest instead of two nearly identical ones. Opening hours are useful to collect and cannot be inferred from the place type. They are also among the established StreetComplete quests.

Lighting on selected roads and paths

lit is missing
AND (
  highway=residential
  OR (highway=path AND foot=designated)
)

The extra foot=designated condition should apply only to paths. With the current filters, it also restricts the residential roads, so I would need to split the quest or ask it on a broader set of paths. StreetComplete uses this kind of distinction in its lighting quest.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions