diff --git a/analysers/analyser_osmosis_highway_almost_junction.py b/analysers/analyser_osmosis_highway_almost_junction.py index 64335aae4..b28c58195 100644 --- a/analysers/analyser_osmosis_highway_almost_junction.py +++ b/analysers/analyser_osmosis_highway_almost_junction.py @@ -48,6 +48,7 @@ highway NOT IN ('service', 'footway', 'path', 'platform', 'steps') AND NOT is_construction AND NOT is_polygon AND + ST_IsSimple(linestring) AND -- ignore self-intersecting P-shaped ways ST_Length(linestring_proj) > 10 ) AS t LEFT JOIN highways ON