diff pkg/controllers/diff.go @ 4637:0ed1489af8b6

Removed ST_MakeValid from inserting sounding results and differences ... in hope that they are not broken. This speeds inserting up a lot.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 11 Oct 2019 15:09:13 +0200
parents c657dec6b0fa
children 4380f5483c03
line wrap: on
line diff
--- a/pkg/controllers/diff.go	Fri Oct 11 14:12:05 2019 +0200
+++ b/pkg/controllers/diff.go	Fri Oct 11 15:09:13 2019 +0200
@@ -76,8 +76,7 @@
     ST_Multi(
       ST_CollectionExtract(
         ST_SimplifyPreserveTopology(
-          ST_Multi(ST_Collectionextract(
-            ST_MakeValid(ST_GeomFromWKB($4, $3::integer)), 3)),
+          ST_GeomFromWKB($4, $3::integer),
           $5
         ),
         3