Commit 81584fc9 authored by Volker Krause's avatar Volker Krause
Browse files

Handle another way of tagging staircases for changing floors

parent 981b0bad
......@@ -136,7 +136,8 @@ bool FloorLevelChangeModel::isLevelChangeElement(OSM::Element element) const
|| element.tagValue("building:part") == "elevator"
|| element.tagValue("building") == "elevator"
|| element.tagValue("room") == "elevator"
|| element.tagValue("levelpart") == "elevator_platform";
|| element.tagValue("levelpart") == "elevator_platform"
|| (!element.tagValue("indoor").isEmpty() && element.tagValue("stairs") == "yes");
}
void FloorLevelChangeModel::appendFloorLevel(int level)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment