Feature: add slope measurement input

This commit is contained in:
Pieter Vander Vennet 2023-12-14 15:41:34 +01:00
parent 48ac539272
commit fdf38daf5e
5 changed files with 65 additions and 7 deletions

View file

@ -837,6 +837,41 @@
},
"id": "Cycleway:surface"
},
{
"id": "incline",
"question": {
"en": "Does {title()} have an incline?"
},
"render": {
"en": "This road has an slope of {incline}"
},
"freeform": {
"key": "incline",
"type": "slope"
},
"mappings": [
{
"if": "incline=",
"then": {
"en": "There is (probably) no incline here"
},
"hideInAnswer": true
},
{
"if": {
"or": [
"incline=up",
"incline=down",
"incline=yes"
]
},
"then": {
"en": "This road has a slope"
},
"hideInAnswer": true
}
]
},
{
"question": {
"en": "What is the smoothness of this cycleway?",