mapcomplete/assets/themes/cyclenodes/cyclenodes.json

184 lines
4.4 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"
},
"language": [
"en",
"de"
],
"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": {
"en": "node to node links"
},
"source": {
"osmTags": {
"and": [
"network=rcn",
2021-11-21 03:48:05 +01:00
"network:type=node_network",
"route=bicycle"
]
}
},
"minzoom": 12,
"title": {
"render": {
"en": "node to node link"
},
"mappings": [
{
"if": "ref~*",
"then": {
"en": "node to node link <strong>{ref}</strong>"
}
}
]
},
2021-11-21 03:48:05 +01:00
"mapRendering": [
{
"width": {
"render": "4"
},
"color": {
"render": "#00a703"
}
}
],
"tagRenderings": [
{
"question": {
"en": "When was this node to node link last surveyed?"
},
"render": {
"en": "This node to node link was last surveyed on {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": "node2node-survey:date"
},
"export_as_gpx"
]
},
{
"id": "node",
"name": {
"en": "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>"
}
},
2021-07-11 12:46:22 +02:00
"presets": [
{
"title": {
"de": "Knotenpunkt"
},
"tags": [
"network:type=node_network"
]
},
{
"title": {
"de": "Knotenpunkt im Netzwerk Spree-Neiße"
},
"tags": [
"network:type=node_network",
"cycle_network=Knotenpunktwegweisung Spree-Neiße"
]
}
],
"tagRenderings": [
{
"question": {
"en": "When was this cycle node last surveyed?"
},
"render": {
"en": "This cycle node was last surveyed on {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": {
"en": "How many other cycle nodes does this node link to?"
},
"render": {
"en": "This node links to {expected_rcn_route_relations} other cycle nodes."
},
"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
}