Mercurial > gemma
comparison 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 |
comparison
equal
deleted
inserted
replaced
4664:7d2463c7b4ad | 4667:0ddb308fed37 |
---|---|
74 $2, | 74 $2, |
75 ST_Transform( | 75 ST_Transform( |
76 ST_Multi( | 76 ST_Multi( |
77 ST_CollectionExtract( | 77 ST_CollectionExtract( |
78 ST_SimplifyPreserveTopology( | 78 ST_SimplifyPreserveTopology( |
79 ST_GeomFromWKB($4, $3::integer), | 79 ST_Multi(ST_Collectionextract( |
80 ST_MakeValid(ST_GeomFromWKB($4, $3::integer)), 3)), | |
80 $5 | 81 $5 |
81 ), | 82 ), |
82 3 | 83 3 |
83 ) | 84 ) |
84 ), | 85 ), |