Skip to content

Commit

Permalink
Add maxwidth:physical question
Browse files Browse the repository at this point in the history
  • Loading branch information
wielandb committed Jul 18, 2023
1 parent 7cd067b commit 210f2d4
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions assets/datasets/question_catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -2807,5 +2807,46 @@
"osm_element": "Node"
}
]
},
{
"question": {
"name": "Breite an Engstellen",
"text": "Wie breit ist die Plattform an ihrer schmalsten Stelle?",
"description": "Wie breit darf etwas maximal sein, damit es trotzem noch durchpasst?"
},
"answer": {
"type": "Number",
"input": {
"placeholder": "Breite",
"decimals": 0,
"min": 0,
"max": 500,
"unit": "Centimeter"
},
"constructor": {
"step:height": [
"REPLACE", "/\\.?0{1,2}$/", "", [
"INSERT", ".", "-2", [
"PAD", "0", "3", "$input"
]
]
]
}
},
"conditions": [
{
"osm_tags": {
"public_transport": "platform",
"maxwidth:physical": false
},
"osm_element": [
"Node",
"OpenWay",
"ClosedWay",
"Relation"
]
}
],
"isProfessional": true
}
]

0 comments on commit 210f2d4

Please sign in to comment.