diff pkg/controllers/diff.go @ 4726:c91e759007da stack-polygons

Started with stacking shells and holes of generated polygons correctly.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 17 Oct 2019 18:33:46 +0200
parents 1d6f28e45696
children c93c8a837af8
line wrap: on
line diff
--- a/pkg/controllers/diff.go	Thu Oct 17 16:36:58 2019 +0200
+++ b/pkg/controllers/diff.go	Thu Oct 17 18:33:46 2019 +0200
@@ -84,15 +84,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
       )
     ),