# Fixes
* drops unused methods * fixes typos * updates comments * drops unused model attribute
This commit is contained in:
@@ -31,7 +31,7 @@ class ParcelFetcher:
|
||||
buffer_threshold = 0.001
|
||||
geom = geometry.geom.buffer(-buffer_threshold)
|
||||
if geom.area < buffer_threshold:
|
||||
# Fallback for malicious geometries which are way too small but would disappear on buffering
|
||||
# Fallback for malicious geometries which are way too small and would disappear on negative buffering
|
||||
geom = geometry.geom
|
||||
self.geojson = geom.ewkt
|
||||
self.results = []
|
||||
|
||||
Reference in New Issue
Block a user