97 lines
No EOL
2.3 KiB
JSON
97 lines
No EOL
2.3 KiB
JSON
{
|
|
"id": "railway_platforms",
|
|
"name": {
|
|
"en": "Railway Platforms",
|
|
"de": "Bahnsteige",
|
|
"nl": "Treinperrons",
|
|
"fr": "Quais de gare",
|
|
"ca": "Andanes ferroviàries"
|
|
},
|
|
"description": {
|
|
"en": "Find every platform in the station, and the train routes that use them.",
|
|
"de": "Finden Sie alle Bahnsteige im Bahnhof und die Zugstrecken, die sie benutzen.",
|
|
"nl": "Vind elk perron in het station, en de routes die ze gebruiken.",
|
|
"fr": "Trouvez tous les quais dans la gare, et les lignes ferroviaires qui les utilisent.",
|
|
"ca": "Trobeu totes les andanes de l'estació i les rutes de tren que les fan servir."
|
|
},
|
|
"title": {
|
|
"render": {
|
|
"en": "Platform",
|
|
"de": "Bahnsteig",
|
|
"nl": "Perron",
|
|
"fr": "Quai",
|
|
"ca": "Andana"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "ref~*",
|
|
"then": {
|
|
"en": "Platform {ref}",
|
|
"de": "Bahnsteig {ref}",
|
|
"nl": "Perron {ref}",
|
|
"fr": "Quai {ref}",
|
|
"ca": "Andana {ref}"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"source": {
|
|
"osmTags": {
|
|
"or": [
|
|
"railway=platform"
|
|
]
|
|
}
|
|
},
|
|
"minzoom": 18,
|
|
"tagRenderings": [
|
|
{
|
|
"id": "ref",
|
|
"question": {
|
|
"en": "What is the number for this platform?",
|
|
"de": "Wie lautet die Nummer dieses Bahnsteigs?",
|
|
"nl": "Wat is het nummer van dit perron?",
|
|
"fr": "Quel est le numéro de ce quai ?",
|
|
"ca": "Quin és el número d'aquesta andana?"
|
|
},
|
|
"freeform": {
|
|
"key": "ref",
|
|
"type": "string",
|
|
"placeholder": {
|
|
"en": "Platform number",
|
|
"de": "Bahnsteignummer",
|
|
"nl": "Perronnummer",
|
|
"fr": "Numéro de quai",
|
|
"ca": "Nombre d'andana"
|
|
}
|
|
},
|
|
"render": {
|
|
"en": "Platform {ref}",
|
|
"de": "Bahnsteig {ref}",
|
|
"nl": "Perron {ref}",
|
|
"fr": "Quai {ref}",
|
|
"ca": "Andana {ref}"
|
|
}
|
|
},
|
|
"level"
|
|
],
|
|
"mapRendering": [
|
|
{
|
|
"color": "gray"
|
|
},
|
|
{
|
|
"icon": "./assets/themes/stations/rail-light.svg",
|
|
"location": [
|
|
"point",
|
|
"centroid"
|
|
],
|
|
"label": {
|
|
"mappings": [
|
|
{
|
|
"if": "ref~*",
|
|
"then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{ref}</div>"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
} |