Skip to content

Commit

Permalink
Extend surface questions (#197)
Browse files Browse the repository at this point in the history
* Add question whether a way is segregated
* Add separate surface question for segregated footways
* Add separate surface question for segregated cycleways
  • Loading branch information
Henry00572 committed Aug 18, 2023
1 parent ef392fb commit cb2c0a3
Show file tree
Hide file tree
Showing 3 changed files with 169 additions and 1 deletion.
170 changes: 169 additions & 1 deletion assets/datasets/question_catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -1740,6 +1740,50 @@
}
]
},
{
"question": {
"name": "Fuß-/Radweg-Verlauf",
"text": "Wie verlaufen der Fuß- und Radweg zueinander?",
"description": "Die gemeinsame oder getrennte Nutzung des Weges wird üblicherweise durch Schilder vorgeschrieben."
},
"answer": {
"type": "List",
"input": [
{
"name": "Getrennt",
"image": "assets/images/questions/segregated_yes_sign_241-30.png",
"osm_tags": {
"segregated": "yes"
}
},
{
"name": "Gemeinsam",
"image": "assets/images/questions/segregated_no_sign_240.png",
"osm_tags": {
"segregated": "no"
}
}
]
},
"conditions": [
{
"osm_tags": {
"highway": ["path", "footway", "cycleway"],
"segregated": false,
"foot": "designated",
"bicycle": "designated",
"indoor": ["no", false]
},
"!osm_tags": {
"access": ["no","private"]
},
"osm_element": [
"OpenWay",
"ClosedWay"
]
}
]
},
{
"question": {
"name": "Bodenbeschaffenheit",
Expand Down Expand Up @@ -1782,7 +1826,10 @@
"highway": "footway",
"footway": [false, "sidewalk"],
"surface": false,
"indoor": ["no", false]
"indoor": ["no", false],
"segregated": ["no", false],
"footway:surface": false,
"cycleway:surface": false
},
"!osm_tags": {
"access": ["no","private"]
Expand All @@ -1797,6 +1844,127 @@
"highway": ["path", "cycleway"],
"foot": ["yes", "designated"],
"surface": false,
"indoor": ["no", false],
"segregated": ["no", false],
"footway:surface": false,
"cycleway:surface": false
},
"!osm_tags": {
"access": ["no","private"]
},
"osm_element": [
"OpenWay",
"ClosedWay"
]
}
]
},
{
"question": {
"name": "Bodenbeschaffenheit Fußweg",
"text": "Wie ist der Boden des Fußweges beschaffen?",
"description": "Besteht die Oberfläche aus Schotter, Sand, Gras oder einem vergleichbaren Belag, so handelt es sich um einen unbefestigten Bodenbelag."
},
"answer": {
"type": "List",
"input": [
{
"name": "Befestigt",
"image": "assets/images/questions/surface_paved.jpg",
"osm_tags": {
"footway:surface": "paved"
}
},
{
"name": "Unbefestigt",
"image": "assets/images/questions/surface_unpaved.jpg",
"osm_tags": {
"footway:surface": "unpaved"
}
}
]
},
"conditions": [
{
"osm_tags": {
"highway": ["path", "footway", "cycleway"],
"segregated": "yes",
"surface": false,
"footway:surface": false,
"indoor": ["no", false]
},
"!osm_tags": {
"access": ["no","private"]
},
"osm_element": [
"OpenWay",
"ClosedWay"
]
},
{
"osm_tags": {
"highway": ["path", "footway", "cycleway"],
"cycleway:surface": true,
"footway:surface": false,
"indoor": ["no", false]
},
"!osm_tags": {
"access": ["no","private"]
},
"osm_element": [
"OpenWay",
"ClosedWay"
]
}
]
},
{
"question": {
"name": "Bodenbeschaffenheit Radweg",
"text": "Wie ist der Boden des Radweges beschaffen?",
"description": "Besteht die Oberfläche aus Schotter, Sand, Gras oder einem vergleichbaren Belag, so handelt es sich um einen unbefestigten Bodenbelag."
},
"answer": {
"type": "List",
"input": [
{
"name": "Befestigt",
"image": "assets/images/questions/surface_paved.jpg",
"osm_tags": {
"cycleway:surface": "paved"
}
},
{
"name": "Unbefestigt",
"image": "assets/images/questions/surface_unpaved.jpg",
"osm_tags": {
"cycleway:surface": "unpaved"
}
}
]
},
"conditions": [
{
"osm_tags": {
"highway": ["path", "footway", "cycleway"],
"segregated": "yes",
"surface": false,
"cycleway:surface": false,
"indoor": ["no", false]
},
"!osm_tags": {
"access": ["no","private"]
},
"osm_element": [
"OpenWay",
"ClosedWay"
]
},
{
"osm_tags": {
"highway": ["path", "footway", "cycleway"],
"footway:surface": true,
"cycleway:surface": false,
"indoor": ["no", false]
},
"!osm_tags": {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cb2c0a3

Please sign in to comment.