MapComplete/assets/layers/mobility_hub/mobility_hub.json

256 lines
No EOL
7 KiB
JSON

{
"credits": "Robin van der Linde",
"minzoom": 8,
"pointRendering": [
{
"location": [
"point",
"centroid"
],
"marker": [
{
"icon": {
"mappings": [
{
"if": "network=Hoppin",
"then": "square_rounded"
}
]
},
"color": "white"
},
{
"icon": {
"mappings": [
{
"if": {
"and": [
"_country=nl",
"network!=Groningen-Drenthe"
]
},
"then": "./assets/layers/mobility_hub/logo-hub.svg"
},
{
"if": "network=Groningen-Drenthe",
"then": "./assets/layers/mobility_hub/hub-gd.svg"
},
{
"if": "network=Hoppin",
"then": "./assets/layers/mobility_hub/logo-hoppin.svg"
}
],
"render": "./assets/layers/mobility_hub/hub.svg"
}
}
],
"anchor": {
"render": "bottom",
"mappings": [
{
"if": "network=Groningen-Drenthe",
"then": "center"
}
]
}
}
],
"tagRenderings": [
"images",
{
"question": {
"en": "What is the name of this mobility hub?",
"nl": "Wat is de naam van deze mobiliteitshub?"
},
"id": "name",
"render": {
"en": "This mobility hub is called {name}",
"nl": "Deze mobiliteitshub heet {name}"
},
"freeform": {
"key": "name",
"type": "string",
"placeholder": {
"en": "Name of the mobility hub",
"nl": "Naam van de mobiliteitshub"
}
}
},
{
"question": {
"en": "To which network does this mobility hub belong to?",
"nl": "Bij welk netwerk hoort deze mobiliteitshub?"
},
"id": "network",
"freeform": {
"key": "network",
"type": "string",
"placeholder": {
"en": "Network for this mobility hub",
"nl": "Netwerk van deze mobiliteitshub"
},
"addExtraTags": [
"network:wikidata="
]
},
"render": {
"en": "This mobility hub belongs to the network {network}",
"nl": "Deze mobiliteitshub hoort bij het netwerk {network}"
},
"mappings": [
{
"if": "network=Groningen-Drenthe",
"then": {
"en": "This mobility hub belongs to the Groningen-Drenthe network",
"nl": "Deze mobiliteitshub hoort bij het netwerk Groningen-Drenthe"
},
"hideInAnswer": "_country!=nl",
"icon": "./assets/layers/mobility_hub/hub-gd.svg",
"addExtraTags": [
"network:wikidata=Q108742233"
]
},
{
"if": "network=Hoppin",
"then": {
"en": "This mobility hub belongs to the Hoppin network",
"nl": "Deze mobiliteitshub hoort bij het Hoppin netwerk"
},
"hideInAnswer": "_country!=be",
"icon": "./assets/layers/mobility_hub/logo-hoppin.svg",
"addExtraTags": [
"network:wikidata=Q124310711"
]
},
{
"if": "network=Jelbi",
"then": {
"en": "This mobility hub belongs to the Jelbi network",
"nl": "Deze mobiliteitshub hoort bij het Jelbi netwerk"
},
"hideInAnswer": "_country!=de",
"addExtraTags": [
"network:wikidata=Q110948933"
]
}
]
},
"website",
{
"id": "physical_marker",
"question": {
"en": "What kind of physical marker is used to mark this mobility hub?",
"nl": "Wat voor fysieke markering is er voor deze mobiliteitshub?"
},
"mappings": [
{
"if": {
"and": [
"tourism=information",
"information=board"
]
},
"then": {
"en": "This mobility hub is marked by a board, containing information about the hub",
"nl": "Deze mobiliteitshub is gemarkeerd door een bord, met informatie over de hub"
}
},
{
"if": {
"and": [
"tourism=information",
"information=terminal"
]
},
"then": {
"en": "This mobility hub is marked by a sign with an electronic display",
"nl": "Deze mobiliteitshub is gemarkeerd door een bord met een elektronisch display"
}
},
{
"if": {
"and": [
"tourism=information",
"information=sign"
]
},
"then": {
"en": "This mobility hub is marked by a simple sign showing only basic information like the logo or name",
"nl": "Deze mobiliteitshub is gemarkeerd door een eenvoudig bord met alleen simpele informatie zoals het logo of de naam"
}
}
]
}
],
"lineRendering": [
{
"width": 1,
"color": {
"render": "#00b26b",
"mappings": [
{
"if": "network=Groningen-Drenthe",
"then": "#0077db"
},
{
"if": "network=Jelbi",
"then": "#f0d722"
}
]
}
}
],
"credits:uid": 5093765,
"id": "mobility_hub",
"name": {
"en": "Mobility Hubs",
"nl": "Mobiliteitshubs"
},
"source": {
"osmTags": "amenity=mobility_hub"
},
"description": {
"en": "Mobility hubs are places where different kinds of transit meet, making it easy to switch between them. These places are usually part of a larger network or system.",
"nl": "Mobiliteitshubs zijn plaatsen waar verschillende soorten vervoer bij elkaar komen, waardoor het makkelijk is om te wisselen van vervoer. Deze plaatsen maken meestal deel uit van een groter netwerk of systeem."
},
"title": {
"render": {
"en": "Mobility hub",
"nl": "Mobiliteitshub"
},
"mappings": [
{
"if": "name~.*",
"then": {
"en": "Mobility hub {name}",
"nl": "Mobiliteitshub {name}"
}
}
]
},
"presets": [
{
"title": {
"en": "a mobility hub",
"nl": "een mobiliteitshub"
},
"tags": [
"amenity=mobility_hub",
"tourism=information"
],
"description": {
"en": "A mobility hub which is marked by a physical sign, usually with a logo.",
"nl": "Een mobiliteitshub die gemarkeerd is door een fysiek bord, meestal met een logo."
},
"exampleImages": [
"./assets/layers/mobility_hub/hub-gd-sign.jpg",
"./assets/layers/mobility_hub/hoppin.jpg",
"./assets/layers/mobility_hub/Mobil.punkt.jpg"
]
}
],
"allowMove": {
"enableImproveAccuracy": true,
"enableRelocation": false
}
}