Themes(guideposts): update guidepost-type questions, make sure they are shown in cyclenodes.json and walkingnodes.json (if relevant), show high-zoom layer to avoid duplicates, see #2385

This commit is contained in:
Pieter Vander Vennet 2025-05-02 19:35:20 +02:00
parent a1b7d7f350
commit 79d43aef40
3 changed files with 78 additions and 3 deletions

View file

@ -80,6 +80,10 @@
{
"if": "bicycle=yes",
"ifnot": "bicycle=",
"alsoShowIf": "guidepost~.*bicycle.*",
"addExtraTags": [
"guidepost="
],
"then": {
"en": "This guidepost shows bicycle routes",
"de": "Dieser Wegweiser zeigt Fahrradwege",
@ -91,6 +95,10 @@
{
"if": "hiking=yes",
"ifnot": "hiking=",
"alsoShowIf": "guidepost~.*hiking.*",
"addExtraTags": [
"guidepost="
],
"then": {
"en": "This guidepost shows hiking routes",
"de": "Dieser Wegweiser zeigt Wanderwege",
@ -102,6 +110,10 @@
{
"if": "mtb=yes",
"ifnot": "mtb=",
"alsoShowIf": "guidepost~.*mtb.*",
"addExtraTags": [
"guidepost="
],
"then": {
"en": "This guidepost shows mountain bike routes",
"de": "Dieser Wegweiser zeigt Mountainbike-Routen",
@ -113,6 +125,10 @@
{
"if": "horse=yes",
"ifnot": "horse=",
"alsoShowIf": "guidepost~.*horse.*",
"addExtraTags": [
"guidepost="
],
"then": {
"en": "This guidepost shows horse riding routes",
"de": "Dieser Wegweiser zeigt Reitwege",
@ -124,6 +140,10 @@
{
"if": "ski=yes",
"ifnot": "ski=",
"alsoShowIf": "guidepost~.*ski.*",
"addExtraTags": [
"guidepost="
],
"then": {
"en": "This guidepost shows ski routes",
"de": "Dieser Wegweiser zeigt Skirouten",
@ -131,6 +151,28 @@
"es": "Este poste indicador muestra rutas de esquí",
"ca": "Aquest document guia mostra les rutes d'esquí"
}
},
{
"if": "running=yes",
"ifnot": "running=",
"alsoShowIf": "guidepost~.*running.*",
"addExtraTags": [
"guidepost="
],
"then": {
"en": "This guidepost shows running routes"
}
},
{
"if": "winter_hiking=yes",
"ifnot": "winter_hiking=",
"alsoShowIf": "guidepost~.*winter_hiking.*",
"addExtraTags": [
"guidepost="
],
"then": {
"en": "This guidepost shows winter hiking routes"
}
}
]
},

View file

@ -417,7 +417,13 @@
"tags": [
"tourism=information",
"information=guidepost",
"bicycle=yes"
{
"or": [
"bicycle=yes",
"guidepost~.*bicycle",
"guidepost~.*mtb.*"
]
}
]
}
],
@ -448,6 +454,17 @@
"type"
]
},
{
"builtin": "guidepost",
"override": {
"minzoom": 18,
"=presets": [],
"name": null,
"filter": {
"sameAs": "bicycle_guidepost"
}
}
},
{
"builtin": "route_marker",
"override": {

View file

@ -324,13 +324,18 @@
"guidepost"
],
"override": {
"minzoom": 16,
"minzoom": 15,
"id": "guidepost_hiking",
"source": {
"osmTags": {
"and": [
"information=guidepost",
"hiking=yes"
{
"or": [
"hiking=yes",
"guidepost~.*hiking.*"
]
}
]
}
},
@ -366,6 +371,17 @@
"type"
]
},
{
"builtin": "guidepost",
"override": {
"minzoom": 18,
"=presets": [],
"name": null,
"filter": {
"sameAs": "guidepost_hiking"
}
}
},
{
"builtin": "route_marker",
"override": {