comparison pkg/imports/sr.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 6eab3ac0e849
children 1d6f28e45696
comparison
equal deleted inserted replaced
4664:7d2463c7b4ad 4667:0ddb308fed37
174 $2, 174 $2,
175 ST_Transform( 175 ST_Transform(
176 ST_Multi( 176 ST_Multi(
177 ST_CollectionExtract( 177 ST_CollectionExtract(
178 ST_SimplifyPreserveTopology( 178 ST_SimplifyPreserveTopology(
179 ST_GeomFromWKB($4, $3::integer), 179 ST_Multi(ST_Collectionextract(
180 ST_MakeValid(ST_GeomFromWKB($4, $3::integer)), 3)),
180 $5 181 $5
181 ), 182 ),
182 3 183 3
183 ) 184 )
184 ), 185 ),