buildgraph: add support for escalator_up and escalator_down

This commit is contained in:
Laura Klünder 2016-12-18 13:28:02 +01:00
parent d2e9e18c2a
commit 405c688eac
5 changed files with 100 additions and 18 deletions

View file

@ -237,6 +237,10 @@ class LevelGeometries():
def stairs(self):
return cascaded_union([stair.geometry for stair in self.query('stairs')]).intersection(self.accessible)
@cached_property
def escalatorslopes(self):
return cascaded_union([s.geometry for s in self.query('escalatorslopes')]).intersection(self.accessible)
@cached_property
def stair_areas(self):
left = []