Mercurial > gemma
diff pkg/controllers/diff.go @ 4667:0ddb308fed37
Reintroduced the ST_MakeValid calls when inserting the iso geometries into the database.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 14 Oct 2019 17:23:29 +0200 |
parents | 4bbfe3dd2ab5 |
children | 976aedc195e5 |
line wrap: on
line diff
--- a/pkg/controllers/diff.go Mon Oct 14 16:10:31 2019 +0200 +++ b/pkg/controllers/diff.go Mon Oct 14 17:23:29 2019 +0200 @@ -76,7 +76,8 @@ ST_Multi( ST_CollectionExtract( ST_SimplifyPreserveTopology( - ST_GeomFromWKB($4, $3::integer), + ST_Multi(ST_Collectionextract( + ST_MakeValid(ST_GeomFromWKB($4, $3::integer)), 3)), $5 ), 3