Show proposed routes/nodes,show route=hiking

This commit is contained in:
Robin van der Linde 2023-11-03 22:20:27 +01:00
parent 550c60ab7f
commit b5627da624
No known key found for this signature in database
GPG key ID: 53956B3252478F0D
15 changed files with 238 additions and 64 deletions

View file

@ -112,7 +112,15 @@
"lineRendering": [
{
"width": "4",
"color": "#00a703"
"color": {
"render": "#00a703",
"mappings": [
{
"if": "state=proposed",
"then": "#f0a513"
}
]
}
}
],
"pointRendering": null
@ -134,8 +142,9 @@
},
"source": {
"osmTags": {
"and": [
"rcn_ref~*"
"or": [
"rcn_ref~*",
"proposed:rcn_ref~*"
]
}
},
@ -146,14 +155,15 @@
"centroid"
],
"label": {
"render": "<div style='position: absolute; top: -30px; right: -10px; color: white; background-color: #00a703; width: 20px; height: 20px; border-radius: 100%'>?</div>",
"mappings": [
{
"if": "rcn_ref~*",
"then": "<div style='position: absolute; top: -10px; right: -10px; color: white; background-color: #00a703; width: 20px; height: 20px; border-radius: 100%'>{rcn_ref}</div>"
"then": "<div style='position: absolute; top: -30px; right: -10px; color: white; background-color: #00a703; width: 20px; height: 20px; border-radius: 100%'>{rcn_ref}</div>"
},
{
"if": "rcn_ref=",
"then": "<div style='position: absolute; top: -10px; right: -10px; color: white; background-color: #00a703; width: 20px; height: 20px; border-radius: 100%'>?</div>"
"if": "proposed:rcn_ref~*",
"then": "<div style='position: absolute; top: -32px; right: -10px; color: white; background-color: #00a703; width: 20px; height: 20px; border-radius: 100%; border-style:dotted; border-color:white; border-width: 2px'>{proposed:rcn_ref}</div>"
}
]
}
@ -162,16 +172,39 @@
"minzoom": 12,
"title": {
"render": {
"en": "Cycle node <strong>{rcn_ref}</strong>",
"de": "Fahrradknotenpunkt <strong>{rcn_ref}</strong>",
"es": "nodo ciclista <strong>{rcn_ref}</strong>",
"nb_NO": "sykkelnode <strong>{rcn_ref}</strong>",
"nl": "Fietsknooppunt <strong>{rcn_ref}</strong>",
"fr": "nœud cycliste <strong>{rcn_ref}</strong>",
"ca": "node ciclista <strong>{rcn_ref}</strong>",
"cs": "uzel cyklu <strong>{rcn_ref}</strong>",
"pl": "węzeł rowerowy <strong>{rcn_ref}</strong>"
}
"en": "Cycle node",
"de": "Fahrradknotenpunkt",
"es": "nodo ciclista",
"nb_NO": "sykkelnode",
"nl": "Fietsknooppunt",
"fr": "nœud cycliste",
"ca": "node ciclista",
"cs": "uzel cyklu",
"pl": "węzeł rowerowy"
},
"mappings": [
{
"if": "rcn_ref~*",
"then": {
"en": "Cycle node <strong>{rcn_ref}</strong>",
"de": "Fahrradknotenpunkt <strong>{rcn_ref}</strong>",
"es": "nodo ciclista <strong>{rcn_ref}</strong>",
"nb_NO": "sykkelnode <strong>{rcn_ref}</strong>",
"nl": "Fietsknooppunt <strong>{rcn_ref}</strong>",
"fr": "nœud cycliste <strong>{rcn_ref}</strong>",
"ca": "node ciclista <strong>{rcn_ref}</strong>",
"cs": "uzel cyklu <strong>{rcn_ref}</strong>",
"pl": "węzeł rowerowy <strong>{rcn_ref}</strong>"
}
},
{
"if": "proposed:rcn_ref~*",
"then": {
"en": "Proposed cycle node <strong>{proposed:rcn_ref}</strong>",
"nl": "Voorgesteld fietsknooppunt <strong>{proposed:rcn_ref}</strong>"
}
}
]
},
"tagRenderings": [
{
@ -194,7 +227,8 @@
"en": "This cycling node has reference number {rcn_ref}",
"nl": "Dit fietsknooppunt heeft referentienummer {rcn_ref}",
"de": "Knotenpunktnummer {rcn_ref} des Fahrradknotenpunktnetzwerks"
}
},
"condition": "rcn_ref~*"
},
{
"builtin": "survey_date",
@ -347,4 +381,4 @@
}
}
]
}
}

View file

@ -34,9 +34,14 @@
"source": {
"osmTags": {
"and": [
{
"or": [
"route=hiking",
"route=foot"
]
},
"network=rwn",
"network:type=node_network",
"route=foot"
"network:type=node_network"
]
}
},
@ -71,7 +76,15 @@
"lineRendering": [
{
"width": "4",
"color": "#452b29"
"color": {
"render": "#452b29",
"mappings": [
{
"if": "state=proposed",
"then": "#f0a513"
}
]
}
}
],
"pointRendering": null,
@ -122,8 +135,9 @@
},
"source": {
"osmTags": {
"and": [
"rwn_ref~*"
"or": [
"rwn_ref~*",
"proposed:rwn_ref~*"
]
}
},
@ -134,14 +148,15 @@
"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: -10px; right: -10px; color: white; background-color: #452b29; width: 20px; height: 20px; border-radius: 100%'>{rwn_ref}</div>"
"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": "rwn_ref=",
"then": "<div style='position: absolute; top: -10px; right: -10px; color: white; background-color: #452b29; width: 20px; height: 20px; border-radius: 100%'>?</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>"
}
]
}
@ -150,10 +165,26 @@
"minzoom": 12,
"title": {
"render": {
"en": "Walking node <strong>{rwn_ref}</strong>",
"nl": "Wandelknooppunt <strong>{rwn_ref}</strong>",
"de": "Wanderknoten <strong>{rwn_ref}</strong>"
}
"en": "Walking node",
"nl": "Wandelknooppunt"
},
"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>"
}
}
]
},
"tagRenderings": [
{
@ -176,7 +207,8 @@
"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",
@ -312,4 +344,4 @@
}
}
]
}
}

View file

@ -4218,6 +4218,9 @@
},
"1": {
"then": "This is a water tap or water pump with non-drinkable water.<div class='subtle'>Examples are water taps with rain water to tap water for nearby plants</div>"
},
"2": {
"then": "This is a historic, manual water pump where no drinking water can be found"
}
}
},
@ -4256,8 +4259,33 @@
"question": "Is this drinking water spot still operational?",
"render": "The operational status is <i>{operational_status}</i>"
},
"fee": {
"mappings": {
"0": {
"then": "Free to use"
},
"1": {
"then": "One needs to pay to use this drinking water point"
}
},
"question": "Is this drinking water point free to use?"
},
"render-closest-drinking-water": {
"render": "<a href='#{_closest_other_drinking_water_id}'>There is another drinking water fountain at {_closest_other_drinking_water_distance} meters</a>"
},
"type": {
"mappings": {
"0": {
"then": "This is a bubbler fountain. A water jet to drink from is sent upwards, typically controlled by a push button."
},
"1": {
"then": "This is a bottle refill point where the water is sent downwards, typically controlled by a push button or a motion sensor. Drinking directly from the stream might be very hard or impossible."
},
"2": {
"then": "This is a water tap. The water flows downward and the stream is controlled by a valve or push-button."
}
},
"question": "What type of drinking water point is this?"
}
},
"title": {
@ -8979,6 +9007,9 @@
},
"4": {
"then": "The surface is <b>concrete</b>"
},
"5": {
"then": "The surface is <b>fine gravel</b>"
}
},
"question": "Which is the surface of this sport pitch?",

View file

@ -4094,6 +4094,9 @@
},
"render-closest-drinking-water": {
"render": "<a href='#{_closest_other_drinking_water_id}'>Er bevindt zich een ander drinkwaterpunt op {_closest_other_drinking_water_distance} meter</a>"
},
"type": {
"question": "Wat voor soort drinkwaterpunt is dit?"
}
},
"title": {
@ -7927,6 +7930,9 @@
},
"4": {
"then": "De ondergrond is <b>beton</b>"
},
"5": {
"then": "De ondergrond bestaat uit <b>grind</b>"
}
},
"question": "Wat is de ondergrond van dit sportveld?",

View file

@ -509,7 +509,12 @@
}
},
"title": {
"render": "node ciclista <strong>{rcn_ref}</strong>"
"mappings": {
"0": {
"then": "node ciclista <strong>{rcn_ref}</strong>"
}
},
"render": "node ciclista"
}
}
},
@ -1159,10 +1164,10 @@
"1": {
"mappings": {
"0": {
"then": "Sí, hi ha una vorera a aquest costat del carrer"
"then": "Hi ha una vorera a aquest costat del carrer"
},
"1": {
"then": "No, no hi ha vorera per la que caminar"
"then": "No hi ha vorera per la que caminar"
},
"2": {
"then": "Hi ha una vorera mapejada separadament per on caminar"

View file

@ -509,7 +509,12 @@
}
},
"title": {
"render": "uzel cyklu <strong>{rcn_ref}</strong>"
"mappings": {
"0": {
"then": "uzel cyklu <strong>{rcn_ref}</strong>"
}
},
"render": "uzel cyklu"
}
}
},
@ -1163,10 +1168,10 @@
"1": {
"mappings": {
"0": {
"then": "Ano, na této straně silnice je chodník"
"then": "Na této straně silnice je chodník"
},
"1": {
"then": "Ne, není tu žádný chodník"
"then": "Není tu žádný chodník"
},
"2": {
"then": "Na mapě je vyznačen samostatný chodník"

View file

@ -806,10 +806,10 @@
"1": {
"mappings": {
"0": {
"then": "Ja, der er et fortov på denne side af vejen"
"then": "Der er et fortov på denne side af vejen"
},
"1": {
"then": "Nej, der er ikke noget fortov at gå på"
"then": "Der er ikke noget fortov at gå på"
},
"2": {
"then": "Der er et særskilt kortlagt fortov at gå på"

View file

@ -524,7 +524,12 @@
}
},
"title": {
"render": "Fahrradknotenpunkt <strong>{rcn_ref}</strong>"
"mappings": {
"0": {
"then": "Fahrradknotenpunkt <strong>{rcn_ref}</strong>"
}
},
"render": "Fahrradknotenpunkt"
}
},
"2": {
@ -1199,10 +1204,10 @@
"1": {
"mappings": {
"0": {
"then": "Ja, es gibt einen Bürgersteig auf dieser Straßenseite"
"then": "Es gibt einen Bürgersteig auf dieser Straßenseite"
},
"1": {
"then": "Nein, es gibt keinen Bürgersteig für Fußgänger"
"then": "Es gibt keinen Bürgersteig für Fußgänger"
},
"2": {
"then": "Es gibt einen separat kartierten Bürgersteig für Fußgänger"
@ -1422,7 +1427,11 @@
}
},
"title": {
"render": "Wanderknoten <strong>{rwn_ref}</strong>"
"mappings": {
"0": {
"then": "Wanderknoten <strong>{rwn_ref}</strong>"
}
}
}
},
"2": {

View file

@ -524,7 +524,15 @@
}
},
"title": {
"render": "Cycle node <strong>{rcn_ref}</strong>"
"mappings": {
"0": {
"then": "Cycle node <strong>{rcn_ref}</strong>"
},
"1": {
"then": "Proposed cycle node <strong>{proposed:rcn_ref}</strong>"
}
},
"render": "Cycle node"
}
},
"2": {
@ -1199,10 +1207,10 @@
"1": {
"mappings": {
"0": {
"then": "Yes, there is a sidewalk on this side of the road"
"then": "There is a sidewalk on this side of the road"
},
"1": {
"then": "No, there is no sidewalk to walk on"
"then": "There is no sidewalk to walk on"
},
"2": {
"then": "There is a separately mapped sidewalk to walk on"
@ -1422,7 +1430,15 @@
}
},
"title": {
"render": "Walking node <strong>{rwn_ref}</strong>"
"mappings": {
"0": {
"then": "Walking node <strong>{rwn_ref}</strong>"
},
"1": {
"then": "Proposed walking node <strong>{proposed:rwn_ref}</strong>"
}
},
"render": "Walking node"
}
},
"2": {

View file

@ -509,7 +509,12 @@
}
},
"title": {
"render": "nodo ciclista <strong>{rcn_ref}</strong>"
"mappings": {
"0": {
"then": "nodo ciclista <strong>{rcn_ref}</strong>"
}
},
"render": "nodo ciclista"
}
}
},
@ -1163,10 +1168,10 @@
"1": {
"mappings": {
"0": {
"then": "Sí, hay una acera en este lado de la calle"
"then": "Hay una acera en este lado de la calle"
},
"1": {
"then": "No, no hay acera por la que caminar"
"then": "No hay acera por la que caminar"
},
"2": {
"then": "Hay una acera mapeada por separado por la que caminar"

View file

@ -506,7 +506,12 @@
}
},
"title": {
"render": "nœud cycliste <strong>{rcn_ref}</strong>"
"mappings": {
"0": {
"then": "nœud cycliste <strong>{rcn_ref}</strong>"
}
},
"render": "nœud cycliste"
}
}
},
@ -1102,10 +1107,10 @@
"1": {
"mappings": {
"0": {
"then": "Oui, il y a un trottoir de ce côté de la route"
"then": "Il y a un trottoir de ce côté de la route"
},
"1": {
"then": "Non, il n'y a pas de trottoir où marcher"
"then": "Il n'y a pas de trottoir où marcher"
},
"2": {
"then": "Il y a un trottoir où marcher cartographié séparément"

View file

@ -599,10 +599,10 @@
"1": {
"mappings": {
"0": {
"then": "Sì, c'è un marciapiede su questo lato della strada"
"then": "C'è un marciapiede su questo lato della strada"
},
"1": {
"then": "No, non c'è un marciapiede su cui camminare"
"then": "Non c'è un marciapiede su cui camminare"
}
}
}

View file

@ -283,7 +283,12 @@
"1": {
"name": "noder",
"title": {
"render": "sykkelnode <strong>{rcn_ref}</strong>"
"mappings": {
"0": {
"then": "sykkelnode <strong>{rcn_ref}</strong>"
}
},
"render": "sykkelnode"
}
}
},

View file

@ -475,7 +475,15 @@
}
},
"title": {
"render": "Fietsknooppunt <strong>{rcn_ref}</strong>"
"mappings": {
"0": {
"then": "Fietsknooppunt <strong>{rcn_ref}</strong>"
},
"1": {
"then": "Voorgesteld fietsknooppunt <strong>{proposed:rcn_ref}</strong>"
}
},
"render": "Fietsknooppunt"
}
}
},
@ -1156,10 +1164,10 @@
"1": {
"mappings": {
"0": {
"then": "Ja, er is een stoep aan deze kant van de weg"
"then": "Er is een stoep aan deze kant van de weg"
},
"1": {
"then": "Nee, er is geen stoep om op te lopen"
"then": "Er is geen stoep om op te lopen"
},
"2": {
"then": "Er is een apart ingetekende stoep om op te lopen"
@ -1424,7 +1432,15 @@
}
},
"title": {
"render": "Wandelknooppunt <strong>{rwn_ref}</strong>"
"mappings": {
"0": {
"then": "Wandelknooppunt <strong>{rwn_ref}</strong>"
},
"1": {
"then": "Voorgesteld wandelknooppunt <strong>{proposed:rwn_ref}</strong>"
}
},
"render": "Wandelknooppunt"
}
}
},

View file

@ -509,7 +509,12 @@
}
},
"title": {
"render": "węzeł rowerowy <strong>{rcn_ref}</strong>"
"mappings": {
"0": {
"then": "węzeł rowerowy <strong>{rcn_ref}</strong>"
}
},
"render": "węzeł rowerowy"
}
}
},
@ -1163,10 +1168,10 @@
"1": {
"mappings": {
"0": {
"then": "Tak, jest chodnik z boku drogi"
"then": "Jest chodnik z boku drogi"
},
"1": {
"then": "Nie, nie ma chodnika, którym można chodzić"
"then": "Nie ma chodnika, którym można chodzić"
},
"2": {
"then": "Jest oddzielnie oznaczony chodnik"