{
  "id": "walkingnodes",
  "title": {
    "en": "Walking Node Networks",
    "nl": "Wandelknooppuntnetwerken",
    "de": "Netzwerke von Wanderknoten"
  },
  "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",
    "de": "Diese Karte zeigt Wandernetzwerke und ermöglicht es Ihnen, einfach neue Knoten hinzuzufügen",
    "cs": "Tato mapa zobrazuje sítě uzlových bodů a umožňuje snadné přidávání nových uzlů"
  },
  "icon": "./assets/themes/walkingnodes/logo.svg",
  "startZoom": 11,
  "startLat": 51.755515,
  "startLon": 14.327545,
  "credits": [
    "Sebastian Kürten"
  ],
  "hideFromOverview": true,
  "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": [
            {
              "or": [
                "route=hiking",
                "route=foot"
              ]
            },
            "network=rwn",
            "network:type=node_network"
          ]
        }
      },
      "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": {
            "render": "#452b29",
            "mappings": [
              {
                "if": "state=proposed",
                "then": "#f0a513"
              }
            ]
          }
        }
      ],
      "pointRendering": null,
      "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": {
          "or": [
            "rwn_ref~*",
            "proposed:rwn_ref~*"
          ]
        }
      },
      "pointRendering": [
        {
          "location": [
            "point",
            "centroid"
          ],
          "label": {
            "render": "<div style='position: absolute; top: -30px; right: -10px; color: white; background-color: #452b29; width: 20px; height: 20px; border-radius: 100%'>?</div>",
            "mappings": [
              {
                "if": "rwn_ref~*",
                "then": "<div style='position: absolute; top: -30px; right: -10px; color: white; background-color: #452b29; width: 20px; height: 20px; border-radius: 100%'>{rwn_ref}</div>"
              },
              {
                "if": "proposed:rwn_ref~*",
                "then": "<div style='position: absolute; top: -31px; right: -10px; color: white; background-color: #452b29; width: 22px; height: 22px; border-radius: 100%; border-style:dotted; border-color:white; border-width: 2px'>{proposed:rwn_ref}</div>"
              }
            ]
          }
        }
      ],
      "minzoom": 12,
      "title": {
        "render": {
          "en": "Walking node",
          "nl": "Wandelknooppunt",
          "de": "Wanderknoten"
        },
        "mappings": [
          {
            "if": "rwn_ref~*",
            "then": {
              "en": "Walking node <strong>{rwn_ref}</strong>",
              "nl": "Wandelknooppunt <strong>{rwn_ref}</strong>",
              "de": "Wanderknoten <strong>{rwn_ref}</strong>"
            }
          },
          {
            "if": "proposed:rwn_ref~*",
            "then": {
              "en": "Proposed walking node <strong>{proposed:rwn_ref}</strong>",
              "nl": "Voorgesteld wandelknooppunt <strong>{proposed:rwn_ref}</strong>",
              "de": "Vorgeschlagener Wanderknoten <strong>{proposed: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?",
            "de": "Was ist die Referenznummer dieses Wanderknotens?",
            "cs": "Jaké je referenční číslo tohoto pěšího uzlu?"
          },
          "freeform": {
            "key": "rwn_ref",
            "type": "int",
            "placeholder": {
              "en": "e.g. 1",
              "nl": "bijv. 1",
              "de": "z.B. 1",
              "cs": "e.g. 1"
            }
          },
          "render": {
            "en": "This walking node has reference number {rwn_ref}",
            "nl": "Dit wandelknooppunt heeft referentienummer {rwn_ref}",
            "de": "Dieser Wanderknoten hat die Referenznummer {rwn_ref}"
          },
          "condition": "rwn_ref~*"
        },
        {
          "builtin": "survey_date",
          "override": {
            "question": {
              "en": "When was this walking node last surveyed?",
              "nl": "Wanneer is dit wandelknooppunt het laatst gesurveyed?",
              "de": "Wann wurde dieser Wanderknoten zuletzt überprüft?"
            },
            "render": {
              "en": "This walking node was last surveyed on {survey:date}",
              "nl": "Dit wandelknooppunt werd het laatst gesurveyed op {survey:date}",
              "de": "Dieser Wanderknoten wurde zuletzt am {survey:date} überprüft"
            }
          }
        },
        {
          "question": {
            "en": "How many other walking nodes does this node link to?",
            "nl": "Met hoeveel andere wandelknooppunten heeft dit knooppunt een verbinding?",
            "de": "Mit wie vielen anderen Wanderknoten ist dieser Knoten verbunden?",
            "cs": "S kolika dalšími pěšími uzly je tento uzel propojen?"
          },
          "render": {
            "en": "This node links to {expected_rwn_route_relations} other walking nodes.",
            "nl": "Dit knooppunt verbindt met {expected_rwn_route_relations} andere wandelknooppunten.",
            "de": "Dieser Knoten ist mit {expected_rwn_route_relations} anderen Wanderknoten verbunden."
          },
          "freeform": {
            "key": "expected_rwn_route_relations",
            "type": "int",
            "placeholder": {
              "en": "e.g. 3",
              "nl": "bijv. 3",
              "de": "z.B. 3",
              "cs": "e.g. 3"
            }
          },
          "id": "node-expected_rwn_route_relations"
        },
        "images"
      ],
      "presets": [
        {
          "tags": [
            "rwn_ref=?",
            "network:type=node_network"
          ],
          "title": {
            "en": "a walking node",
            "nl": "een wandelknooppunt",
            "de": "ein Wanderknoten"
          },
          "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",
          "de": "Wanderwegweiser"
        },
        "title": {
          "render": {
            "en": "Hiking guidepost",
            "de": "Wanderwegweiser"
          }
        }
      },
      "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",
              "de": "Eine Routenmarkierung für eine Verbindung von Knoten zu Knoten"
            },
            "=exampleImages": [
              "./assets/layers/route_marker/walking_route_marker.jpg"
            ]
          }
        ]
      }
    },
    {
      "builtin": "cycleways_and_roads",
      "override": {
        "name": null,
        "shownByDefault": false
      }
    }
  ]
}