Merge develop

This commit is contained in:
Pieter Vander Vennet 2023-10-30 16:32:43 +01:00
commit 29ff09024f
287 changed files with 14955 additions and 4036 deletions

View file

@ -0,0 +1,20 @@
[
{
"path": "logo.svg",
"license": "GPL-3.0-only",
"authors": [
"sebkur"
],
"sources": [
"https://github.com/mobanisto/MapComplete/commit/1aeb1fdb5b09908d67907f3c816152bfebfdcc79"
]
},
{
"path": "route_marker.svg",
"license": "CC0-1.0",
"authors": [
"Robin van der Linde"
],
"sources": []
}
]

View file

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="375px" height="375px" viewBox="0 0 375 375" version="1.1">
<defs>
<g>
<symbol overflow="visible" id="glyph0-0">
<path style="stroke:none;" d="M 9.484375 -65.171875 L 61.515625 -65.171875 L 61.515625 0 L 9.484375 0 Z M 13 -61.65625 L 13 -3.515625 L 58 -3.515625 L 58 -61.65625 Z M 13 -61.65625 "/>
</symbol>
<symbol overflow="visible" id="glyph0-1">
<path style="stroke:none;" d="M 4.765625 0 L 4.765625 -5.875 C 6.335938 -9.476562 8.253906 -12.660156 10.515625 -15.421875 C 12.785156 -18.179688 15.171875 -20.679688 17.671875 -22.921875 C 20.171875 -25.160156 22.644531 -27.234375 25.09375 -29.140625 C 27.539062 -31.054688 29.75 -32.96875 31.71875 -34.875 C 33.695312 -36.789062 35.296875 -38.796875 36.515625 -40.890625 C 37.734375 -42.984375 38.34375 -45.359375 38.34375 -48.015625 C 38.34375 -51.585938 37.296875 -54.359375 35.203125 -56.328125 C 33.109375 -58.304688 30.191406 -59.296875 26.453125 -59.296875 C 22.910156 -59.296875 19.988281 -58.332031 17.6875 -56.40625 C 15.394531 -54.476562 14.046875 -51.773438 13.640625 -48.296875 L 5.140625 -49.078125 C 5.753906 -54.285156 7.960938 -58.429688 11.765625 -61.515625 C 15.578125 -64.597656 20.472656 -66.140625 26.453125 -66.140625 C 33.023438 -66.140625 38.078125 -64.585938 41.609375 -61.484375 C 45.140625 -58.390625 46.90625 -53.992188 46.90625 -48.296875 C 46.90625 -45.765625 46.328125 -43.25 45.171875 -40.75 C 44.015625 -38.25 42.296875 -35.75 40.015625 -33.25 C 37.734375 -30.757812 33.367188 -26.890625 26.921875 -21.640625 C 23.378906 -18.742188 20.554688 -16.128906 18.453125 -13.796875 C 16.359375 -11.472656 14.847656 -9.234375 13.921875 -7.078125 L 47.921875 -7.078125 L 47.921875 0 Z M 4.765625 0 "/>
</symbol>
<symbol overflow="visible" id="glyph0-2">
<path style="stroke:none;" d="M 48.703125 -21.234375 C 48.703125 -14.359375 46.660156 -8.945312 42.578125 -5 C 38.492188 -1.050781 32.828125 0.921875 25.578125 0.921875 C 19.503906 0.921875 14.597656 -0.398438 10.859375 -3.046875 C 7.128906 -5.703125 4.773438 -9.546875 3.796875 -14.578125 L 12.21875 -15.546875 C 13.96875 -9.097656 18.484375 -5.875 25.765625 -5.875 C 30.234375 -5.875 33.734375 -7.222656 36.265625 -9.921875 C 38.796875 -12.617188 40.0625 -16.328125 40.0625 -21.046875 C 40.0625 -25.148438 38.785156 -28.460938 36.234375 -30.984375 C 33.691406 -33.515625 30.265625 -34.78125 25.953125 -34.78125 C 23.703125 -34.78125 21.601562 -34.425781 19.65625 -33.71875 C 17.71875 -33.007812 15.773438 -31.804688 13.828125 -30.109375 L 5.6875 -30.109375 L 7.859375 -65.171875 L 44.921875 -65.171875 L 44.921875 -58.09375 L 15.453125 -58.09375 L 14.203125 -37.421875 C 17.804688 -40.191406 22.289062 -41.578125 27.65625 -41.578125 C 34.070312 -41.578125 39.179688 -39.695312 42.984375 -35.9375 C 46.796875 -32.175781 48.703125 -27.273438 48.703125 -21.234375 Z M 48.703125 -21.234375 "/>
</symbol>
</g>
</defs>
<g id="surface1">
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(66.666669%,66.666669%,66.666669%);fill-opacity:1;" d="M 171.210938 241.640625 L 203.789062 241.640625 L 203.789062 375 L 171.210938 375 Z M 171.210938 241.640625 "/>
<path style="fill:none;stroke-width:2.645833;stroke-linecap:round;stroke-linejoin:round;stroke:#452b29;stroke-opacity:1;stroke-miterlimit:4;" d="M 55.107742 115.305972 L 12.351349 115.478227 L 5.899374 106.073116 L 12.297606 96.628042 L 55.055376 96.455787 Z M 55.107742 115.305972 " transform="matrix(2.834646,0,0,2.834646,0.0000216266,0)"/>
<path style="fill:none;stroke-width:2.645833;stroke-linecap:round;stroke-linejoin:round;stroke:#452b29;stroke-opacity:1;stroke-miterlimit:4;" d="M 77.183915 96.628042 L 119.940307 96.455787 L 126.392282 105.860898 L 119.994051 115.305972 L 77.23628 115.478227 Z M 77.183915 96.628042 " transform="matrix(2.834646,0,0,2.834646,0.0000216266,0)"/>
<path style=" stroke:none;fill-rule:nonzero;fill:#452b29;fill-opacity:1;" d="M 97.707031 25.722656 L 277.292969 25.722656 C 287.296875 25.722656 295.40625 33.832031 295.40625 43.835938 L 295.40625 223.527344 C 295.40625 233.53125 287.296875 241.640625 277.292969 241.640625 L 97.707031 241.640625 C 87.703125 241.640625 79.59375 233.53125 79.59375 223.527344 L 79.59375 43.835938 C 79.59375 33.832031 87.703125 25.722656 97.707031 25.722656 Z M 97.707031 25.722656 "/>
<path style="fill:none;stroke-width:1.314561;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(94.509804%,94.509804%,94.509804%);stroke-opacity:1;stroke-miterlimit:4;" d="M 79.472401 210.601225 C 79.472401 220.491246 71.454946 228.508701 61.564925 228.508701 C 51.674905 228.508701 43.657449 220.491246 43.657449 210.601225 C 43.657449 200.71206 51.674905 192.694605 61.564925 192.694605 C 71.454946 192.694605 79.472401 200.71206 79.472401 210.601225 Z M 79.472401 210.601225 " transform="matrix(4.56426,0,0,4.56426,-93.49832,-827.55904)"/>
<g style="fill:rgb(100%,100%,100%);fill-opacity:1;">
<use xlink:href="#glyph0-1" x="135.285156" y="167.144332"/>
<use xlink:href="#glyph0-2" x="190.056275" y="167.144332"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.1 KiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: sebkur
SPDX-License-Identifier: GPL-3.0-only

View file

@ -0,0 +1,6 @@
<svg width="500" height="500" viewBox="0 0 500 500" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="500" height="500" rx="50" fill="#D9D9D9"/>
<rect x="32.5" y="32.5" width="435" height="435" rx="42.5" stroke="#452B29" stroke-width="15"/>
<circle cx="250" cy="250" r="172.5" stroke="#452B29" stroke-width="15"/>
<path d="M125 235C116.716 235 110 241.716 110 250C110 258.284 116.716 265 125 265V235ZM385.607 260.607C391.464 254.749 391.464 245.251 385.607 239.393L290.147 143.934C284.289 138.076 274.792 138.076 268.934 143.934C263.076 149.792 263.076 159.289 268.934 165.147L353.787 250L268.934 334.853C263.076 340.711 263.076 350.208 268.934 356.066C274.792 361.924 284.289 361.924 290.147 356.066L385.607 260.607ZM125 265H375V235H125V265Z" fill="#452B29"/>
</svg>

After

Width:  |  Height:  |  Size: 779 B

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: Robin van der Linde
SPDX-License-Identifier: CC0-1.0

View file

@ -0,0 +1,297 @@
{
"id": "walkingnodes",
"title": {
"en": "Walking Node Networks",
"nl": "Wandelknooppuntnetwerken"
},
"description": {
"en": "This map shows walking node networks and allows you to add new nodes easily",
"nl": "Deze kaart toont wandelknooppunten en laat je toe om eenvoudigweg nieuwe knooppunten toe te voegen"
},
"icon": "./assets/themes/walkingnodes/logo.svg",
"hideFromOverview": true,
"startLat": 51.755515,
"startLon": 14.327545,
"startZoom": 11,
"layers": [
{
"id": "node2node",
"name": {
"en": "Node to node links",
"de": "Knotenpunktverbindungen",
"es": "enlaces nodo a nodo",
"nl": "Verbindingen van node naar node",
"fr": "liens noeud à noeud",
"ca": "enllaços node a node",
"cs": "propojení mezi uzly",
"pl": "łącza węzeł do węzła"
},
"source": {
"osmTags": {
"and": [
"network=rwn",
"network:type=node_network",
"route=foot"
]
}
},
"minzoom": 12,
"title": {
"render": {
"en": "Node to node link",
"de": "Knotenpunktverbindung",
"es": "enlace nodo a nodo",
"nl": "Node-naar-node verbinding",
"fr": "lien noeud à noeud",
"ca": "Enllaç node a node",
"cs": "propojení mezi uzly",
"pl": "połączenie węzła z węzłem"
},
"mappings": [
{
"if": "ref~*",
"then": {
"en": "Node to node link <strong>{ref}</strong>",
"de": "Knotenpunktverbindung <strong>{ref}</strong>",
"es": "enlace nodo a nodo <strong>{ref}</strong>",
"nl": "Node-naar-node verbinding <strong>{ref}</strong>",
"fr": "lien noeud à noeud <strong>{ref}</strong>",
"ca": "Enllaç node a node <strong>{ref}</strong>",
"cs": "propojení mezi uzly <strong>{ref}</strong>",
"pl": "połączenie węzła z węzłem <strong>{ref}</strong>"
}
}
]
},
"lineRendering": [
{
"width": "4",
"color": "#452b29"
}
],
"tagRenderings": [
{
"builtin": "survey_date",
"override": {
"question": {
"en": "When was this node to node link last surveyed?",
"de": "Wann wurde diese Knotenpunktverbindung zuletzt überprüft?",
"es": "¿Cuándo se sondeó este enlace nodo a nodo por última vez?",
"nl": "Wanneer werd deze node-naar-node verbinding het laast gesurveyed?",
"fr": "Quand cette liaison de nœud à nœud a-t-elle été contrôlée sur le terrain pour la dernière fois ?",
"ca": "Quan es va comprovar per última vegada aquest enllaç node a node presencialment?",
"cs": "Kdy bylo toto propojení mezi uzly naposledy zkontrolováno?",
"pl": "Kiedy ostatnio badano to połączenie węzła z węzłem?"
},
"render": {
"en": "This node to node link was last surveyed on {survey:date}",
"de": "Diese Knotenpunktverbindung wurde zuletzt am {survey:date} überprüft",
"es": "Este enlace nodo a nodo se sondeó por última vez el {survey:date}",
"nl": "Deze node-naar-node verbinding werd het laast gesurveyed op {survey:date}",
"fr": "Cette lien de nœud à nœud a été vérifié sur le terrain le {survey:date}",
"ca": "Aquest enllaç node a node es va sondejar per última vegada el {survey:date}",
"cs": "Toto propojení mezi uzly bylo naposledy zkontrolováno dne {survey:date}",
"pl": "To połączenie węzła z węzłem było ostatnio sprawdzane w dniu {survey:date}"
}
},
"id": "node2node-survey:date"
},
"export_as_gpx"
]
},
{
"id": "node",
"name": {
"en": "Nodes",
"de": "Knotenpunkte",
"ca": "nodes",
"es": "nodos",
"nb_NO": "noder",
"nl": "Knooppunten",
"fr": "noeuds",
"pa_PK": "نوڈ",
"cs": "uzly",
"eu": "nodoak",
"pl": "węzły"
},
"source": {
"osmTags": {
"and": [
"rwn_ref~*"
]
}
},
"pointRendering": [
{
"location": [
"point",
"centroid"
],
"label": {
"mappings": [
{
"if": "rwn_ref~*",
"then": "<div style='position: absolute; top: -10px; right: -10px; color: white; background-color: #452b29; width: 20px; height: 20px; border-radius: 100%'>{rwn_ref}</div>"
},
{
"if": "rwn_ref=",
"then": "<div style='position: absolute; top: -10px; right: -10px; color: white; background-color: #452b29; width: 20px; height: 20px; border-radius: 100%'>?</div>"
}
]
}
}
],
"minzoom": 12,
"title": {
"render": {
"en": "Walking node <strong>{rwn_ref}</strong>",
"nl": "Wandelknooppunt <strong>{rwn_ref}</strong>"
}
},
"tagRenderings": [
{
"id": "node-rwn_ref",
"question": {
"en": "What is the reference number of this walking node?",
"nl": "Wat is het referentienummer van dit wandelknooppunt?"
},
"freeform": {
"key": "rwn_ref",
"type": "int",
"placeholder": {
"en": "e.g. 1",
"nl": "bijv. 1"
}
},
"render": {
"en": "This walking node has reference number {rwn_ref}",
"nl": "Dit wandelknooppunt heeft referentienummer {rwn_ref}"
}
},
{
"builtin": "survey_date",
"override": {
"question": {
"en": "When was this walking node last surveyed?",
"nl": "Wanneer is dit wandelknooppunt het laatst gesurveyed?"
},
"render": {
"en": "This walking node was last surveyed on {survey:date}",
"nl": "Dit wandelknooppunt werd het laatst gesurveyed op {survey:date}"
}
}
},
{
"question": {
"en": "How many other walking nodes does this node link to?",
"nl": "Met hoeveel andere wandelknooppunten heeft dit knooppunt een verbinding?"
},
"render": {
"en": "This node links to {expected_rwn_route_relations} other walking nodes.",
"nl": "Dit knooppunt verbindt met {expected_rwn_route_relations} andere wandelknooppunten."
},
"freeform": {
"key": "expected_rwn_route_relations",
"type": "int",
"placeholder": {
"en": "e.g. 3",
"nl": "bijv. 3"
}
},
"id": "node-expected_rwn_route_relations"
},
"images"
],
"presets": [
{
"tags": [
"rwn_ref=?",
"network:type=node_network"
],
"title": {
"en": "a walking node",
"nl": "een wandelknooppunt"
},
"snapToLayer": [
"cycleways_and_roads"
]
}
]
},
{
"builtin": [
"guidepost"
],
"override": {
"minzoom": 16,
"source": {
"osmTags": {
"and": [
"information=guidepost",
"hiking=yes"
]
}
},
"presets": [
{
"tags": [
"tourism=information",
"information=guidepost",
"hiking=yes"
]
}
],
"name": {
"en": "Hiking guideposts"
},
"title": {
"render": {
"en": "Hiking guidepost"
}
}
},
"hideTagRenderingsWithLabels": [
"type"
]
},
{
"builtin": "route_marker",
"override": {
"minzoom": 16,
"pointRendering": [
{
"marker": [
{
"icon": "./assets/themes/walkingnodes/route_marker.svg"
}
]
}
],
"presets": [
{
"tags": [
"tourism=information",
"information=route_marker",
"network:type=node_network",
"hiking=yes"
],
"title": {
"en": "a route marker for a node to node link"
},
"=exampleImages": [
"./assets/layers/route_marker/walking_route_marker.jpg"
]
}
]
}
},
{
"builtin": "cycleways_and_roads",
"override": {
"name": null,
"shownByDefault": false
}
}
],
"credits": "Sebastian Kürten"
}