Themes(cycleways_and_roads): use 'width' instead of 'width:carriageway', fix #2318

This commit is contained in:
Pieter Vander Vennet 2024-12-26 20:01:03 +01:00
parent ceabc5573c
commit 90626c632a
8 changed files with 26 additions and 23 deletions

View file

@ -273,6 +273,9 @@
"width": "8"
}
],
"calculatedTags": [
"width:= ! ! (feat.properties['width:carriageway']) ? feat.properties['width:carriageway'] : feat.properties['width'] "
],
"tagRenderings": [
"images",
{
@ -1289,16 +1292,16 @@
]
},
"render": {
"en": "The carriage width of this road is <strong>{width:carriageway}m</strong>",
"nl": "De breedte van deze rijbaan in deze straat is <strong>{width:carriageway}m</strong>",
"de": "Die Fahrbahnbreite dieser Straße beträgt <strong>{width:carriageway}m</strong>",
"fr": "La largeur de cette chaussée est de <strong>{width:carriageway}m</strong>",
"ca": "L'amplada dels carrils d'aquesta carretera és <strong>{width:carriageway}m</strong>",
"cs": "Šířka vozovky této silnice je <strong>{width:carriageway}m</strong>",
"es": "El ancho de la calzada de esta carretera es de <strong>{width:carriageway}m</strong>"
"en": "The carriage width of this road is <strong>{width}m</strong>",
"nl": "De breedte van deze rijbaan in deze straat is <strong>{width}m</strong>",
"de": "Die Fahrbahnbreite dieser Straße beträgt <strong>{width}m</strong>",
"fr": "La largeur de cette chaussée est de <strong>{width}m</strong>",
"ca": "L'amplada dels carrils d'aquesta carretera és <strong>{width}m</strong>",
"cs": "Šířka vozovky této silnice je <strong>{width}m</strong>",
"es": "El ancho de la calzada de esta carretera es de <strong>{width}m</strong>"
},
"freeform": {
"key": "width:carriageway",
"key": "width",
"type": "distance",
"helperArgs": [
"20",
@ -1314,7 +1317,7 @@
"cs": "Jaká je šířka vozovky této silnice (v metrech)?",
"es": "¿Cuál es el ancho de la calzada de esta carretera (en metros)?"
},
"id": "width:carriageway",
"id": "width",
"questionHint": {
"en": "This is measured curb to curb and thus includes the width of parallell parking lanes",
"nl": "Dit is gemeten van stoepsteen tot stoepsteen, dus inclusief een parallelle parkeerstrook",

View file

@ -2889,10 +2889,10 @@
},
"question": "Aquesta carretera està il·luminada?"
},
"width:carriageway": {
"width": {
"question": "Quina és l'amplada dels carrils d'aquesta carretera (en metres)?",
"questionHint": "Això es mesura de vorera a vorera i, per tant, inclou l'amplada dels aparcaments en línia",
"render": "L'amplada dels carrils d'aquesta carretera és <strong>{width:carriageway}m</strong>"
"render": "L'amplada dels carrils d'aquesta carretera és <strong>{width}m</strong>"
}
},
"title": {

View file

@ -3694,10 +3694,10 @@
},
"question": "Je tato ulice osvětlená?"
},
"width:carriageway": {
"width": {
"question": "Jaká je šířka vozovky této silnice (v metrech)?",
"questionHint": "Jedná se o měření od krajnice ke krajnici a to včetně šířky paralelních parkovacích pruhů",
"render": "Šířka vozovky této silnice je <strong>{width:carriageway}m</strong>"
"render": "Šířka vozovky této silnice je <strong>{width}m</strong>"
}
},
"title": {

View file

@ -3958,10 +3958,10 @@
},
"question": "Ist diese Straße beleuchtet?"
},
"width:carriageway": {
"width": {
"question": "Wie groß ist die Fahrbahnbreite dieser Straße (in Metern)?",
"questionHint": "Diese wird von Bordstein zu Bordstein gemessen und schließt daher die Breite von parallelen Parkspuren ein",
"render": "Die Fahrbahnbreite dieser Straße beträgt <strong>{width:carriageway}m</strong>"
"render": "Die Fahrbahnbreite dieser Straße beträgt <strong>{width}m</strong>"
}
},
"title": {

View file

@ -4009,10 +4009,10 @@
},
"question": "Is this street lit?"
},
"width:carriageway": {
"width": {
"question": "What is the carriage width of this road (in meters)?",
"questionHint": "This is measured curb to curb and thus includes the width of parallell parking lanes",
"render": "The carriage width of this road is <strong>{width:carriageway}m</strong>"
"render": "The carriage width of this road is <strong>{width}m</strong>"
}
},
"title": {

View file

@ -3950,10 +3950,10 @@
},
"question": "¿Está iluminada esta calle?"
},
"width:carriageway": {
"width": {
"question": "¿Cuál es el ancho de la calzada de esta carretera (en metros)?",
"questionHint": "Esto se mide de bordillo a bordillo e incluye el ancho de los carriles de aparcamiento paralelos",
"render": "El ancho de la calzada de esta carretera es de <strong>{width:carriageway}m</strong>"
"render": "El ancho de la calzada de esta carretera es de <strong>{width}m</strong>"
}
},
"title": {

View file

@ -2795,10 +2795,10 @@
},
"question": "Cette rue est-elle éclairée ?"
},
"width:carriageway": {
"width": {
"question": "Quelle est la largeur de cette chaussée (en mètres) ?",
"questionHint": "Elle est mesurée d'une bordure à l'autre et inclut donc la largeur des voies de stationnement parallèles",
"render": "La largeur de cette chaussée est de <strong>{width:carriageway}m</strong>"
"render": "La largeur de cette chaussée est de <strong>{width}m</strong>"
}
},
"title": {

View file

@ -3964,10 +3964,10 @@
},
"question": "Is deze weg verlicht?"
},
"width:carriageway": {
"width": {
"question": "Hoe breed is de rijbaan in deze straat (in meters)?",
"questionHint": "Dit is gemeten van stoepsteen tot stoepsteen, dus inclusief een parallelle parkeerstrook",
"render": "De breedte van deze rijbaan in deze straat is <strong>{width:carriageway}m</strong>"
"render": "De breedte van deze rijbaan in deze straat is <strong>{width}m</strong>"
}
},
"title": {