Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add open questions #272

Merged
merged 27 commits into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
132 changes: 132 additions & 0 deletions assets/question_catalog/definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -1701,6 +1701,138 @@
}
]
},
{
"question":{
wielandb marked this conversation as resolved.
Show resolved Hide resolved
"name": "@doorOpenName",
"text": "@doorOpenText",
"description": "@doorOpenDescription"
},
"answer": {
"type": "List",
"input": [
{
"name": "@doorOpenNoOption",
wielandb marked this conversation as resolved.
Show resolved Hide resolved
"osm_tags": {
"open": "no"
}
},
{
"name": "@doorOpenFullOption",
"osm_tags": {
"open": "full"
}
},
{
"name": "@doorOpenPartialOption",
"osm_tags": {
"open": "partial"
}
}
]
},
wielandb marked this conversation as resolved.
Show resolved Hide resolved
"conditions": [
{
"osm_tags": {
"railway": ["subway_entrance", "train_station_entrance"],
"door": true,
"open": false
},
"!osm_tags": {
"door": ["no", "revolving"],
"automatic_door": "continuous"

},
"osm_element": "Node"
},
{
"osm_tags": {
"access": ["yes", "customers", false],
"level": true,
wielandb marked this conversation as resolved.
Show resolved Hide resolved
"door": true,
"open": false
},
"!osm_tags": {
"door": ["no", "revolving"],
"automatic_door": "continuous"

},
"osm_element": "Node"
},
{
"osm_tags": {
"indoor": "door",
"access": ["yes", "customers", false],
"door": true,
"open": false
},
"!osm_tags": {
"door": ["no", "revolving"],
"automatic_door": "continuous"
},
"osm_element": "Node"
},
{
"osm_tags": {
"access": ["yes", "customers", false],
"door": true,
"open": false
},
"!osm_tags": {
"door": ["no", "revolving"],
"automatic_door": "continuous"

wielandb marked this conversation as resolved.
Show resolved Hide resolved
},
"osm_element": "Node",
"parent": [
{
"osm_tags": {
"building": ["train_station", "transportation", "toilets", "parking"]
}
},
{
"osm_tags": {
"public_transport": "station"
}
},
{
"osm_tags": {
"level": true
}
}
]
}
]
},
{
"question": {
"name": "@doorOpeningName",
"text": "@doorOpeningText",
"description": "@doorOpeningDescription"
},
"answer": {
"type": "Number",
"input": {
"placeholder": "@doorOpeningPlaceholder",
"decimals": 2,
"min": 0,
"max": 10,
"unit": "@unitMeter"
},
"constructor": {
"opening": ["$input"]
}
wielandb marked this conversation as resolved.
Show resolved Hide resolved
},
"conditions": [
{
"osm_tags": {
"door": true,
"open": "partial",
"opening": false
},
"osm_element": "Node"
}
]
},
{
"question": {
"name": "@waySegregatedName",
Expand Down
20 changes: 20 additions & 0 deletions assets/question_catalog/locales/de.arb
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,26 @@
"@doorWidthDescription": {},
"doorWidthPlaceholder": "Breite",
"@doorWidthPlaceholder": {},
"doorOpenName": "Türöffnungsgrad",
wielandb marked this conversation as resolved.
Show resolved Hide resolved
"@doorOpenName": {},
"doorOpenText": "Steht diese Tür normalerweise offen?",
"@doorOpenText": {},
"doorOpenDescription": "Das bedeutet, dass die Tür in der Regel im geöffneten Zustand auf absichtlich festgehalten wird.",
wielandb marked this conversation as resolved.
Show resolved Hide resolved
"@doorOpenDescription": {},
"doorOpenNoOption": "Nein",
"@doorOpenNoOption": {},
"doorOpenFullOption": "Ja, steht komplett offen",
"@doorOpenFullOption": {},
"doorOpenPartialOption": "Ja, steht zum Teil offen",
"@doorOpenPartialOption": {},
"doorOpeningName": "Türöffnungsbreite",
wielandb marked this conversation as resolved.
Show resolved Hide resolved
"@doorOpeningName": {},
"doorOpeningText": "Was ist die Breite des geöffneten Anteils der Tür?",
wielandb marked this conversation as resolved.
Show resolved Hide resolved
"@doorOpeningText": {},
"doorOpeningDescription": "Gemeint ist die lichte Breite, die zur Verfügung steht, wenn die Tür zu dem grad geöffnet ist, wie sie es normalerweise ist.",
wielandb marked this conversation as resolved.
Show resolved Hide resolved
"@doorOpeningDescription": {},
"doorOpeningPlaceholder": "Breite",
wielandb marked this conversation as resolved.
Show resolved Hide resolved
"@doorOpeningPlaceholder": {},
"waySegregatedName": "Fuß-/Radweg-Verlauf",
"@waySegregatedName": {},
"waySegregatedText": "Wie verlaufen der Fuß- und Radweg zueinander?",
Expand Down
20 changes: 20 additions & 0 deletions assets/question_catalog/locales/en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,26 @@
"@doorWidthDescription": {},
"doorWidthPlaceholder": "Width",
"@doorWidthPlaceholder": {},
"doorOpenName": "Door permanently open status",
wielandb marked this conversation as resolved.
Show resolved Hide resolved
"@doorOpenName": {},
"doorOpenText": "Is the door permanently open?",
wielandb marked this conversation as resolved.
Show resolved Hide resolved
"@doorOpenText": {},
"doorOpenDescription": "This means that the door (and all it's wings) is usually forced in it's open state by some means.",
"@doorOpenDescription": {},
"doorOpenNoOption": "No",
"@doorOpenNoOption": {},
"doorOpenFullOption": "Yes, completely open",
"@doorOpenFullOption": {},
"doorOpenPartialOption": "Yes, partially open",
"@doorOpenPartialOption": {},
"doorOpeningName": "Door opening",
"@doorOpeningName": {},
"doorOpeningText": "What is the width of the open part of the door?",
wielandb marked this conversation as resolved.
Show resolved Hide resolved
"@doorOpeningText": {},
"doorOpeningDescription": "This means the width that is unobstructed when the door as opened to the degree it usually is.",
wielandb marked this conversation as resolved.
Show resolved Hide resolved
"@doorOpeningDescription": {},
"doorOpeningPlaceholder": "Width",
wielandb marked this conversation as resolved.
Show resolved Hide resolved
"@doorOpeningPlaceholder": {},
"waySegregatedName": "Pedestrian/bicycle relation",
"@waySegregatedName": {},
"waySegregatedText": "How do the footpath and cycleway relate to each other?",
Expand Down
Loading