mapcomplete/assets/themes/cyclenodes/cyclenodes.json

171 lines
No EOL
4.7 KiB
JSON

{
"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",
"hideFromOverview": true,
"startLat": 51.755515,
"startLon": 14.327545,
"startZoom": 11,
"widenFactor": 0.05,
"clustering": {
"maxZoom": 11,
"minNeededElements": 1000000
},
"layers": [
{
"id": "node2node",
"name": {
"en": "node to node links",
"de": "Knotenpunktverbindungen"
},
"source": {
"osmTags": {
"and": [
"network=rcn",
"network:type=node_network",
"route=bicycle"
]
}
},
"minzoom": 12,
"title": {
"render": {
"en": "node to node link",
"de": "Knotenpunktverbindung"
},
"mappings": [
{
"if": "ref~*",
"then": {
"en": "node to node link <strong>{ref}</strong>",
"de": "Knotenpunktverbindung <strong>{ref}</strong>"
}
}
]
},
"mapRendering": [
{
"width": {
"render": "4"
},
"color": {
"render": "#00a703"
}
}
],
"tagRenderings": [
{
"question": {
"en": "When was this node to node link last surveyed?",
"de": "Wann wurde diese Knotenpunktverbindung zuletzt überprüft?"
},
"render": {
"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!"
}
],
"id": "node2node-survey:date"
},
"export_as_gpx"
]
},
{
"id": "node",
"name": {
"en": "nodes",
"de": "Knotenpunkte"
},
"source": {
"osmTags": {
"and": [
"rcn_ref~*"
]
}
},
"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": {
"en": "cycle node <strong>{rcn_ref}</strong>",
"de": "Knotenpunkt <strong>{rcn_ref}</strong>"
}
},
"tagRenderings": [
{
"question": {
"en": "When was this cycle node last surveyed?",
"de": "Wann wurde dieser Fahrradknotenpunkt zuletzt überprüft?"
},
"render": {
"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!"
}
],
"id": "node-survey:date"
},
{
"question": {
"en": "How many other cycle nodes does this node link to?",
"de": "Mit wie vielen anderen Knoten des Fahrradknotenpunktnetzwerkes ist dieser Knoten verbunden?"
},
"render": {
"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"
},
"id": "node-expected_rcn_route_relations"
},
"images"
]
}
]
}