mapcomplete/assets/layers/transit_stops/transit_stops.json

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

438 lines
14 KiB
JSON
Raw Normal View History

2022-04-06 21:37:31 +02:00
{
"id": "transit_stops",
"name": {
2022-07-26 10:51:14 +02:00
"en": "Transit Stops",
2022-09-10 13:25:18 +02:00
"de": "Haltestellen",
2023-02-23 14:39:08 +01:00
"da": "Transitstationer",
"fr": "Arrêts de transport en commun",
"ca": "Parades de transport públic"
2022-04-06 21:37:31 +02:00
},
"description": {
2022-07-26 10:51:14 +02:00
"en": "Layer showing different types of transit stops.",
2022-09-10 13:25:18 +02:00
"de": "Ebene mit verschiedenen Arten von Haltestellen.",
"da": "Lag, der viser forskellige typer transitstop."
2022-04-06 21:37:31 +02:00
},
"source": {
"osmTags": {
"or": [
"highway=bus_stop"
]
}
},
"minzoom": 15,
"title": {
"render": {
2022-07-26 10:51:14 +02:00
"en": "Transit Stop",
2022-09-10 13:25:18 +02:00
"de": "Haltestelle",
2023-01-29 18:02:06 +01:00
"da": "Transit Stop",
"nl": "Bushalte"
2022-04-06 21:37:31 +02:00
},
"mappings": [
{
"if": "name~*",
"then": {
2022-07-26 10:51:14 +02:00
"en": "Stop {name}",
2022-09-10 13:25:18 +02:00
"de": "Haltestelle {name}",
2022-10-27 01:50:01 +02:00
"da": "Stop {name}",
"nl": "Halte {name}"
2022-04-06 21:37:31 +02:00
}
}
]
},
"mapRendering": [
{
"location": [
"point",
"centroid"
],
"icon": {
"render": "./assets/layers/transit_stops/bus_stop.svg",
"mappings": []
},
"label": "<div style=\"background: white; display: block\">{name}</div>"
}
],
"calculatedTags": [
"_routes=feat.memberships()",
"_contained_routes_properties=feat.memberships().map(p => {return {id: p.relation.id, name: p.relation.properties.name} }).filter((v,i,a)=>a.findIndex(t=>(JSON.stringify(t) === JSON.stringify(v)))===i)",
"_contained_route_ids=JSON.parse(feat.properties._contained_routes_properties ?? '[]').map(p => p.id)",
"_contained_routes=JSON.parse(feat.properties._contained_routes_properties ?? '[]').map(p => `<li><a href='#relation/${p.id}'>${p.name ?? 'bus route'}</a></li>`).join('')",
"_contained_routes_count=JSON.parse(feat.properties._contained_routes_properties ?? '[]').length"
],
"tagRenderings": [
{
"id": "stop_name",
"render": {
2022-07-26 10:51:14 +02:00
"en": "This stop is called <b>{name}</b>",
2022-09-10 13:25:18 +02:00
"de": "Der Name der Haltestelle lautet <b>{name}</b>",
2022-12-16 13:40:25 +01:00
"da": "Dette stop hedder <b>{name}</b>",
2023-01-29 18:02:06 +01:00
"nl": "Deze halte heet <b>{name}</b>",
2023-02-23 14:39:08 +01:00
"ca": "Aquesta parada es diu <b>{name}</b>",
"fr": "Cet arrêt est nommé <b>{name}</b>"
2022-04-06 21:37:31 +02:00
},
"freeform": {
"key": "name",
"type": "string",
"addExtraTags": [
"noname="
],
"placeholder": {
2022-07-26 10:51:14 +02:00
"en": "Name of the stop",
2022-09-10 13:25:18 +02:00
"de": "Name der Haltestelle",
2022-12-16 13:40:25 +01:00
"da": "Navn på stoppestedet",
"nl": "Naam van de halte"
2022-04-06 21:37:31 +02:00
}
},
"mappings": [
{
"if": {
"and": [
"noname=yes",
"name="
]
},
"then": {
2022-07-26 10:51:14 +02:00
"en": "This stop has no name",
2022-09-10 13:25:18 +02:00
"de": "Die Haltestelle hat keinen Namen",
2022-12-16 13:40:25 +01:00
"da": "Dette stop har intet navn",
2023-01-29 18:02:06 +01:00
"nl": "Deze halte heeft geen naam",
"ca": "Aquesta parada no té nom"
2022-04-06 21:37:31 +02:00
}
}
],
"question": {
2022-07-26 10:51:14 +02:00
"en": "What is the name of this stop?",
2022-09-10 13:25:18 +02:00
"de": "Wie lautet der Name der Haltestelle?",
2022-12-16 13:40:25 +01:00
"da": "Hvad er navnet på dette stop?",
2023-01-29 18:02:06 +01:00
"nl": "Wat is de naam van deze halte?",
"ca": "Quin és el nom d'aquesta parada?"
2022-10-18 19:44:53 +02:00
}
2022-04-06 21:37:31 +02:00
},
"images",
{
"id": "shelter",
"mappings": [
{
"if": "shelter=yes",
"then": {
2022-07-26 10:51:14 +02:00
"en": "This stop has a shelter",
2022-09-10 13:25:18 +02:00
"de": "Die Haltestelle hat einen Unterstand",
2022-12-16 13:40:25 +01:00
"da": "Dette stop har et ly",
2023-01-29 18:02:06 +01:00
"nl": "Deze halte heeft een schuilplaats",
2023-02-23 14:39:08 +01:00
"ca": "Aquesta parada té una coberta",
"fr": "Cet arrêt a un abri"
2022-04-06 21:37:31 +02:00
}
},
{
"if": "shelter=no",
"then": {
2023-01-29 18:02:06 +01:00
"en": "This stop does <b>not</b> have a shelter",
"de": "Die Haltestelle hat <b>keinen</b> Unterstand",
2022-12-16 13:40:25 +01:00
"da": "Dette stop har ikke et ly",
2023-01-29 18:02:06 +01:00
"nl": "Deze halte heeft <b>geen</b> schuilplaats",
2023-02-23 14:39:08 +01:00
"ca": "Aquesta parada <b>no</b> té una coberta",
"fr": "Cet arrêt <b>n'a pas</b> d'abri"
2022-04-06 21:37:31 +02:00
}
},
{
"if": "shelter=separate",
"then": {
2022-07-26 10:51:14 +02:00
"en": "This stop has a shelter, that's separately mapped",
2022-12-16 13:40:25 +01:00
"de": "Die Haltestelle hat einen Unterstand, der separat kariert ist",
"nl": "Deze halte heeft een schuilplaats, die apart op de kaart staat"
2022-04-06 21:37:31 +02:00
},
"hideInAnswer": true
}
],
"question": {
2022-07-26 10:51:14 +02:00
"en": "Does this stop have a shelter?",
2022-09-10 13:25:18 +02:00
"de": "Hat die Haltestelle einen Unterstand?",
2022-12-16 13:40:25 +01:00
"da": "Har dette stop et ly?",
2023-01-29 18:02:06 +01:00
"nl": "Heeft deze halte een schuilplaats?",
2023-02-23 14:39:08 +01:00
"ca": "Aquesta parada té una coberta?",
"fr": "Cet arrêt a-t-il un abri ?"
2022-04-06 21:37:31 +02:00
}
},
{
"id": "bench",
"mappings": [
{
"if": "bench=yes",
"then": {
2022-07-26 10:51:14 +02:00
"en": "This stop has a bench",
2022-09-10 13:25:18 +02:00
"de": "Die Haltestelle hat eine Bank",
2022-10-27 01:50:01 +02:00
"da": "Dette stop har en bænk",
2023-01-29 18:02:06 +01:00
"nl": "Deze halte heeft een zitbank",
2023-02-23 14:39:08 +01:00
"ca": "Aquesta parada té un banc",
"fr": "Cet arrêt a un banc"
2022-04-06 21:37:31 +02:00
}
},
{
"if": "bench=no",
"then": {
2023-01-29 18:02:06 +01:00
"en": "This stop does <b>not</b> have a bench",
"de": "Die Haltestelle hat <b>keine</b> Sitzbank",
2022-10-27 01:50:01 +02:00
"da": "Dette stoppested har ingen bænk",
2023-01-29 18:02:06 +01:00
"nl": "Deze halte heeft <b>geen</b> zitbank",
2023-02-23 14:39:08 +01:00
"ca": "Aquesta parada <b>no</b> té un banc",
"fr": "Cet arrêt <b>n'a pas</b> de banc"
2022-04-06 21:37:31 +02:00
}
},
{
"if": "bench=separate",
"then": {
2022-07-26 10:51:14 +02:00
"en": "This stop has a bench, that's separately mapped",
2022-10-27 01:50:01 +02:00
"de": "Die Haltestelle hat eine Bank, die separat kartiert ist",
"nl": "Deze halte heeft een zitbank, die los aangegeven is op de kaart"
2022-04-06 21:37:31 +02:00
},
"hideInAnswer": true
}
],
"question": {
2022-07-26 10:51:14 +02:00
"en": "Does this stop have a bench?",
2022-09-10 13:25:18 +02:00
"de": "Gibt es an der Haltestelle eine Sitzbank?",
2022-10-27 01:50:01 +02:00
"da": "Har dette stop en bænk?",
2023-01-29 18:02:06 +01:00
"nl": "Heeft deze halte een zitbank?",
"ca": "Aquesta parada té un banc?"
2022-04-06 21:37:31 +02:00
}
},
{
"id": "bin",
"mappings": [
{
"if": "bin=yes",
"then": {
2022-07-26 10:51:14 +02:00
"en": "This stop has a bin",
2022-09-10 13:25:18 +02:00
"de": "Die Haltestelle hat einen Mülleimer",
2022-10-27 01:50:01 +02:00
"da": "Dette stop har en skraldespand",
2023-01-29 18:02:06 +01:00
"nl": "Deze halte heeft een vuilnisbak",
2023-02-23 14:39:08 +01:00
"ca": "Aquesta parada té una paperera",
"fr": "Cet arrêt a un poubelle"
2022-04-06 21:37:31 +02:00
}
},
{
"if": "bin=no",
"then": {
2023-01-29 18:02:06 +01:00
"en": "This stop does <b>not</b> have a bin",
"de": "Die Haltestelle hat <b>keinen</b> Mülleimer",
2022-10-27 01:50:01 +02:00
"da": "Dette stoppested har ikke en skraldespand",
2023-01-29 18:02:06 +01:00
"nl": "Deze halte heeft <b>geen</b> vuilnisbak",
2023-02-23 14:39:08 +01:00
"ca": "Aquesta parada <b>no</b> té paperera",
"fr": "Cet arrêt <b>n'a pas</b> de poubelle"
2022-04-06 21:37:31 +02:00
}
},
{
"if": "bin=separate",
"then": {
2022-07-26 10:51:14 +02:00
"en": "This stop has a bin, that's separately mapped",
2022-10-27 01:50:01 +02:00
"de": "Die Haltestelle hat einen Mülleimer, der separat kartiert ist",
"nl": "Deze heeft een vuilnisbak, die los op de kaart staat"
2022-04-06 21:37:31 +02:00
},
"hideInAnswer": true
}
],
"question": {
2022-07-26 10:51:14 +02:00
"en": "Does this stop have a bin?",
2022-09-10 13:25:18 +02:00
"de": "Hat die Haltestelle einen Mülleimer?",
2022-10-27 01:50:01 +02:00
"da": "Har dette stop en skraldespand?",
2023-01-29 18:02:06 +01:00
"nl": "Heeft deze halte een vuilnisbak?",
"ca": "Aquesta parada té una paperera?"
2022-04-06 21:37:31 +02:00
}
},
"wheelchair-access",
{
"id": "tactile_paving",
"mappings": [
{
"if": "tactile_paving=yes",
"then": {
2022-07-26 10:51:14 +02:00
"en": "This stop has tactile paving",
2023-01-29 18:02:06 +01:00
"de": "Die Haltestelle hat ein taktiles Pflaster",
"ca": "Aquesta parada té una superfície podotàctil",
2023-02-23 14:39:08 +01:00
"nl": "Deze halte heeft een geleidelijn",
"fr": "Cet arrêt a une surface podotactile"
2022-04-06 21:37:31 +02:00
}
},
{
"if": "tactile_paving=no",
"then": {
2023-01-29 18:02:06 +01:00
"en": "This stop does <b>not</b> have tactile paving",
"de": "Die Haltestelle hat <b>kein</b> taktiles Pflaster",
2023-02-12 23:08:57 +01:00
"ca": "Aquesta parada <b>no</b> té superfície podotàctil",
2023-02-23 14:39:08 +01:00
"nl": "Deze halte heeft <b>geen</b> geleidelijn",
"fr": "Cet arrêt <b>n'a pas</b> de surface podotactile"
2022-04-06 21:37:31 +02:00
}
}
],
"question": {
2022-07-26 10:51:14 +02:00
"en": "Does this stop have tactile paving?",
2023-01-29 18:02:06 +01:00
"de": "Hat die Haltestelle hat ein taktiles Pflaster?",
"ca": "Aquesta parada té una superfície podotàctil?",
2023-02-23 14:39:08 +01:00
"nl": "Heeft deze halte een geleidelijn?",
"fr": "Cet arrêt a-t-il une surface podotactile ?"
2022-04-06 21:37:31 +02:00
}
},
{
"id": "lit",
"mappings": [
{
"if": "lit=yes",
"then": {
2022-07-26 10:51:14 +02:00
"en": "This stop is lit",
2022-12-16 13:40:25 +01:00
"de": "Die Haltestelle ist beleuchtet",
2023-01-29 18:02:06 +01:00
"nl": "Deze halte is verlicht",
2023-02-23 14:39:08 +01:00
"ca": "Aquesta parada té il·luminació",
"fr": "Cet arrêt est éclairé"
2022-04-06 21:37:31 +02:00
}
},
{
"if": "lit=no",
"then": {
2023-01-29 18:02:06 +01:00
"en": "This stop is <b>not</b> lit",
"de": "Die Haltestelle hat <b>keine</b> Beleuchtung",
2022-12-16 13:40:25 +01:00
"da": "Dette stop lyser ikke",
2023-01-29 18:02:06 +01:00
"nl": "Deze halte is <b>niet</b> verlicht",
2023-02-23 14:39:08 +01:00
"ca": "Aquesta parada <b>no</b> té il·luminació",
"fr": "Cet arrêt <b>n'est pas</b> éclairé"
2022-04-06 21:37:31 +02:00
}
}
],
"question": {
2022-07-26 10:51:14 +02:00
"en": "Is this stop lit?",
2022-12-16 13:40:25 +01:00
"de": "Ist die Haltestelle beleuchtet?",
2023-01-29 18:02:06 +01:00
"nl": "Is deze halte verlicht?",
2023-02-23 14:39:08 +01:00
"ca": "Aquesta parada té il·luminació?",
"fr": "Cet arrêt est-il éclairé ?"
2022-04-06 21:37:31 +02:00
}
},
{
"id": "departures_board",
"mappings": [
{
"if": "departures_board=yes",
"then": {
2022-07-26 10:51:14 +02:00
"en": "This stop has a departures board of unknown type",
2022-09-10 13:25:18 +02:00
"de": "Die Haltestelle hat einen Fahrplan, der nicht näher definiert ist",
"da": "Dette stoppested har en afgangstavle af ukendt type"
2022-04-06 21:37:31 +02:00
},
"hideInAnswer": true
},
{
"if": "departures_board=realtime",
"then": {
2022-07-26 10:51:14 +02:00
"en": "This stop has a board showing realtime departure information",
2022-09-10 13:25:18 +02:00
"de": "Die Haltestelle hat einen Fahrplan, der Abfahrtszeiten in Echtzeit anzeigt",
2023-02-23 14:39:08 +01:00
"da": "Dette stop har en tavle med oplysninger om afgang i realtid",
"fr": "Cet arrêt a un panneau indiquant les départs en temps réel",
"ca": "Aquesta parada té un tauló amb els horaris en temps real"
2022-04-06 21:37:31 +02:00
}
},
{
"if": "passenger_information_display=yes",
"then": {
2022-07-26 10:51:14 +02:00
"en": "This stop has a board showing realtime departure information",
2022-09-10 13:25:18 +02:00
"de": "Die Haltestelle hat einen Fahrplan, der Abfahrtszeiten in Echtzeit anzeigt",
2023-02-06 00:50:13 +01:00
"da": "Dette stop har en tavle med oplysninger om afgang i realtid",
"ca": "Aquesta parada té un tauló amb els horaris en temps real"
2022-04-06 21:37:31 +02:00
},
"hideInAnswer": true
},
{
"if": "departures_board=timetable",
"then": {
2022-07-26 10:51:14 +02:00
"en": "This stop has a timetable showing regular departures",
2022-09-10 13:25:18 +02:00
"de": "Die Haltestelle hat einen Fahrplan, der die regulären Abfahrtszeiten anzeigt",
"da": "Dette stop har en køreplan, der viser regelmæssige afgange"
2022-04-06 21:37:31 +02:00
}
},
{
"if": "departures_board=interval",
"then": {
2022-07-26 10:51:14 +02:00
"en": "This stop has a timetable containing just the interval between departures",
2022-09-10 13:25:18 +02:00
"de": "Die Haltestelle hat einen Fahrplan, der den Abstand zwischen Abfahrten anzeigt",
"da": "Dette stop har en køreplan, der kun indeholder intervallet mellem afgangene"
2022-04-06 21:37:31 +02:00
}
},
{
"if": "departures_board=no",
"then": {
2023-01-29 18:02:06 +01:00
"en": "This stop does <b>not</b> have a departures board",
"de": "Die Haltestelle hat <b>keinen</b> Fahrplan",
2022-09-10 13:25:18 +02:00
"da": "Dette stop har ikke en afgangstavle"
2022-04-06 21:37:31 +02:00
}
}
]
},
{
"render": {
2022-07-26 10:51:14 +02:00
"en": "<h3>{_contained_routes_count} routes stop at this stop</h3> <ul>{_contained_routes}</ul>",
2022-09-10 13:25:18 +02:00
"de": "<h3>{_contained_routes_count} Linien halten an der Haltestelle</h3> <ul>{_contained_routes}</ul>",
2023-01-29 18:02:06 +01:00
"da": "<h3>{_contained_routes_count} ruter stopper ved dette stoppested</h3> <ul>{_contained_routes}</ul>",
"nl": "<h3>{_contained_routes_count} lijnen stoppen bij deze halte</h3> <ul>{_contained_routes}</ul>",
"ca": "<h3>{_contained_routes_count} rutes paren a aquesta parada</h3> <ul>{_contained_routes}</ul>"
2022-04-06 21:37:31 +02:00
},
"condition": "_contained_routes~*",
"id": "contained_routes"
}
],
2022-10-18 19:44:53 +02:00
"filter": [
{
"id": "shelter",
"options": [
{
"osmTags": {
2022-10-27 01:50:01 +02:00
"or": [
"shelter=yes",
"shelter=separate"
]
2022-10-18 19:44:53 +02:00
},
"question": {
2022-11-02 13:47:34 +01:00
"en": "With a shelter",
2023-02-23 14:39:08 +01:00
"de": "Mit Unterstand",
"fr": "Avec un abri",
"ca": "Amb refugi"
2022-10-18 19:44:53 +02:00
}
}
]
},
{
"id": "bench",
"options": [
{
"osmTags": {
2022-10-27 01:50:01 +02:00
"or": [
"bench=yes",
"bench=separate"
]
2022-10-18 19:44:53 +02:00
},
"question": {
2022-11-02 13:47:34 +01:00
"en": "With a bench",
2023-02-23 14:39:08 +01:00
"de": "Mit Sitzbank",
"fr": "Avec un banc"
2022-10-18 19:44:53 +02:00
}
}
]
},
{
"id": "bin",
"options": [
{
"osmTags": {
2022-10-27 01:50:01 +02:00
"or": [
"bin=yes",
"bin=separate"
]
2022-10-18 19:44:53 +02:00
},
"question": {
2022-11-02 13:47:34 +01:00
"en": "With a bin",
2023-02-23 14:39:08 +01:00
"de": "Mit Mülleimer",
"fr": "Avec un poubelle",
"ca": "Amb paperera"
2022-10-18 19:44:53 +02:00
}
}
]
},
2022-10-22 16:08:13 +02:00
"tactile_paving"
2022-10-18 19:44:53 +02:00
],
2022-04-06 21:37:31 +02:00
"allowMove": false
2022-10-27 01:50:01 +02:00
}