diff --git a/analysers/analyser_osmosis_water.py b/analysers/analyser_osmosis_water.py index 701d4b339..630408d8a 100644 --- a/analysers/analyser_osmosis_water.py +++ b/analysers/analyser_osmosis_water.py @@ -141,7 +141,7 @@ LEFT JOIN water ON (objects.type != 'W' OR water.id != objects.id) AND objects.bbox && water.linestring AND - ST_Distance_Sphere(objects.geom, water.linestring) < 30 + ST_DistanceSphere(objects.geom, water.linestring) < 30 WHERE water IS NULL """