again… fix invalidity?

This commit is contained in:
Laura Klünder 2017-12-21 20:08:25 +01:00
parent a974f7edab
commit 94f5b1d907

View file

@ -488,7 +488,7 @@ class AltitudeArea(LevelGeometryMixin, models.Model):
remaining_space = MultiPolygon(remaining_space)
for polygon in assert_multipolygon(remaining_space):
polygon = clean_cut_polygon(polygon)
polygon = clean_cut_polygon(polygon).buffer(0)
buffered = polygon.buffer(0.001)
center = polygon.centroid