forked from MapComplete/MapComplete
Add tree height and circumference to tree theme
This commit is contained in:
parent
7e010c0474
commit
9f500858c7
1 changed files with 29 additions and 39 deletions
|
@ -70,44 +70,6 @@
|
||||||
},
|
},
|
||||||
"tagRenderings": [
|
"tagRenderings": [
|
||||||
"images",
|
"images",
|
||||||
{
|
|
||||||
"id": "tree-height",
|
|
||||||
"render": {
|
|
||||||
"nl": "Hoogte: {height}",
|
|
||||||
"en": "Height: {height}",
|
|
||||||
"it": "Altezza: {height}",
|
|
||||||
"ru": "Высота: {height}",
|
|
||||||
"fr": "Hauteur : {height}",
|
|
||||||
"de": "Höhe: {height}",
|
|
||||||
"es": "Altura: {height}",
|
|
||||||
"id": "Tinggi: {height}",
|
|
||||||
"da": "Højde: {height}"
|
|
||||||
},
|
|
||||||
"condition": {
|
|
||||||
"and": [
|
|
||||||
"height~*"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"mappings": [
|
|
||||||
{
|
|
||||||
"if": {
|
|
||||||
"and": [
|
|
||||||
"height~^[0-9.]+$"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"then": {
|
|
||||||
"nl": "Hoogte: {height} m",
|
|
||||||
"en": "Height: {height} m",
|
|
||||||
"it": "Altezza: {height} m",
|
|
||||||
"ru": "Высота: {height} м",
|
|
||||||
"fr": "Hauteur : {height} m",
|
|
||||||
"de": "Höhe: {height} m",
|
|
||||||
"es": "Altura: {height} m",
|
|
||||||
"da": "Højde: {height} m"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "plantnet",
|
"id": "plantnet",
|
||||||
"render": "{plantnet_detection()}",
|
"render": "{plantnet_detection()}",
|
||||||
|
@ -154,6 +116,34 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "circumference",
|
||||||
|
"question": {
|
||||||
|
"en": "What is the circumference of the tree trunk?<p class='subtle'>This is measured at a height of 1.30m</p>"
|
||||||
|
},
|
||||||
|
"render": {
|
||||||
|
"en": "The tree trunk has a circumference of {circumference} meter"
|
||||||
|
},
|
||||||
|
"freeform": {
|
||||||
|
"key": "circumference",
|
||||||
|
"inline": true,
|
||||||
|
"type": "pfloat"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "height",
|
||||||
|
"question": {
|
||||||
|
"en": "What is the height of this tree?"
|
||||||
|
},
|
||||||
|
"freeform": {
|
||||||
|
"key": "height",
|
||||||
|
"type": "pfloat",
|
||||||
|
"inline": true
|
||||||
|
},
|
||||||
|
"render": {
|
||||||
|
"en": "This tree is {height} meter high"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "tree-denotation",
|
"id": "tree-denotation",
|
||||||
"question": {
|
"question": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue