Add extra questions to clock layer (#1962 + #1963)

This commit is contained in:
Robin van der Linde 2024-10-29 21:33:16 +01:00
parent 605990fcc1
commit 988d0bc913
Signed by untrusted user: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D
10 changed files with 104 additions and 37 deletions

View file

@ -97,8 +97,8 @@
"support=wall_mounted"
],
"title": {
"en": "a wall-mounted clock",
"nl": "een klok aan een muur",
"en": "a wall-mounted clock, mounted using a support perpendicular to the wall",
"nl": "een klok aan een muur, bevestigd met een steun loodrecht op de muur",
"de": "eine an der Wand montierte Uhr",
"ca": "un rellotge muntat en un paret",
"fr": "une horloge fixée au mur",
@ -117,6 +117,23 @@
"snapToLayer": [
"walls_and_buildings"
]
},
{
"tags": [
"amenity=clock",
"support=wall"
],
"title": {
"en": "a wall-mounted clock, mounted directly on a wall",
"nl": "een klok aan een muur, rechtstreeks bevestigd aan een muur"
},
"description": {
"en": "A publicly visible clock mounted directly on a wall",
"nl": "Een publiekelijk zichtbare klok rechtstreeks bevestigd aan een muur"
},
"snapToLayer": [
"walls_and_buildings"
]
}
],
"tagRenderings": [
@ -148,8 +165,8 @@
{
"if": "support=wall_mounted",
"then": {
"en": "This clock is mounted on a wall",
"nl": "Deze klok is bevestigd aan een muur",
"en": "This clock is mounted on a wall, usually through a support perpendicular to the wall",
"nl": "Deze klok is bevestigd aan een muur, meestal met een steun loodrecht op de muur",
"de": "Diese Uhr ist an einer Wand montiert",
"ca": "Aquest rellotge està muntat en una paret",
"fr": "Cette horloge est fixée sur un mur",
@ -157,6 +174,13 @@
"cs": "Tyto hodiny jsou namontovány na stěně"
}
},
{
"if": "support=wall",
"then": {
"en": "This clock is mounted directly on a wall",
"nl": "Deze klok is rechtstreeks aan een muur bevestigd"
}
},
{
"if": "support=billboard",
"then": {
@ -245,6 +269,30 @@
}
]
},
{
"builtin": "indoor",
"override": {
"question": {
"en": "Is this clock indoors?",
"nl": "Is deze klok binnen?"
},
"mappings": [
{
"then": {
"en": "This clock is indoors",
"nl": "Deze klok is binnen"
}
},
{
"if": "indoor=no",
"then": {
"en": "This clock is outdoors",
"nl": "Deze klok is buiten"
}
}
]
}
},
{
"id": "visibility",
"question": {
@ -293,7 +341,8 @@
"cs": "Tyto hodiny jsou viditelné ze vzdálenosti větší než 20 metrů (např. kostelní nebo nádražní hodiny)"
}
}
]
],
"condition": "indoor!=yes"
},
{
"id": "date",
@ -572,4 +621,4 @@
],
"deletion": true,
"allowMove": true
}
}