mapcomplete/assets/themes/cyclenodes/cyclenodes.json

172 lines
4.7 KiB
JSON
Raw Normal View History

{
"id": "cyclenodes",
"title": {
"en": "Cycle Node Networks",
"de": "Fahrrad-Knotenpunktnetzwerke"
},
"description": {
"en": "This map shows cycle node networks and allows you to add new nodes easily",
"de": "Diese Karte zeigt Knotenpunktnetzwerke für Radfahrer und erlaubt auch neue Knoten zu mappen"
},
"maintainer": "Sebastian Kürten",
"icon": "./assets/themes/cyclenodes/logo.svg",
"version": "0",
2021-11-21 03:48:05 +01:00
"hideFromOverview": true,
"startLat": 51.755515,
"startLon": 14.327545,
"startZoom": 11,
"widenFactor": 0.05,
2021-11-21 03:48:05 +01:00
"clustering": {
"maxZoom": 11,
"minNeededElements": 1000000
},
"layers": [
{
"id": "node2node",
"name": {
2022-01-06 15:37:57 +01:00
"en": "node to node links",
"de": "Knotenpunktverbindungen"
},
"source": {
"osmTags": {
"and": [
"network=rcn",
2021-11-21 03:48:05 +01:00
"network:type=node_network",
"route=bicycle"
]
}
},
"minzoom": 12,
"title": {
"render": {
2022-01-06 15:37:57 +01:00
"en": "node to node link",
"de": "Knotenpunktverbindung"
},
"mappings": [
{
"if": "ref~*",
"then": {
2022-01-06 15:37:57 +01:00
"en": "node to node link <strong>{ref}</strong>",
"de": "Knotenpunktverbindung <strong>{ref}</strong>"
}
}
]
},
2021-11-21 03:48:05 +01:00
"mapRendering": [
{
"width": {
"render": "4"
},
"color": {
"render": "#00a703"
}
}
],
"tagRenderings": [
{
"question": {
2022-01-06 15:37:57 +01:00
"en": "When was this node to node link last surveyed?",
"de": "Wann wurde diese Knotenpunktverbindung zuletzt überprüft?"
},
"render": {
2022-01-06 15:37:57 +01:00
"en": "This node to node link was last surveyed on {survey:date}",
"de": "Diese Knotenpunktverbindung wurde zuletzt am {survey:date} überprüft"
},
"freeform": {
"key": "survey:date",
"type": "date"
},
"mappings": [
{
"if": "survey:date:={_now:date}",
"then": "Surveyed today!"
}
2021-11-21 03:48:05 +01:00
],
"id": "node2node-survey:date"
},
"export_as_gpx"
]
},
{
"id": "node",
"name": {
2022-01-06 15:37:57 +01:00
"en": "nodes",
2022-04-13 18:42:40 +02:00
"de": "Knotenpunkte",
"ca": "nodes"
},
"source": {
2021-07-11 12:46:22 +02:00
"osmTags": {
2021-11-21 03:48:05 +01:00
"and": [
2021-07-11 12:46:22 +02:00
"rcn_ref~*"
]
}
},
2021-11-21 03:48:05 +01:00
"mapRendering": [
{
"location": [
"point",
"centroid"
],
"label": {
"mappings": [
{
"if": "rcn_ref~*",
"then": "<div style='position: absolute; top: 10px; right: 10px; color: white; background-color: #00a703; width: 20px; height: 20px; border-radius: 100%'>{rcn_ref}</div>"
},
{
"if": "rcn_ref=",
"then": "<div style='position: absolute; top: 10px; right: 10px; color: white; background-color: #00a703; width: 20px; height: 20px; border-radius: 100%'>?</div>"
}
]
}
}
],
"minzoom": 12,
"title": {
"render": {
2021-07-11 12:46:22 +02:00
"en": "cycle node <strong>{rcn_ref}</strong>",
"de": "Knotenpunkt <strong>{rcn_ref}</strong>"
}
},
"tagRenderings": [
{
"question": {
2022-01-06 15:37:57 +01:00
"en": "When was this cycle node last surveyed?",
"de": "Wann wurde dieser Fahrradknotenpunkt zuletzt überprüft?"
},
"render": {
2022-01-06 15:37:57 +01:00
"en": "This cycle node was last surveyed on {survey:date}",
"de": "Dieser Fahrradknoten wurde zuletzt überprüft am {survey:date}"
},
"freeform": {
"key": "survey:date",
"type": "date"
},
"mappings": [
{
"if": "survey:date:={_now:date}",
"then": "Surveyed today!"
}
2021-11-21 03:48:05 +01:00
],
"id": "node-survey:date"
},
{
"question": {
2022-01-06 15:37:57 +01:00
"en": "How many other cycle nodes does this node link to?",
"de": "Mit wie vielen anderen Knoten des Fahrradknotenpunktnetzwerkes ist dieser Knoten verbunden?"
},
"render": {
2022-01-06 15:37:57 +01:00
"en": "This node links to {expected_rcn_route_relations} other cycle nodes.",
"de": "Dieser Knoten ist mit {expected_rcn_route_relations} anderen Knoten des Fahrradknotenpunktnetzwerkes verbunden."
},
"freeform": {
"key": "expected_rcn_route_relations",
"type": "int"
2021-11-21 03:48:05 +01:00
},
"id": "node-expected_rcn_route_relations"
},
"images"
]
}
]
2021-11-21 03:48:05 +01:00
}