Skip to content

Commit

Permalink
Merge pull request #205 from OPENER-next/final-release-fixes
Browse files Browse the repository at this point in the history
Final release preparations
  • Loading branch information
Robbendebiene committed Sep 8, 2023
2 parents df806d8 + 37f059b commit 3abc813
Show file tree
Hide file tree
Showing 12 changed files with 229 additions and 206 deletions.
9 changes: 8 additions & 1 deletion assets/advanced_question_catalog/definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,14 @@
"public_transport": "platform",
"ref:IFOPT": false,
"noref:IFOPT": false
}
},
"!parent": [
{
"osm_tags": {
"public_transport": "platform"
}
}
]
}
]
},
Expand Down
196 changes: 100 additions & 96 deletions assets/question_catalog/definition.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,90 @@
[
{
"question": {
"name": "@transportationModesName",
"text": "@transportationModesText"
},
"answer": {
"type": "MultiList",
"input": [
{
"name": "@transportationModesBusOption",
"image": "assets/question_catalog/images/bus.jpg",
"osm_tags": {
"bus": "yes"
}
},
{
"name": "@transportationModesTramOption",
"image": "assets/question_catalog/images/tram.jpg",
"osm_tags": {
"tram": "yes"
}
},
{
"name": "@transportationModesTrainOptionName",
"image": "assets/question_catalog/images/train.jpg",
"description": "@transportationModesTrainOptionDescription",
"osm_tags": {
"train": "yes"
}
},
{
"name": "@transportationModesLightRailOptionName",
"image": "assets/question_catalog/images/lightrail.jpg",
"description": "@transportationModesLightRailOptionDescription",
"osm_tags": {
"light_rail": "yes"
}
},
{
"name":"@transportationModesSubwayOption",
"image": "assets/question_catalog/images/subway.jpg",
"osm_tags": {
"subway": "yes"
}
},
{
"name": "@transportationModesMonorailOptionName",
"image": "assets/question_catalog/images/monorail.jpg",
"description": "@transportationModesMonorailOptionDescription",
"osm_tags": {
"monorail": "yes"
}
}
],
"constructor": {
"bus": ["COALESCE", "$input"],
"tram": ["COALESCE", "$input"],
"train": ["COALESCE", "$input"],
"light_rail": ["COALESCE", "$input"],
"subway": ["COALESCE", "$input"],
"monorail": ["COALESCE", "$input"]
}
},
"conditions": [
{
"osm_tags": {
"public_transport": "platform",
"bus": false,
"ferry": false,
"light_rail": false,
"monorail": false,
"subway": false,
"train": false,
"tram": false,
"trolleybus": false
},
"!parent": [
{
"osm_tags": {
"public_transport": "platform"
}
}
]
}
]
},
{
"question": {
"name": "@operatorName",
Expand Down Expand Up @@ -417,8 +503,7 @@
"text": "@stopCoveredAreaText",
"image": [
"assets/question_catalog/images/platform_shelter_1.jpg",
"assets/question_catalog/images/platform_shelter_2.jpg",
"assets/question_catalog/images/platform_shelter_3.jpg"
"assets/question_catalog/images/platform_shelter_2.jpg"
]
},
"answer": {
Expand Down Expand Up @@ -1030,7 +1115,7 @@
"conditions": [
{
"osm_tags": {
"platform_lift": "yes",
"platform_lift": ["yes", "vertical"],
"platform_lift:portable": "yes",
"platform_lift:maxlength:physical": false
}
Expand Down Expand Up @@ -1063,7 +1148,7 @@
"conditions": [
{
"osm_tags": {
"platform_lift": "yes",
"platform_lift": ["yes", "vertical"],
"platform_lift:portable": "yes",
"platform_lift:maxweight": false
}
Expand Down Expand Up @@ -2067,7 +2152,7 @@
{
"question": {
"name": "@cycleBarrierSpacingName",
"text": "@cycleBarrierSpacingTex",
"text": "@cycleBarrierSpacingText",
"image": [
"assets/question_catalog/images/cycle_barrier_double_spacing.png",
"assets/question_catalog/images/cycle_barrier_triple_spacing.png"
Expand Down Expand Up @@ -2174,9 +2259,11 @@
"conditions": [
{
"osm_tags": {
"platform_lift": "yes",
"highway": "steps",
"platform_lift": ["yes", "vertical", "inclined"],
"platform_lift:maxlength:physical": false
}
},
"osm_element": "OpenWay"
}
]
},
Expand Down Expand Up @@ -2249,9 +2336,11 @@
"conditions": [
{
"osm_tags": {
"platform_lift": "yes",
"highway": "steps",
"platform_lift": ["yes", "vertical", "inclined"],
"platform_lift:maxwidth:physical ": false
}
},
"osm_element": "OpenWay"
}
]
},
Expand Down Expand Up @@ -2435,7 +2524,7 @@
"type": "List",
"input": [
{
"name": "J@stairsTactilePavingBothOption",
"name": "@stairsTactilePavingBothOption",
"image": "assets/question_catalog/images/steps_tactile_paving_yes.jpg",
"osm_tags": {
"tactile_paving": "yes"
Expand Down Expand Up @@ -2468,6 +2557,7 @@
{
"osm_tags": {
"highway": "steps",
"conveying": ["no", false],
"tactile_paving": false
},
"osm_element": "OpenWay"
Expand Down Expand Up @@ -3230,91 +3320,5 @@
"osm_element": "Node"
}
]
},
{
"question": {
"name": "@tranportationModesName",
"text": "@tranportationModesText"
},
"answer": {
"type": "MultiList",
"input": [
{
"name": "@tranportationModesBusOption",
"image": "assets/question_catalog/images/bus.jpg",
"osm_tags": {
"bus": "yes"
}
},
{
"name": "@tranportationModesTramOption",
"image": "assets/question_catalog/images/tram.jpg",
"osm_tags": {
"tram": "yes"
}
},
{
"name": "@tranportationModesTrainOptionName",
"image": "assets/question_catalog/images/train.jpg",
"description": "@tranportationModesTrainOptionDescription",
"osm_tags": {
"train": "yes"
}
},
{
"name": "@tranportationModesLightRailOptionName",
"image": "assets/question_catalog/images/lightrail.jpg",
"description": "@tranportationModesLightRailOptionDescription",
"osm_tags": {
"light_rail": "yes"
}
},
{
"name":"@tranportationModesSubwayOption",
"image": "assets/question_catalog/images/subway.jpg",
"osm_tags": {
"subway": "yes"
}
},
{
"name": "@tranportationModesMonorailOptionName",
"image": "assets/question_catalog/images/monorail.jpg",
"description": "@tranportationModesMonorailOptionDescription",
"osm_tags": {
"monorail": "yes"
}
}
],
"constructor": {
"bus": ["COALESCE", "$input"],
"tram": ["COALESCE", "$input"],
"train": ["COALESCE", "$input"],
"light_rail": ["COALESCE", "$input"],
"subway": ["COALESCE", "$input"],
"monorail": ["COALESCE", "$input"]
}
},
"conditions": [
{
"osm_tags": {
"public_transport": "platform",
"bus": false,
"ferry": false,
"light_rail": false,
"monorail": false,
"subway": false,
"train": false,
"tram": false,
"trolleybus": false
},
"!parent": [
{
"osm_tags": {
"public_transport": "platform"
}
}
]
}
]
}
]
58 changes: 29 additions & 29 deletions assets/question_catalog/locales/de.arb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"@toiletAccessibilityEveryoneOptionDescription" : {},
"toiletAccessibilityNoWheelchairOptionName" : "Nicht für Rollstuhlfahrende",
"@toiletAccessibilityNoWheelchairOptionName" : {},
"toiletAccessibilityNoWheelchairOptionDescription" : "Die Toiletten sind nicht rollstuhlgerecht. Rollstuhlfahrernde haben keine Zugangsmöglichkeiten.",
"toiletAccessibilityNoWheelchairOptionDescription" : "Die Toiletten sind nicht rollstuhlgerecht. Rollstuhlfahrende haben keine Zugangsmöglichkeiten.",
"@toiletAccessibilityNoWheelchairOptionDescription" : {},
"toiletFeesName" : "Toiletten-Gebühren",
"@toiletFeesName" : {},
Expand Down Expand Up @@ -152,43 +152,43 @@
"@portableRampName" : {},
"portableRampText" : "Gibt es eine bewegbare Rollstuhl-Rampe?",
"@portableRampText" : {},
"portableRampDescription" : "Bahnsteiggebundene Rampen sind bewegbar und helfen beim Ein- und Ausstieg von Rollstuhlfahrenden zur Überwindung eines Spalts bzw. von Stufen.",
"portableRampDescription" : "Bewegbare Rampen helfen Rollstuhlfahrenden bei der Überwindung eines Spalts bzw. von Stufen (beim Ein- und Ausstieg).",
"@portableRampDescription" : {},
"portableRampLengthName" : "Rampen-Länge",
"@portableRampLengthName" : {},
"portableRampLengthText" : "Wie lang ist die bewegbare Rollstuhl-Rampe?",
"@portableRampLengthText" : {},
"portableRampLengthDescription" : "Bahnsteiggebundene Rampen sind bewegbar und helfen beim Ein- und Ausstieg von Rollstuhlfahrenden zur Überwindung eines Spalts bzw. von Stufen.",
"portableRampLengthDescription" : "Bewegbare Rampen helfen Rollstuhlfahrenden bei der Überwindung eines Spalts bzw. von Stufen (beim Ein- und Ausstieg).",
"@portableRampLengthDescription" : {},
"portableRampLengthPlaceholder" : "Rampenlänge",
"@portableRampLengthPlaceholder" : {},
"portableRampLoadCapacityName" : "Rampen-Tragfähigkeit",
"@portableRampLoadCapacityName" : {},
"portableRampLoadCapacityText" : "Was ist die maximale Tragfähigkeit der bewegbaren Rampe?",
"@portableRampLoadCapacityText" : {},
"portableRampLoadCapacityDescription" : "Bahnsteiggebundene Rampen sind bewegbar und helfen beim Ein- und Ausstieg von Rollstuhlfahrenden zur Überwindung eines Spalts bzw. von Stufen.",
"portableRampLoadCapacityDescription" : "Bewegbare Rampen helfen Rollstuhlfahrenden bei der Überwindung eines Spalts bzw. von Stufen (beim Ein- und Ausstieg).",
"@portableRampLoadCapacityDescription" : {},
"portableRampLoadCapacityPlaceholder" : "Tragfähigkeit",
"@portableRampLoadCapacityPlaceholder" : {},
"portableLiftName" : "Bewegbarer Hublift",
"@portableLiftName" : {},
"portableLiftText" : "Gibt es einen bewegbaren Hublift für Rollstuhlfahrende?",
"@portableLiftText" : {},
"portableLiftDescription" : "Bahnsteiggebundene Hublifte sind bewegbar und helfen beim Ein- und Ausstieg von Rollstuhlfahrenden zur Überwindung eines Spalts bzw. von Stufen.",
"portableLiftDescription" : "Bewegbare Hublifte helfen Rollstuhlfahrenden bei der Überwindung eines Spalts bzw. von Stufen (beim Ein- und Ausstieg).",
"@portableLiftDescription" : {},
"portableLiftLengthName" : "Hublift-Stellflächenlänge",
"@portableLiftLengthName" : {},
"portableLiftLengthText" : "Wie lang ist die Stellfläche des bewegbaren Hublifts?",
"@portableLiftLengthText" : {},
"portableLiftLengthDescription" : "Bahnsteiggebundene Hublifte sind bewegbar und helfen beim Ein- und Ausstieg von Rollstuhlfahrenden zur Überwindung eines Spalts bzw. von Stufen.",
"portableLiftLengthDescription" : "Bewegbare Hublifte helfen Rollstuhlfahrenden bei der Überwindung eines Spalts bzw. von Stufen (beim Ein- und Ausstieg).",
"@portableLiftLengthDescription" : {},
"portableLiftLengthPlaceholder" : "Stellflächenlänge",
"@portableLiftLengthPlaceholder" : {},
"portableLiftLoadCapacityName" : "Hublift-Tragfähigkeit",
"@portableLiftLoadCapacityName" : {},
"portableLiftLoadCapacityText" : "Was ist die maximale Tragfähigkeit des bewegbaren Hublifts?",
"@portableLiftLoadCapacityText" : {},
"portableLiftLoadCapacityDescription" : "Bahnsteiggebundene Hublifte sind bewegbar und helfen beim Ein- und Ausstieg von Rollstuhlfahrenden zur Überwindung eines Spalts bzw. von Stufen.",
"portableLiftLoadCapacityDescription" : "Bewegbare Hublifte helfen Rollstuhlfahrenden bei der Überwindung eines Spalts bzw. von Stufen (beim Ein- und Ausstieg).",
"@portableLiftLoadCapacityDescription" : {},
"portableLiftLoadCapacityPlaceholder" : "Tragfähigkeit",
"@portableLiftLoadCapacityPlaceholder" : {},
Expand Down Expand Up @@ -526,28 +526,28 @@
"@crossingGroundIndicatorText" : {},
"crossingGroundIndicatorDescription" : "Bodenindikatoren dienen vor allem Sehbehinderten als Warnung vor abgesenkten Bordsteinen oder Straßenüberquerungen und verhindern so ein unbewusstes Betreten der Fahrbahn.",
"@crossingGroundIndicatorDescription" : {},
"tranportationModesName" : "Verkehrsmittel",
"@tranportationModesName" : {},
"tranportationModesText" : "Welche Verkehrsmittel halten an dieser Haltestelle?",
"@tranportationModesText" : {},
"tranportationModesBusOption" : "Bus",
"@tranportationModesBusOption" : {},
"tranportationModesTramOption" : "Straßenbahn",
"@tranportationModesTramOption" : {},
"tranportationModesTrainOptionName" : "Zug",
"@tranportationModesTrainOptionName" : {},
"tranportationModesTrainOptionDescription" : "Hierunter sind sowohl Züge für den Nahverkehr (inkl. S-Bahnen) als auch Fernverkehr zu verstehen.",
"@tranportationModesTrainOptionDescription" : {},
"tranportationModesLightRailOptionName" : "Leichtbahn",
"@tranportationModesLightRailOptionName" : {},
"tranportationModesLightRailOptionDescription" : "Eine Leichtbahn, auch Stadtbahn genannt, ist eine Zwischenstufe zwischen Straßenbahn und Zug. Sie verbindet oft ländliche Gebiete mit der Stadt und sind hochfluriger als Straßenbahnen.",
"@tranportationModesLightRailOptionDescription" : {},
"tranportationModesSubwayOption" : "U-Bahn",
"@tranportationModesSubwayOption" : {},
"tranportationModesMonorailOptionName" : "Einschienenbahn",
"@tranportationModesMonorailOptionName" : {},
"tranportationModesMonorailOptionDescription" : "Eine Einschienenbahn fährt meistens über der Straßenebene und hat keine sichtbaren Räder.",
"@tranportationModesMonorailOptionDescription" : {},
"transportationModesName" : "Verkehrsmittel",
"@transportationModesName" : {},
"transportationModesText" : "Welche Verkehrsmittel halten an dieser Haltestelle?",
"@transportationModesText" : {},
"transportationModesBusOption" : "Bus",
"@transportationModesBusOption" : {},
"transportationModesTramOption" : "Straßenbahn",
"@transportationModesTramOption" : {},
"transportationModesTrainOptionName" : "Zug",
"@transportationModesTrainOptionName" : {},
"transportationModesTrainOptionDescription" : "Hierunter sind sowohl Züge für den Nahverkehr (inkl. S-Bahnen) als auch Fernverkehr zu verstehen.",
"@transportationModesTrainOptionDescription" : {},
"transportationModesLightRailOptionName" : "Leichtbahn",
"@transportationModesLightRailOptionName" : {},
"transportationModesLightRailOptionDescription" : "Eine Leichtbahn, auch Stadtbahn genannt, ist eine Zwischenstufe zwischen Straßenbahn und Zug. Sie verbindet oft ländliche Gebiete mit der Stadt und sind hochfluriger als Straßenbahnen.",
"@transportationModesLightRailOptionDescription" : {},
"transportationModesSubwayOption" : "U-Bahn",
"@transportationModesSubwayOption" : {},
"transportationModesMonorailOptionName" : "Einschienenbahn",
"@transportationModesMonorailOptionName" : {},
"transportationModesMonorailOptionDescription" : "Eine Einschienenbahn fährt meistens über der Straßenebene und hat keine sichtbaren Räder.",
"@transportationModesMonorailOptionDescription" : {},
"unitCentimeter" : "Zentimeter",
"@unitCentimeter": {},
"unitMeter" : "Meter",
Expand Down
Loading

0 comments on commit 3abc813

Please sign in to comment.