83 lines
No EOL
1.8 KiB
JSON
83 lines
No EOL
1.8 KiB
JSON
{
|
|
"id": "railway_platforms",
|
|
"name": {
|
|
"en": "Railway Platforms",
|
|
"de": "Bahnsteige",
|
|
"nl": "Treinperrons"
|
|
},
|
|
"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."
|
|
},
|
|
"title": {
|
|
"render": {
|
|
"en": "Platform",
|
|
"de": "Bahnsteig",
|
|
"nl": "Perron"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "ref~*",
|
|
"then": {
|
|
"en": "Platform {ref}",
|
|
"de": "Bahnsteig {ref}",
|
|
"nl": "Perron {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?"
|
|
},
|
|
"freeform": {
|
|
"key": "ref",
|
|
"type": "string",
|
|
"placeholder": {
|
|
"en": "Platform number",
|
|
"de": "Bahnsteignummer",
|
|
"nl": "Perronnummer"
|
|
}
|
|
},
|
|
"render": {
|
|
"en": "Platform {ref}",
|
|
"de": "Bahnsteig {ref}",
|
|
"nl": "Perron {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>"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
} |