Mercurial > gemma
diff pkg/imports/sr.go @ 1137:2fb6c0a6ec8a
Avoid intersection of each isoline with area on insert
Since rev. a4e003ba0074, this intersection is already done along with the
triangulation.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 08 Nov 2018 16:30:53 +0100 |
parents | a5069da2f0b7 |
children | 443fc80a315f |
line wrap: on
line diff
--- a/pkg/imports/sr.go Thu Nov 08 15:50:28 2018 +0100 +++ b/pkg/imports/sr.go Thu Nov 08 16:30:53 2018 +0100 @@ -131,12 +131,9 @@ ST_Transform( ST_Multi( ST_CollectionExtract( - ST_Intersection( - ST_Transform(sr.area::geometry, $3::integer), - ST_SimplifyPreserveTopology( - ST_GeomFromWKB($4, $3::integer), - $5 - ) + ST_SimplifyPreserveTopology( + ST_GeomFromWKB($4, $3::integer), + $5 ), 2 )