Add examples, minor details to node networks

This commit is contained in:
Robin van der Linde 2023-10-21 18:44:09 +02:00
parent d92dff76e0
commit fb3c37f558
Signed by: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D
9 changed files with 148 additions and 16 deletions

View file

@ -48,6 +48,50 @@
}
],
"tagRenderings": [
"images"
"images",
{
"id": "type",
"question": {
"en": "What kind of routes are shown on this guidepost?"
},
"multiAnswer": true,
"mappings": [
{
"if": "bicycle=yes",
"ifnot": "bicycle=",
"then": {
"en": "This guidepost shows bicycle routes"
}
},
{
"if": "hiking=yes",
"ifnot": "hiking=",
"then": {
"en": "This guidepost shows hiking routes"
}
},
{
"if": "mtb=yes",
"ifnot": "mtb=",
"then": {
"en": "This guidepost shows mountain bike routes"
}
},
{
"if": "horse=yes",
"ifnot": "horse=",
"then": {
"en": "This guidepost shows horse riding routes"
}
},
{
"if": "ski=yes",
"ifnot": "ski=",
"then": {
"en": "This guidepost shows ski routes"
}
}
]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: Segubi
SPDX-License-Identifier: CC0-1.0

View file

@ -1,4 +1,14 @@
[
{
"path": "bicycle_route_marker.jpg",
"license": "CC0-1.0",
"authors": [
"Segubi"
],
"sources": [
"https://wiki.openstreetmap.org/wiki/File:Route_marker_Germany_Zwischenwegweiser_Radverkehrsnetz_NRW.jpg"
]
},
{
"path": "route_marker.svg",
"license": "CC0-1.0",
@ -6,5 +16,13 @@
"Robin van der Linde"
],
"sources": []
},
{
"path": "walking_route_marker.jpg",
"license": "CC0-1.0",
"authors": [
"Robin van der Linde"
],
"sources": []
}
]

View file

@ -21,7 +21,11 @@
],
"description": {
"en": "A route marker is a small marker often found along official hiking/cycling/riding/skiing routes to indicate the direction of the route."
}
},
"exampleImages": [
"./assets/layers/route_marker/bicycle_route_marker.jpg",
"./assets/layers/route_marker/walking_route_marker.jpg"
]
}
],
"deletion": true,
@ -54,35 +58,35 @@
"mappings": [
{
"if": "bicycle=yes",
"ifnot": "biycle=no",
"ifnot": "biycle=",
"then": {
"en": "This is a route marker for a bicycle route."
}
},
{
"if": "hiking=yes",
"ifnot": "hiking=no",
"ifnot": "hiking=",
"then": {
"en": "This is a route marker for a hiking route."
}
},
{
"if": "mtb=yes",
"ifnot": "mtb=no",
"ifnot": "mtb=",
"then": {
"en": "This is a route marker for a mountain bike route."
}
},
{
"if": "horse=yes",
"ifnot": "horse=no",
"ifnot": "horse=",
"then": {
"en": "This is a route marker for a horse riding route."
}
},
{
"if": "ski=yes",
"ifnot": "ski=no",
"ifnot": "ski=",
"then": {
"en": "This is a route marker for a ski route."
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 MiB

View file

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

View file

@ -269,9 +269,37 @@
"guidepost"
],
"override": {
"minzoom": 16
"minzoom": 16,
"source": {
"osmTags": {
"and": [
"information=guidepost",
"bicycle=yes"
]
}
},
"presets": [
{
"tags": [
"tourism=information",
"information=guidepost",
"bicycle=yes"
]
}
],
"name": {
"en": "Cycling guideposts"
},
"title": {
"render": {
"en": "Cycling guidepost"
}
}
},
"hideTagRenderingsWithLabels": [
"type"
]
},
{
"builtin": "route_marker",
"override": {
@ -291,7 +319,10 @@
],
"title": {
"en": "a route marker for a node to node link"
}
},
"=exampleImages": [
"./assets/layers/route_marker/bicycle_route_marker.jpg"
]
}
]
}

View file

@ -51,10 +51,10 @@
{
"if": "ref~*",
"then": {
"en": "node to node link <strong>{ref}</strong>",
"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>",
"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>",
@ -223,9 +223,37 @@
"guidepost"
],
"override": {
"minzoom": 16
"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": {
@ -245,7 +273,10 @@
],
"title": {
"en": "a route marker for a node to node link"
}
},
"=exampleImages": [
"./assets/layers/route_marker/walking_route_marker.jpg"
]
}
]
}