465 lines
16 KiB
JSON
465 lines
16 KiB
JSON
{
|
|
"id": "clock",
|
|
"name": {
|
|
"en": "Clocks",
|
|
"nl": "Klokken",
|
|
"de": "Uhren",
|
|
"ca": "Rellotges"
|
|
},
|
|
"description": {
|
|
"en": "Layer with public clocks",
|
|
"nl": "Laag met publieke klokken",
|
|
"de": "Ebene mit öffentlichen Uhren",
|
|
"ca": "Capa amb rellotges públics"
|
|
},
|
|
"title": {
|
|
"render": {
|
|
"en": "Clock",
|
|
"nl": "Klok",
|
|
"de": "Uhr",
|
|
"ca": "Rellotge"
|
|
}
|
|
},
|
|
"source": {
|
|
"osmTags": "amenity=clock"
|
|
},
|
|
"minzoom": 13,
|
|
"tagRenderings": [
|
|
"images",
|
|
{
|
|
"id": "support",
|
|
"question": {
|
|
"en": "In what way is the clock mounted?",
|
|
"nl": "Hoe is de klok bevestigd?",
|
|
"de": "Wie ist die Uhr montiert?",
|
|
"ca": "De quina forma està muntat aquest rellotge?",
|
|
"fr": "De quelle manière est fixée cette horloge ?"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "support=pole",
|
|
"then": {
|
|
"en": "This clock is mounted on a pole",
|
|
"nl": "Deze klok is bevestigd aan een paal",
|
|
"de": "Diese Uhr ist auf einem Mast montiert",
|
|
"ca": "Aquest rellotge està muntat en un pal",
|
|
"fr": "Cette horloge est montée sur un poteau"
|
|
}
|
|
},
|
|
{
|
|
"if": "support=wall_mounted",
|
|
"then": {
|
|
"en": "This clock is mounted on a wall",
|
|
"nl": "Deze klok is bevestigd aan een 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"
|
|
}
|
|
},
|
|
{
|
|
"if": "support=billboard",
|
|
"then": {
|
|
"en": "This clock is part of a billboard",
|
|
"nl": "Deze klok is onderdeel van een reclamebord",
|
|
"de": "Diese Uhr ist Teil einer Werbetafel",
|
|
"ca": "Aquest rellotge està muntat en una tanca publicitària",
|
|
"fr": "Cette horloge fait partie d'un panneau publicitaire"
|
|
}
|
|
},
|
|
{
|
|
"if": "support=ground",
|
|
"then": {
|
|
"en": "This clock is on the ground",
|
|
"nl": "Deze klok staat op de grond",
|
|
"de": "Diese Uhr befindet sich auf dem Boden",
|
|
"ca": "Aquest rellotge està al sòl",
|
|
"fr": "Cette horloge est posée au sol"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "display",
|
|
"question": {
|
|
"en": "How does this clock display the time?",
|
|
"nl": "Hoe toont deze klok de tijd?",
|
|
"de": "Wie zeigt diese Uhr die Zeit an?",
|
|
"ca": "Com mostra aquest rellotge l'hora?",
|
|
"fr": "Comment cette horloge indique-t-elle l'heure ?"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "display=analog",
|
|
"then": {
|
|
"en": "This clock displays the time with hands",
|
|
"nl": "Deze klok toont de tijd met wijzers",
|
|
"de": "Diese Uhr zeigt die Zeit mit Zeigern an",
|
|
"ca": "Aquest rellotge mostra l'hora amb mans",
|
|
"fr": "Cette horloge indique l'heure avec des aiguilles"
|
|
}
|
|
},
|
|
{
|
|
"if": "display=digital",
|
|
"then": {
|
|
"en": "This clock displays the time with digits",
|
|
"nl": "Deze klok toont de tijd met cijfers",
|
|
"de": "Diese Uhr zeigt die Zeit mit Ziffern an",
|
|
"ca": "Aquest rellotge mostra l'hora amb dígits",
|
|
"fr": "Cette horloges indique l'heure avec des chiffres numériques"
|
|
}
|
|
},
|
|
{
|
|
"if": "display=sundial",
|
|
"then": {
|
|
"en": "This clock displays the time with a sundial",
|
|
"nl": "Deze klok toont de tijd met een zonnewijzer",
|
|
"de": "Diese Uhr zeigt die Zeit mit einer Sonnenuhr an",
|
|
"ca": "Aquest rellotge mostra l'hora amb un rellotge de sol",
|
|
"fr": "Cette horloge indique l'heure grâce au soleil"
|
|
}
|
|
},
|
|
{
|
|
"if": "display=unorthodox",
|
|
"then": {
|
|
"en": "This clock displays the time in a non-standard way, e.g using binary, water or something else",
|
|
"nl": "Deze klok toont de tijd op een niet-standaard manier, bijvoorbeeld met binaire cijfers, water of iets anders",
|
|
"de": "Diese Uhr zeigt die Zeit auf eine nicht standardisierte Weise an, z. B. mit Binärzeichen, Wasser oder etwas anderem",
|
|
"ca": "Aquest rellotge mostra l'hora d'una manera no estàndard, p.e. utilitzant binari, aigua o quelcom més",
|
|
"fr": "Cette horloge indique l'heure d'une manière inhabituelle, par ex. en binaire, avec de l'eau, ou autre"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "visibility",
|
|
"question": {
|
|
"en": "How visible is this clock?",
|
|
"nl": "Hoe zichtbaar is deze klok?",
|
|
"de": "Wie sichtbar ist diese Uhr?",
|
|
"ca": "Com de visible és aquest rellotge?"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "visibility=house",
|
|
"then": {
|
|
"en": "This clock is visible from about 5 meters away (small wall-mounted clock)",
|
|
"nl": "Deze klok is zichtbaar vanaf ongeveer 5 meter afstand (kleine klok aan een muur)",
|
|
"de": "Diese Uhr ist aus etwa 5 Metern Entfernung sichtbar (kleine Wanduhr)",
|
|
"ca": "Aquest rellotge és visible al voltant dels 5 metres de distància (un petit rellotge muntat a la paret)"
|
|
}
|
|
},
|
|
{
|
|
"if": "visibility=street",
|
|
"then": {
|
|
"en": "This clock is visible from about 20 meters away (medium size billboard clock)",
|
|
"nl": "Deze klok is zichtbaar vanaf ongeveer 20 meter afstand (klok op gemiddeld reclamebord)",
|
|
"de": "Diese Uhr ist aus etwa 20 Metern Entfernung sichtbar (mittelgroße Plakatuhr)",
|
|
"ca": "Aquest rellotge és visible al voltant dels 20 metres de distància (rellotge de tamany mig a una tanca publicitària)"
|
|
}
|
|
},
|
|
{
|
|
"if": "visibility=area",
|
|
"then": {
|
|
"en": "This clock is visible from more than 20 meters away (e.g. a church clock or station clock)",
|
|
"nl": "Deze klok is zichtbaar vanaf meer dan 20 meter afstand (kerkklok)",
|
|
"de": "Diese Uhr ist aus mehr als 20 Metern Entfernung sichtbar (Kirchuhr, Bahnhofsuhr)",
|
|
"ca": "Aquest rellotge és visible des de més de 20 metres de distància (p. ex. el d'una església o estació de tren)"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "date",
|
|
"question": {
|
|
"en": "Does this clock also display the date?",
|
|
"nl": "Toont deze klok ook de datum?",
|
|
"de": "Zeigt diese Uhr auch das Datum an?",
|
|
"ca": "Aquest rellotge també mostra la data?",
|
|
"fr": "Cette horloge indique-t-elle également la date ?"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "date=yes",
|
|
"then": {
|
|
"en": "This clock also displays the date",
|
|
"nl": "Deze klok toont ook de datum",
|
|
"de": "Diese Uhr zeigt auch das Datum an",
|
|
"ca": "Aquest rellotge també mostra la data",
|
|
"fr": "Cette horloge indique également la date"
|
|
}
|
|
},
|
|
{
|
|
"if": "date=no",
|
|
"then": {
|
|
"en": "This clock does not display the date",
|
|
"nl": "Deze klok toont de datum niet",
|
|
"de": "Diese Uhr zeigt kein Datum an",
|
|
"ca": "Aquest rellotge no mostra la data",
|
|
"fr": "Cette horloge n'indique pas la date"
|
|
}
|
|
},
|
|
{
|
|
"if": "date=",
|
|
"then": {
|
|
"en": "This clock does probably not display the date",
|
|
"nl": "Deze klok toont de datum waarschijnlijk niet",
|
|
"de": "Diese Uhr zeigt wahrscheinlich nicht das Datum an",
|
|
"ca": "Aquest rellotge probablement no mostra la data"
|
|
},
|
|
"hideInAnswer": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "thermometer",
|
|
"question": {
|
|
"en": "Does this clock also display the temperature?",
|
|
"nl": "Toont deze klok ook de temperatuur?",
|
|
"de": "Zeigt diese Uhr auch die Temperatur an?",
|
|
"ca": "Aquest rellotge també mostra la temperatura?"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "thermometer=yes",
|
|
"then": {
|
|
"en": "This clock also displays the temperature",
|
|
"nl": "Deze klok toont ook de temperatuur",
|
|
"de": "Diese Uhr zeigt auch die Temperatur an",
|
|
"ca": "Aquest rellotge també mostra la temperatura"
|
|
}
|
|
},
|
|
{
|
|
"if": "thermometer=no",
|
|
"then": {
|
|
"en": "This clock does not display the temperature",
|
|
"nl": "Deze klok toont de temperatuur niet",
|
|
"de": "Diese Uhr zeigt nicht die Temperatur an",
|
|
"ca": "Aquest rellotge no mostra la temperatura"
|
|
}
|
|
},
|
|
{
|
|
"if": "thermometer=",
|
|
"then": {
|
|
"en": "This clock does probably not display the temperature",
|
|
"nl": "Deze klok toont de temperatuur waarschijnlijk niet",
|
|
"de": "Diese Uhr zeigt wahrscheinlich nicht die Temperatur an",
|
|
"ca": "Aquest rellotge probablement no mostra la temperatura",
|
|
"fr": "Cette horloge n'indique probablement pas la date"
|
|
},
|
|
"hideInAnswer": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "barometer",
|
|
"question": {
|
|
"en": "Does this clock also display the air pressure?",
|
|
"nl": "Toont deze klok ook de luchtdruk?",
|
|
"de": "Zeigt diese Uhr auch den Luftdruck an?",
|
|
"ca": "Aquest rellotge també mostra la pressió de l'aire?"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "barometer=yes",
|
|
"then": {
|
|
"en": "This clock also displays the air pressure",
|
|
"nl": "Deze klok toont ook de luchtdruk",
|
|
"de": "Diese Uhr zeigt auch den Luftdruck an",
|
|
"ca": "Aquest rellotge també mostra la pressió de l'aire"
|
|
}
|
|
},
|
|
{
|
|
"if": "barometer=no",
|
|
"then": {
|
|
"en": "This clock does not display the air pressure",
|
|
"nl": "Deze klok toont de luchtdruk niet",
|
|
"de": "Diese Uhr zeigt den Luftdruck nicht an",
|
|
"ca": "Aquest rellotge no mostra la pressió de l'aire"
|
|
}
|
|
},
|
|
{
|
|
"if": "barometer=",
|
|
"then": {
|
|
"en": "This clock does probably not display the air pressure",
|
|
"nl": "Deze klok toont de luchtdruk waarschijnlijk niet",
|
|
"de": "Diese Uhr zeigt wahrscheinlich nicht den Luftdruck an",
|
|
"ca": "Aquest rellotge probablement no mostra la pressió de l'aire"
|
|
},
|
|
"hideInAnswer": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "hygrometer",
|
|
"question": {
|
|
"en": "Does this clock also display the humidity?",
|
|
"nl": "Toont deze klok ook de luchtvochtigheid?",
|
|
"de": "Zeigt diese Uhr auch die Luftfeuchtigkeit an?",
|
|
"ca": "Aquest rellotge també mostra la humitat?",
|
|
"fr": "Cette horloge indique-t-elle également l'humidité ?"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "hygrometer=yes",
|
|
"then": {
|
|
"en": "This clock also displays the humidity",
|
|
"nl": "Deze klok toont ook de luchtvochtigheid",
|
|
"de": "Diese Uhr zeigt auch die Luftfeuchtigkeit an",
|
|
"ca": "Aquest rellotge també mostra la humitat",
|
|
"fr": "Cette horloge indique également l'humidité"
|
|
}
|
|
},
|
|
{
|
|
"if": "hygrometer=no",
|
|
"then": {
|
|
"en": "This clock does not display the humidity",
|
|
"nl": "Deze klok toont de luchtvochtigheid niet",
|
|
"de": "Diese Uhr zeigt nicht die Luftfeuchtigkeit an",
|
|
"ca": "Aquest rellotge no mostra la humitat",
|
|
"fr": "Cette horloge n'indique pas l'humidité"
|
|
}
|
|
},
|
|
{
|
|
"if": "hygrometer=",
|
|
"then": {
|
|
"en": "This clock does probably not display the humidity",
|
|
"nl": "Deze klok toont de luchtvochtigheid waarschijnlijk niet",
|
|
"de": "Diese Uhr zeigt wahrscheinlich nicht die Luftfeuchtigkeit an",
|
|
"ca": "Aquest rellotge probablement no mostra la humitat",
|
|
"fr": "Cette horloge n'indique probablement pas l'humidité"
|
|
},
|
|
"hideInAnswer": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "faces",
|
|
"question": {
|
|
"en": "How many faces does this clock have?",
|
|
"nl": "Hoeveel klokken heeft deze klok?",
|
|
"de": "Wie viele Zifferblätter hat diese Uhr?",
|
|
"ca": "Quantes cares té aquest rellotge?",
|
|
"fr": "Combien de faces a cette horloge ?"
|
|
},
|
|
"freeform": {
|
|
"key": "faces",
|
|
"type": "pnat",
|
|
"inline": true,
|
|
"placeholder": {
|
|
"en": "Number of faces",
|
|
"nl": "Aantal klokken",
|
|
"de": "Anzahl der Zifferblätter",
|
|
"ca": "Nombre de cares"
|
|
}
|
|
},
|
|
"render": {
|
|
"en": "This clock has {faces} faces",
|
|
"nl": "Deze klok heeft {faces} klokken",
|
|
"de": "Diese Uhr hat {faces} Zifferblätter",
|
|
"ca": "Aquest rellotge té {faces} cares",
|
|
"fr": "Cette horloge a {faces} faces"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "faces=1",
|
|
"then": {
|
|
"en": "This clock has one face",
|
|
"nl": "Deze klok heeft één klok",
|
|
"de": "Diese Uhr hat ein Zifferblatt",
|
|
"ca": "Aquest rellotge té una cara",
|
|
"fr": "Cette horloge a une face"
|
|
}
|
|
},
|
|
{
|
|
"if": "faces=2",
|
|
"then": {
|
|
"en": "This clock has two faces",
|
|
"nl": "Deze klok heeft twee klokken",
|
|
"de": "Diese Uhr hat zwei Zifferblätter",
|
|
"ca": "Aquest rellotge té dues cares",
|
|
"fr": "Cette horloge a deux faces"
|
|
}
|
|
},
|
|
{
|
|
"if": "faces=4",
|
|
"then": {
|
|
"en": "This clock has four faces",
|
|
"nl": "Deze klok heeft vier klokken",
|
|
"de": "Diese Uhr hat vier Zifferblätter",
|
|
"ca": "Aquest rellotge té quatre cares",
|
|
"fr": "Cette horloge a quatre faces"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"presets": [
|
|
{
|
|
"tags": [
|
|
"amenity=clock"
|
|
],
|
|
"title": {
|
|
"en": "a clock",
|
|
"nl": "een klok",
|
|
"de": "eine Uhr",
|
|
"ca": "un rellotge"
|
|
},
|
|
"description": {
|
|
"en": "A publicly visible clock",
|
|
"nl": "Een publiekelijk zichtbare klok",
|
|
"de": "Eine öffentlich sichtbare Uhr",
|
|
"ca": "Un rellotge visible públicament"
|
|
}
|
|
},
|
|
{
|
|
"tags": [
|
|
"amenity=clock",
|
|
"support=wall_mounted"
|
|
],
|
|
"title": {
|
|
"en": "a wall-mounted clock",
|
|
"nl": "een klok aan een muur",
|
|
"de": "eine an der Wand montierte Uhr",
|
|
"ca": "un rellotge muntat en un paret"
|
|
},
|
|
"description": {
|
|
"en": "A publicly visible clock mounted on a wall",
|
|
"nl": "Een publiekelijk zichtbare klok aan een muur",
|
|
"de": "Eine öffentlich sichtbare Uhr an einer Wand",
|
|
"ca": "Un rellotge visible públicament muntat en una paret",
|
|
"fr": "Une horloge publique fixée sur un mur"
|
|
},
|
|
"snapToLayer": [
|
|
"walls_and_buildings"
|
|
]
|
|
}
|
|
],
|
|
"allowMove": true,
|
|
"deletion": true,
|
|
"mapRendering": [
|
|
{
|
|
"location": [
|
|
"point",
|
|
"centroid"
|
|
],
|
|
"icon": {
|
|
"render": "./assets/layers/clock/clock.svg",
|
|
"mappings": [
|
|
{
|
|
"if": "display=digital",
|
|
"then": "./assets/layers/clock/clock_digital.svg"
|
|
}
|
|
]
|
|
},
|
|
"iconSize": {
|
|
"render": "40,40,center",
|
|
"mappings": [
|
|
{
|
|
"if": "display=digital",
|
|
"then": "50,20,center"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|