mapcomplete/assets/layers/railway_platforms/railway_platforms.json

90 lines
No EOL
2 KiB
JSON

{
"id": "railway_platforms",
"name": {
"en": "Railway Platforms",
"de": "Bahnsteige",
"nl": "Treinperrons",
"fr": "Quais de gare"
},
"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."
},
"title": {
"render": {
"en": "Platform",
"de": "Bahnsteig",
"nl": "Perron",
"fr": "Quai"
},
"mappings": [
{
"if": "ref~*",
"then": {
"en": "Platform {ref}",
"de": "Bahnsteig {ref}",
"nl": "Perron {ref}",
"fr": "Quai {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 ?"
},
"freeform": {
"key": "ref",
"type": "string",
"placeholder": {
"en": "Platform number",
"de": "Bahnsteignummer",
"nl": "Perronnummer",
"fr": "Numéro de quai"
}
},
"render": {
"en": "Platform {ref}",
"de": "Bahnsteig {ref}",
"nl": "Perron {ref}",
"fr": "Quai {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>"
}
]
}
}
]
}