Skip to content

Commit

Permalink
Expand door:* conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
wielandb committed Jul 18, 2024
1 parent ec24d09 commit 56b9922
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions assets/question_catalog/definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -4224,8 +4224,10 @@
"highway": "elevator",
"door:width": false
},
"osm_element": ["Node", "ClosedWay"],
"!parent": [
{
"osm_element": ["OpenWay", "ClosedWay"],
"child": [
{
"osm_tags": {
Expand All @@ -4236,9 +4238,17 @@
}
]
}
],
"!child": [
{
"osm_tags": {
"door": ["yes", "sliding"]
}
}
]
}
]
}
],
"$comment": "The condition is trying to make sure that there is no separately mapped elevator door by excluding the question if another door with elevator-door-like properties is on the same footway as the elevator. It also excludes children of the elevator object in case the door is mapped as a node on the elevator way."
},
{
"question":{
Expand Down Expand Up @@ -4271,8 +4281,10 @@
"highway": "elevator",
"door:height": false
},
"osm_element": ["Node", "ClosedWay"],
"!parent": [
{
"osm_element": ["OpenWay", "ClosedWay"],
"child": [
{
"osm_tags": {
Expand All @@ -4283,9 +4295,16 @@
}
]
}
],
"!child": [
{
"osm_tags": {
"door": ["yes", "sliding"]
}
}
]
}
],
"$comment": "The condition is trying to make sure that there is no separately mapped elevator door by excluding the question if another door with elevator-door-like properties is on the same footway as the elevator."
"$comment": "The condition is trying to make sure that there is no separately mapped elevator door by excluding the question if another door with elevator-door-like properties is on the same footway as the elevator. It also excludes children of the elevator object in case the door is mapped as a node on the elevator way."
}
]

0 comments on commit 56b9922

Please sign in to comment.