[postgis-tickets] r15440 - simplification per strk's request. I undersimplified on last commit.
Regina Obe
lr at pcorp.us
Wed Jun 21 04:23:11 PDT 2017
Author: robe
Date: 2017-06-21 04:23:11 -0700 (Wed, 21 Jun 2017)
New Revision: 15440
Modified:
trunk/topology/sql/topogeometry/totopogeom.sql.in
Log:
simplification per strk's request. I undersimplified on last commit.
Modified: trunk/topology/sql/topogeometry/totopogeom.sql.in
===================================================================
--- trunk/topology/sql/topogeometry/totopogeom.sql.in 2017-06-20 23:29:37 UTC (rev 15439)
+++ trunk/topology/sql/topogeometry/totopogeom.sql.in 2017-06-21 11:23:11 UTC (rev 15440)
@@ -235,9 +235,9 @@
-- as possible so that each element can further edit the
-- definition by splitting
FOR rec IN SELECT id(tg), alayer as lyr,
- geom, ST_Dimension(geom) as dims
- FROM (SELECT gd.geom FROM ST_Dump(ageom) AS gd ) as f
- WHERE NOT ST_IsEmpty(geom)
+ geom, ST_Dimension(gd.geom) as dims
+ FROM ST_Dump(ageom) AS gd
+ WHERE NOT ST_IsEmpty(gd.geom)
LOOP
-- NOTE: Switched from using case to this because of PG 10 behavior change
-- Using a UNION ALL only one will be processed because of the WHERE
More information about the postgis-tickets
mailing list