forked from MapComplete/MapComplete
Changed opening_hours mapping, updated filters
This commit is contained in:
parent
5cbfa3f633
commit
0fe850ffd5
3 changed files with 15 additions and 50 deletions
|
@ -237,7 +237,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"builtin": "opening_hours",
|
"builtin": "opening_hours_24_7",
|
||||||
"override": {
|
"override": {
|
||||||
"condition": "access!=no",
|
"condition": "access!=no",
|
||||||
"question": {
|
"question": {
|
||||||
|
@ -629,27 +629,7 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
"open_now"
|
||||||
"id": "is_open",
|
|
||||||
"options": [
|
|
||||||
{
|
|
||||||
"question": {
|
|
||||||
"nl": "Nu geopened",
|
|
||||||
"en": "Opened now",
|
|
||||||
"de": "Derzeit geöffnet",
|
|
||||||
"es": "Abierto ahora",
|
|
||||||
"fr": "Ouvert maintenant",
|
|
||||||
"da": "Åbnet nu"
|
|
||||||
},
|
|
||||||
"osmTags": {
|
|
||||||
"or": [
|
|
||||||
"opening_hours=",
|
|
||||||
"_isOpen=yes"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"deletion": {
|
"deletion": {
|
||||||
"softDeletionTags": {
|
"softDeletionTags": {
|
||||||
|
|
|
@ -321,27 +321,7 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
"open_now"
|
||||||
"id": "is_open",
|
|
||||||
"options": [
|
|
||||||
{
|
|
||||||
"question": {
|
|
||||||
"nl": "Nu geopened",
|
|
||||||
"en": "Opened now",
|
|
||||||
"de": "Derzeit geöffnet",
|
|
||||||
"es": "Abierto ahora",
|
|
||||||
"fr": "Ouvert maintenant",
|
|
||||||
"da": "Åbnet nu"
|
|
||||||
},
|
|
||||||
"osmTags": {
|
|
||||||
"or": [
|
|
||||||
"opening_hours=",
|
|
||||||
"_isOpen=yes"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"deletion": {
|
"deletion": {
|
||||||
"softDeletionTags": {
|
"softDeletionTags": {
|
||||||
|
|
|
@ -629,11 +629,15 @@
|
||||||
"freeform": {
|
"freeform": {
|
||||||
"key": "opening_hours",
|
"key": "opening_hours",
|
||||||
"type": "opening_hours"
|
"type": "opening_hours"
|
||||||
},
|
}
|
||||||
"mappings": [
|
},
|
||||||
{
|
"opening_hours_24_7": {
|
||||||
"if": "opening_hours=24/7",
|
"builtin": "opening_hours",
|
||||||
"then": {
|
"override": {
|
||||||
|
"mappings": [
|
||||||
|
{
|
||||||
|
"if": "opening_hours=24/7",
|
||||||
|
"then": {
|
||||||
"en": "24/7 opened (including holidays)",
|
"en": "24/7 opened (including holidays)",
|
||||||
"de": "durchgehend geöffnet (auch an Feiertagen)",
|
"de": "durchgehend geöffnet (auch an Feiertagen)",
|
||||||
"zh_Hant": "24/7 開放 (包括假日)",
|
"zh_Hant": "24/7 開放 (包括假日)",
|
||||||
|
@ -644,8 +648,9 @@
|
||||||
"fr": "Ouvert 24h/24 (jours fériés compris)",
|
"fr": "Ouvert 24h/24 (jours fériés compris)",
|
||||||
"nb_NO": "Døgnåpent (inkludert helligdager)"
|
"nb_NO": "Døgnåpent (inkludert helligdager)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"service:electricity": {
|
"service:electricity": {
|
||||||
"#": "service:socket describes if a pub, restaurant or café offers electricity to their customers.",
|
"#": "service:socket describes if a pub, restaurant or café offers electricity to their customers.",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue