forked from MapComplete/MapComplete
Add examples, minor details to node networks
This commit is contained in:
parent
d92dff76e0
commit
fb3c37f558
9 changed files with 148 additions and 16 deletions
|
@ -48,6 +48,50 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"tagRenderings": [
|
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
BIN
assets/layers/route_marker/bicycle_route_marker.jpg
Normal file
BIN
assets/layers/route_marker/bicycle_route_marker.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 71 KiB |
|
@ -0,0 +1,2 @@
|
||||||
|
SPDX-FileCopyrightText: Segubi
|
||||||
|
SPDX-License-Identifier: CC0-1.0
|
|
@ -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",
|
"path": "route_marker.svg",
|
||||||
"license": "CC0-1.0",
|
"license": "CC0-1.0",
|
||||||
|
@ -6,5 +16,13 @@
|
||||||
"Robin van der Linde"
|
"Robin van der Linde"
|
||||||
],
|
],
|
||||||
"sources": []
|
"sources": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "walking_route_marker.jpg",
|
||||||
|
"license": "CC0-1.0",
|
||||||
|
"authors": [
|
||||||
|
"Robin van der Linde"
|
||||||
|
],
|
||||||
|
"sources": []
|
||||||
}
|
}
|
||||||
]
|
]
|
|
@ -21,7 +21,11 @@
|
||||||
],
|
],
|
||||||
"description": {
|
"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."
|
"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,
|
"deletion": true,
|
||||||
|
@ -54,35 +58,35 @@
|
||||||
"mappings": [
|
"mappings": [
|
||||||
{
|
{
|
||||||
"if": "bicycle=yes",
|
"if": "bicycle=yes",
|
||||||
"ifnot": "biycle=no",
|
"ifnot": "biycle=",
|
||||||
"then": {
|
"then": {
|
||||||
"en": "This is a route marker for a bicycle route."
|
"en": "This is a route marker for a bicycle route."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"if": "hiking=yes",
|
"if": "hiking=yes",
|
||||||
"ifnot": "hiking=no",
|
"ifnot": "hiking=",
|
||||||
"then": {
|
"then": {
|
||||||
"en": "This is a route marker for a hiking route."
|
"en": "This is a route marker for a hiking route."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"if": "mtb=yes",
|
"if": "mtb=yes",
|
||||||
"ifnot": "mtb=no",
|
"ifnot": "mtb=",
|
||||||
"then": {
|
"then": {
|
||||||
"en": "This is a route marker for a mountain bike route."
|
"en": "This is a route marker for a mountain bike route."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"if": "horse=yes",
|
"if": "horse=yes",
|
||||||
"ifnot": "horse=no",
|
"ifnot": "horse=",
|
||||||
"then": {
|
"then": {
|
||||||
"en": "This is a route marker for a horse riding route."
|
"en": "This is a route marker for a horse riding route."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"if": "ski=yes",
|
"if": "ski=yes",
|
||||||
"ifnot": "ski=no",
|
"ifnot": "ski=",
|
||||||
"then": {
|
"then": {
|
||||||
"en": "This is a route marker for a ski route."
|
"en": "This is a route marker for a ski route."
|
||||||
}
|
}
|
||||||
|
|
BIN
assets/layers/route_marker/walking_route_marker.jpg
Normal file
BIN
assets/layers/route_marker/walking_route_marker.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 MiB |
|
@ -0,0 +1,2 @@
|
||||||
|
SPDX-FileCopyrightText: Robin van der Linde
|
||||||
|
SPDX-License-Identifier: CC0-1.0
|
|
@ -269,8 +269,36 @@
|
||||||
"guidepost"
|
"guidepost"
|
||||||
],
|
],
|
||||||
"override": {
|
"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",
|
"builtin": "route_marker",
|
||||||
|
@ -291,7 +319,10 @@
|
||||||
],
|
],
|
||||||
"title": {
|
"title": {
|
||||||
"en": "a route marker for a node to node link"
|
"en": "a route marker for a node to node link"
|
||||||
}
|
},
|
||||||
|
"=exampleImages": [
|
||||||
|
"./assets/layers/route_marker/bicycle_route_marker.jpg"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,10 +51,10 @@
|
||||||
{
|
{
|
||||||
"if": "ref~*",
|
"if": "ref~*",
|
||||||
"then": {
|
"then": {
|
||||||
"en": "node to node link <strong>{ref}</strong>",
|
"en": "Node to node link <strong>{ref}</strong>",
|
||||||
"de": "Knotenpunktverbindung <strong>{ref}</strong>",
|
"de": "Knotenpunktverbindung <strong>{ref}</strong>",
|
||||||
"es": "enlace nodo a nodo <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>",
|
"fr": "lien noeud à noeud <strong>{ref}</strong>",
|
||||||
"ca": "Enllaç node a node <strong>{ref}</strong>",
|
"ca": "Enllaç node a node <strong>{ref}</strong>",
|
||||||
"cs": "propojení mezi uzly <strong>{ref}</strong>",
|
"cs": "propojení mezi uzly <strong>{ref}</strong>",
|
||||||
|
@ -223,8 +223,36 @@
|
||||||
"guidepost"
|
"guidepost"
|
||||||
],
|
],
|
||||||
"override": {
|
"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",
|
"builtin": "route_marker",
|
||||||
|
@ -245,7 +273,10 @@
|
||||||
],
|
],
|
||||||
"title": {
|
"title": {
|
||||||
"en": "a route marker for a node to node link"
|
"en": "a route marker for a node to node link"
|
||||||
}
|
},
|
||||||
|
"=exampleImages": [
|
||||||
|
"./assets/layers/route_marker/walking_route_marker.jpg"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue