mapcomplete/assets/themes/stations/stations.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

250 lines
5.1 KiB
JSON
Raw Normal View History

2022-09-12 10:33:52 +02:00
{
"id": "stations",
"title": {
"en": "Train Stations"
},
"description": {
"en": "View, edit and add details to a train station"
},
2022-10-23 20:36:22 +02:00
"icon": "./assets/themes/stations/rail-light.svg",
2022-09-12 10:33:52 +02:00
"startLat": 0,
"startLon": 0,
"startZoom": 0,
"hideFromOverview": true,
"defaultBackgroundId": "CartoDB.Positron",
"layers": [
{
"builtin": "indoors",
"override": {
"minzoom": 19,
"passAllFeatures": true,
"mapRendering": [
2022-10-23 20:24:54 +02:00
{},
{},
2022-09-12 10:33:52 +02:00
{
"label": {
2022-10-23 20:24:54 +02:00
"render": null,
"mappings": null
2022-09-12 10:33:52 +02:00
},
"iconSize": "0,0,bottom"
}
]
}
},
{
2022-10-30 19:30:54 +01:00
"builtin": "stairs",
2022-09-12 10:33:52 +02:00
"override": {
2022-10-30 19:30:54 +01:00
"minzoom": 19
2022-10-29 22:06:17 +02:00
}
},
{
2022-10-30 19:30:54 +01:00
"builtin": "pedestrian_path",
2022-10-29 22:06:17 +02:00
"override": {
2022-10-30 19:30:54 +01:00
"title": null,
"name": null,
"mapRendering": null
2022-09-12 10:33:52 +02:00
}
},
{
"id": "train_station",
"minzoom": 12,
"minzoomVisible": 17,
"source": {
"osmTags": {
"or": [
"railway=station",
"railway=halt"
]
}
},
2022-11-25 23:18:12 +01:00
"name": {
"en": "Train Stations"
},
"description": {
"en": "Layer showing train stations"
},
2022-09-12 10:33:52 +02:00
"mapRendering": [
{
2022-10-23 20:36:22 +02:00
"icon": "./assets/themes/stations/rail-light.svg",
2022-09-12 10:33:52 +02:00
"location": [
"point",
"centroid"
],
"label": {
"mappings": [
{
"if": "name~*",
"then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>"
}
]
}
},
{
"color": "green"
}
]
},
{
2022-10-29 22:54:03 +02:00
"builtin": [
"shops",
2022-11-26 15:19:37 +01:00
"bike_parking",
"bicycle_rental"
2022-10-29 22:54:03 +02:00
],
2022-09-12 10:33:52 +02:00
"override": {
2022-10-23 20:24:54 +02:00
"isShown": {
"or": [
"indoor=room",
"indoor=area"
]
2022-09-12 10:33:52 +02:00
},
"presets": null,
"minzoom": 19
}
},
2022-10-23 20:24:54 +02:00
{
"builtin": [
"food",
"cafe_pub"
],
"override": {
"isShown": {
"or": [
"indoor=room",
"indoor=area"
]
},
"presets": null,
"minzoom": 19,
"mapRendering+": [
{
"color": {
"render": "#00f"
},
"width": {
"render": "8"
}
}
]
}
},
{
"builtin": "toilet",
"override": {
"isShown": {
"or": [
"indoor=room",
"indoor=area"
]
},
2022-10-23 20:52:55 +02:00
"presets": null,
"minzoom": 19,
2022-10-23 20:24:54 +02:00
"mapRendering+": [
{
"color": {
"render": "yellow"
},
"width": {
"render": "8"
}
}
]
}
},
2022-09-12 10:33:52 +02:00
"railway_platforms",
2022-11-11 23:40:16 +01:00
"ticket_machine",
"ticket_validator",
2022-10-23 20:24:54 +02:00
{
"builtin": [
"entrance",
"elevator",
"bench",
2022-11-25 23:18:12 +01:00
"waste_basket",
"atm"
2022-10-23 20:24:54 +02:00
],
"override": {
"minzoom": 19
}
},
2022-09-12 10:33:52 +02:00
{
"id": "departures_board",
"name": {
"en": "Departures boards"
},
"description": {
"en": "Displays showing the trains that will leave from this station"
},
"title": {
"render": {
"en": "Departures board"
}
},
"minzoom": 19,
"source": {
"osmTags": {
"and": [
"departures_board~*",
"departures_board!=no",
"public_transport="
]
}
},
"tagRenderings": [
{
"id": "type",
"question": {
"en": "What kind of departures board is this?"
},
"mappings": [
{
"if": "departures_board=yes",
"then": {
"en": "This is a departures board of an unknown type"
}
},
{
"if": "departures_board=realtime",
"then": {
"en": "This is an electronic board, showing the next departures in realtime"
}
},
{
"if": "departures_board=timetable",
"then": {
"en": "This is a paper timetable"
}
},
{
"if": "departures_board=delay",
"then": {
"en": "There is a sign showing the frequency of the trains"
}
}
]
},
"level"
],
"presets": [
{
2022-09-12 10:44:07 +02:00
"tags": [
"departures_board=yes"
],
2022-09-12 10:33:52 +02:00
"title": {
"en": "a departures board"
},
"description": {
"en": "Add a board showing departures, either electronic or paper"
}
}
],
"mapRendering": [
{
2022-10-23 20:24:54 +02:00
"icon": "./assets/themes/stations/departures_board.svg",
2022-09-12 10:33:52 +02:00
"location": [
"point",
"centroid"
]
}
]
}
]
2022-11-10 12:45:58 +01:00
}