comparison pkg/imports/sr.go @ 1410:eb82076fdffe

Sounding result import: Ensure that the generated iso-lines are valid. This is a work around only.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 28 Nov 2018 20:36:04 +0100
parents 0e1d89241cda
children 3bf1f0de0763
comparison
equal deleted inserted replaced
1409:74b0df86b6e6 1410:eb82076fdffe
139 $2, 139 $2,
140 ST_Transform( 140 ST_Transform(
141 ST_Multi( 141 ST_Multi(
142 ST_CollectionExtract( 142 ST_CollectionExtract(
143 ST_SimplifyPreserveTopology( 143 ST_SimplifyPreserveTopology(
144 ST_GeomFromWKB($4, $3::integer), 144 ST_Multi(ST_Collectionextract(
145 ST_MakeValid(ST_GeomFromWKB($4, $3::integer)), 2)),
145 $5 146 $5
146 ), 147 ),
147 2 148 2
148 ) 149 )
149 ), 150 ),