Mercurial > gemma
comparison pkg/imports/sr.go @ 4734:56bd9ba0354c stack-polygons
Removed ST_MakeValid() call from storing iso areas in SR import, too.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 18 Oct 2019 09:37:53 +0200 |
parents | 1d6f28e45696 |
children | dbf07d0c364e |
comparison
equal
deleted
inserted
replaced
4733:1c205bb3d0fd | 4734:56bd9ba0354c |
---|---|
172 SELECT | 172 SELECT |
173 $1, | 173 $1, |
174 $2, | 174 $2, |
175 ST_Transform( | 175 ST_Transform( |
176 ST_Multi( | 176 ST_Multi( |
177 ST_CollectionExtract( | 177 ST_Collectionextract( |
178 ST_MakeValid( | 178 ST_SimplifyPreserveTopology(ST_GeomFromWKB($4, $3::integer), $5), |
179 ST_Multi( | |
180 ST_Collectionextract( | |
181 ST_SimplifyPreserveTopology(ST_GeomFromWKB($4, $3::integer), $5), | |
182 3 | |
183 ) | |
184 ) | |
185 ), | |
186 3 | 179 3 |
187 ) | 180 ) |
188 ), | 181 ), |
189 4326 | 182 4326 |
190 ) | 183 ) |