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 21 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": "@unitCentimeter"
},
"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
26 changes: 26 additions & 0 deletions assets/question_catalog/locales/de.arb
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,32 @@
"@doorWidthDescription": {},
"doorWidthPlaceholder": "Breite",
"@doorWidthPlaceholder": {},
"doorOpenName": "Tür gewöhnlich offen",
wielandb marked this conversation as resolved.
Show resolved Hide resolved
"@doorOpenName": {},
"doorOpenText": "Steht diese Tür normalerweise offen?",
"@doorOpenText": {},
"doorOpenDescription": "Das ist wichtig damit Rollstuhlfahrende wissen, ob sie die Tür selbst öffnen müssen oder ob einfach hindurch können. Wenn es nicht einschätzbar ist, sollte die Frage übersprungen werden.",
"@doorOpenDescription": {},
"doorOpenNoOption": "Nein",
"@doorOpenNoOption": {},
"doorOpenYesOption": "Ja",
"@doorOpenYesOption": {},
wielandb marked this conversation as resolved.
Show resolved Hide resolved
"doorOpenFullOption": "Vollständig offen",
"@doorOpenFullOption": {},
"doorOpenPartialOption": "Teilweise offen",
"@doorOpenPartialOption": {},
"doorOpeningDegreeName": "Türöffnung",
"@doorOpeningDegreeName": {},
"doorOpeningDegreeText": "Wie weit ist die Tür geöffnet?",
"@doorOpeningDegreeText": {},
wielandb marked this conversation as resolved.
Show resolved Hide resolved
"doorOpeningName": "Durchgangsbreite der Türöffnung",
"@doorOpeningName": {},
wielandb marked this conversation as resolved.
Show resolved Hide resolved
"doorOpeningText": "Was ist die Durchgangsbreite der teilweise geöffneten Tür?",
"@doorOpeningText": {},
"doorOpeningDescription": "Gemeint ist die lichte Breite, wenn die Tür in ihrer üblichen Position geöffnet ist. Dies ist wichtig, damit Rollstuhlfahrende wissen, ob sie hindurch passen.",
wielandb marked this conversation as resolved.
Show resolved Hide resolved
"@doorOpeningDescription": {},
"doorOpeningPlaceholder": "Durchgangsbreite",
"@doorOpeningPlaceholder": {},
"waySegregatedName": "Fuß-/Radweg-Verlauf",
"@waySegregatedName": {},
"waySegregatedText": "Wie verlaufen der Fuß- und Radweg zueinander?",
Expand Down
24 changes: 24 additions & 0 deletions assets/question_catalog/locales/en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,30 @@
"@doorWidthDescription": {},
"doorWidthPlaceholder": "Width",
"@doorWidthPlaceholder": {},
"doorOpenName": "Door usually open",
wielandb marked this conversation as resolved.
Show resolved Hide resolved
"@doorOpenName": {},
"doorOpenText": "Is the door usually open?",
"@doorOpenText": {},
"doorOpenDescription": "This is important so that wheelchair users know if they need to open a door or if they can just pass through. The question should be skipped if it is hard to assess.",
wielandb marked this conversation as resolved.
Show resolved Hide resolved
"@doorOpenDescription": {},
"doorOpenNoOption": "No",
"@doorOpenNoOption": {},
"doorOpenYesOption": "Yes",
"@doorOpenYesOption": {},
wielandb marked this conversation as resolved.
Show resolved Hide resolved
"doorOpenFullOption": "Completely open",
"@doorOpenFullOption": {},
"doorOpenPartialOption": "Partially open",
"@doorOpenPartialOption": {},
"doorOpeningDegreeName": "Door opening",
"@doorOpeningDegreeName": {},
"doorOpeningDegreeText": "How wide is the door open?",
"@doorOpeningDegreeText": {},
wielandb marked this conversation as resolved.
Show resolved Hide resolved
"doorOpeningText": "How wide is the opening of the partially open door?",
"@doorOpeningText": {},
"doorOpeningDescription": "The extent (clearance width) to which the door is currently open.",
"@doorOpeningDescription": {},
"doorOpeningPlaceholder": "Clearance width",
"@doorOpeningPlaceholder": {},
"waySegregatedName": "Pedestrian/bicycle relation",
"@waySegregatedName": {},
"waySegregatedText": "How do the footpath and cycleway relate to each other?",
Expand Down
Loading