Add the requirement for all tagRendering-objects to have an ID (including rewrites and multi-builtins) to make translations easier

This commit is contained in:
Pieter Vander Vennet 2022-08-05 13:11:50 +02:00
parent af60bc566a
commit 21aca85515
19 changed files with 385 additions and 308 deletions

View file

@ -953,6 +953,28 @@
"description": "Layer showing sidewalks of highways",
"name": "Sidewalks",
"tagRenderings": {
"left-right-questions": {
"renderings": {
"1": {
"mappings": {
"0": {
"then": "Yes, there is a sidewalk on this side of the road"
},
"1": {
"then": "No, there is no sidewalk to walk on"
},
"2": {
"then": "There is a separately mapped sidewalk to walk on"
}
},
"question": "Is there a sidewalk on this side of the road?"
},
"2": {
"question": "What is the width of the sidewalk on this side of the road?",
"render": "This sidewalk is {sidewalk:left|right:width}m wide"
}
}
},
"streetname": {
"render": "This street is named {name}"
}