circumvent weird bug in shapely

This commit is contained in:
Laura Klünder 2016-12-22 19:43:01 +01:00
parent bedac2db74
commit 4257fc8a77

View file

@ -178,7 +178,7 @@ class LevelGeometries():
@cached_property
def accessible(self):
return self.areas.difference(self.holes).difference(self.obstacles)
return self.areas.difference(cascaded_union([self.holes, self.obstacles]))
@cached_property
def accessible_without_oneways(self):