From 3e365b1843763ccfc2520226ddc6fd78e4f09e78 Mon Sep 17 00:00:00 2001 From: Famlam Date: Wed, 1 Nov 2023 23:57:11 +0100 Subject: [PATCH] Check validity for poly and poly_proj See 2058 --- analysers/Analyser_Osmosis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analysers/Analyser_Osmosis.py b/analysers/Analyser_Osmosis.py index 37eabc8fe..5022144c3 100644 --- a/analysers/Analyser_Osmosis.py +++ b/analysers/Analyser_Osmosis.py @@ -186,7 +186,7 @@ class Analyser_Osmosis(Analyser): SELECT *, ST_Transform(poly, {1}) AS poly_proj, - ST_IsValid(poly) AS is_valid + ST_IsValid(poly) AND ST_IsValid(ST_Transform(poly, {1})) AS is_valid -- see #2058 sometimes poly is considered valid but poly_proj not FROM multi; END IF;