Open
Description
Because I am willing to dig deeper into Go Map!! as tool for mapping to go, I kinda want to know how the Quest implementation is working:
First Case
{
"label": "🚲",
"title": "How many rental bicycle spaces are here?",
"geometry": {
"area": true,
"point": true,
"vertex": false,
"line": true
},
"filters": [
{
"tagValue": "bicycle_rental",
"relation": "=",
"tagKey": "amenity",
"included": "include"
},
{
"tagValue": "docking_station",
"relation": "=",
"tagKey": "bicycle_rental",
"included": "include"
},
{
"included": "include",
"tagKey": "capacity",
"relation": "=",
"tagValue": ""
}
],
"tagKeys": [
"capacity"
]
}
Is this a valid json for a quest definition and furthermore are the filters combined with OR, XOR or AND?
My expectation how this definition is that it will show me all amenity=bicycle_rental
and bicycle_rental=docking_station
which are not containing a value for the capacity
Is that true?
Second Case
{
"label": "🚲",
"title": "Lastenrad?",
"geometry": {
"vertex": true,
"line": true,
"area": true,
"point": true
},
"filters": [
{
"tagKey": "amenity",
"relation": "=",
"tagValue": "bicycle_parking",
"included": "include"
},
{
"tagKey": "cargo_bike",
"relation": "=",
"tagValue": "",
"included": "include"
},
{
"tagKey": "capacity:cargo_bike",
"relation": "=",
"tagValue": "",
"included": "include"
}
],
"tagKeys": [
"cargo_bike",
"capacity:cargo_bike"
]
}
Will this pop up if one of the values is set? Or have to be both empty?
Thanks in advance. May some day I will master swift and unterstand the implementation ^^
Metadata
Metadata
Assignees
Labels
No labels