columns can have an accessrestriction now
This commit is contained in:
parent
f05b8f19c5
commit
8936fe5aea
5 changed files with 58 additions and 7 deletions
|
@ -206,7 +206,7 @@ class AltitudeArea(LevelGeometryMixin, models.Model):
|
|||
if space.outside:
|
||||
space.geometry = space.geometry.difference(buildings_geom)
|
||||
space_accessible = space.geometry.difference(
|
||||
unary_union(tuple(c.geometry for c in space.columns.all()) +
|
||||
unary_union(tuple(c.geometry for c in space.columns.all() if c.access_restriction_id is None) +
|
||||
tuple(o.geometry for o in space.obstacles.all()) +
|
||||
tuple(o.buffered_geometry for o in space.lineobstacles.all()) +
|
||||
tuple(h.geometry for h in space.holes.all()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue