changeset 4734:56bd9ba0354c stack-polygons

Removed ST_MakeValid() call from storing iso areas in SR import, too.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 18 Oct 2019 09:37:53 +0200
parents 1c205bb3d0fd
children fcbd585ae308
files pkg/imports/sr.go
diffstat 1 files changed, 2 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/pkg/imports/sr.go	Fri Oct 18 02:10:56 2019 +0200
+++ b/pkg/imports/sr.go	Fri Oct 18 09:37:53 2019 +0200
@@ -174,15 +174,8 @@
   $2,
   ST_Transform(
     ST_Multi(
-      ST_CollectionExtract(
-        ST_MakeValid(
-          ST_Multi(
-             ST_Collectionextract(
-                ST_SimplifyPreserveTopology(ST_GeomFromWKB($4, $3::integer), $5),
-                3
-             )
-            )
-        ),
+      ST_Collectionextract(
+        ST_SimplifyPreserveTopology(ST_GeomFromWKB($4, $3::integer), $5),
         3
       )
     ),