Add self_service and automated to bike wash (#2203)

This commit is contained in:
Robin van der Linde 2024-10-28 00:25:21 +01:00
parent faece7619b
commit 8d181c183a
Signed by untrusted user who does not match committer: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D

View file

@ -34,8 +34,7 @@
"or": [ "or": [
"service:bicycle:cleaning=yes", "service:bicycle:cleaning=yes",
"service:bicycle:cleaning=diy", "service:bicycle:cleaning=diy",
"amenity=bicycle_wash", "amenity=bicycle_wash"
"amenity=bike_wash"
] ]
} }
}, },
@ -83,7 +82,6 @@
"if": { "if": {
"and": [ "and": [
"service:bicycle:cleaning~*", "service:bicycle:cleaning~*",
"amenity!=bike_wash",
"amenity!=bicycle_wash" "amenity!=bicycle_wash"
] ]
}, },
@ -106,7 +104,6 @@
] ]
} }
], ],
"lineRendering": [],
"presets": [ "presets": [
{ {
"title": { "title": {
@ -158,7 +155,6 @@
}, },
"condition": { "condition": {
"and": [ "and": [
"amenity!=bike_wash",
"amenity!=bicycle_wash", "amenity!=bicycle_wash",
"service:bicycle:cleaning!=no", "service:bicycle:cleaning!=no",
"service:bicycle:cleaning!=" "service:bicycle:cleaning!="
@ -169,7 +165,7 @@
"addExtraTags": [ "addExtraTags": [
"service:bicycle:cleaning:fee=yes" "service:bicycle:cleaning:fee=yes"
], ],
"inline": true "inline": false
}, },
"mappings": [ "mappings": [
{ {
@ -212,7 +208,7 @@
"hideInAnswer": true "hideInAnswer": true
} }
], ],
"id": "bike_cleaning-service_bicycle_cleaning_charge" "id": "bike_cleaning-service:bicycle:cleaning:charge"
}, },
{ {
"question": { "question": {
@ -241,7 +237,6 @@
}, },
"condition": { "condition": {
"or": [ "or": [
"amenity=bike_wash",
"amenity=bicycle_wash" "amenity=bicycle_wash"
] ]
}, },
@ -285,6 +280,54 @@
} }
], ],
"id": "bike_cleaning-charge" "id": "bike_cleaning-charge"
},
{
"question": {
"en": "Is this bicycle cleaning service automated?",
"nl": "Is dit fietsschoonmaakpunt geautomatiseerd?"
},
"id": "automated",
"mappings": [
{
"if": "automated=no",
"then": {
"en": "This is a manual bike washing station",
"nl": "Dit is een handmatig fietsschoonmaakpunt"
}
},
{
"if": "automated=yes",
"then": {
"en": "This is an automated bike wash",
"nl": "Dit is een automatisch fietsschoonmaakpunt"
}
}
],
"condition": "amenity=bicycle_wash"
},
{
"question": {
"nl": "Is dit fietsschoonmaakpunt zelfbediening?",
"en": "Is this cleaning service self-service?"
},
"id": "self_service",
"mappings": [
{
"if": "self_service=yes",
"then": {
"nl": "Dit fietsschoonmaakpunt is zelfbediening",
"en": "This cleaning service is self-service"
}
},
{
"if": "self_service=no",
"then": {
"nl": "Dit fietsschoonmaakpunt wordt bediend door aanwezig personeel",
"en": "This cleaning service is operated by an employee"
}
}
],
"condition": "amenity=bicycle_wash"
} }
], ],
"deletion": { "deletion": {
@ -300,4 +343,4 @@
"enableRelocation": false, "enableRelocation": false,
"enableImproveAccuracy": true "enableImproveAccuracy": true
} }
} }