From 48e492407c8934e84c764291f053dafe84eda224 Mon Sep 17 00:00:00 2001 From: Famlam Date: Wed, 1 Jan 2025 20:57:38 +0100 Subject: [PATCH] Prevent reports on the intersecting node in P-ways --- analysers/analyser_osmosis_highway_almost_junction.py | 1 + 1 file changed, 1 insertion(+) 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