diff --git a/analysers/analyser_osmosis_double_tagging.py b/analysers/analyser_osmosis_double_tagging.py index 0a5b2c48b..b7b668170 100644 --- a/analysers/analyser_osmosis_double_tagging.py +++ b/analysers/analyser_osmosis_double_tagging.py @@ -80,7 +80,7 @@ FROM {0}{2} AS {2} JOIN {1}{3} AS {3} ON - {2}.geom && {3}.geom AND + ST_Intersects({2}.geom, {3}.geom) AND ( ({2}.name IS NULL AND {3}.name IS NULL) OR {2}.name = {3}.name