[postgis-tickets] [SCM] PostGIS branch stable-3.1 updated. 3.1.1-25-gf41a14b

git at osgeo.org git at osgeo.org
Tue Mar 9 12:48:38 PST 2021


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, stable-3.1 has been updated
       via  f41a14b6237c996b207e1c7a49206d97ef2ab87d (commit)
      from  cdd2818d0c3de6b2fde9b38552a0ca94e765141e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f41a14b6237c996b207e1c7a49206d97ef2ab87d
Author: Regina Obe <lr at pcorp.us>
Date:   Tue Mar 9 15:48:26 2021 -0500

    Back port fixed-overlay test changes from 3.2 (master) closes #4873

diff --git a/regress/core/fixedoverlay.sql b/regress/core/fixedoverlay.sql
index facaaab..51018a0 100644
--- a/regress/core/fixedoverlay.sql
+++ b/regress/core/fixedoverlay.sql
@@ -22,6 +22,10 @@ SELECT 'unaryunion', ST_AsText(ST_UnaryUnion(
 	'GEOMETRYCOLLECTION(LINESTRING(0.5 0, 9 0), LINESTRING(7 0, 13.2 0))'::geometry,
 2));
 
-SELECT 'subdivide', ST_AsText(ST_Subdivide(
+WITH n AS (SELECT geom
+FROM ST_Subdivide(
 	'POLYGON((0 0,0 10,10 10,10 6,100 5.1, 100 10, 110 10, 110 0, 100 0,100 4.9,10 5,10 0,0 0))'::geometry,
-5, 2));
+6, 1) AS geom)
+SELECT 'subdivide', count(geom), ST_AsText(ST_Normalize(ST_Union(geom)))
+FROM n;
+
diff --git a/regress/core/fixedoverlay_expected b/regress/core/fixedoverlay_expected
index fb5a606..e0bc84b 100644
--- a/regress/core/fixedoverlay_expected
+++ b/regress/core/fixedoverlay_expected
@@ -3,7 +3,5 @@ difference|LINESTRING(0 0,8 0)
 symdifference|LINESTRING(0 0,8 0)
 union|MULTILINESTRING((0 0,8 0),(8 0,10 0),(10 0,14 0))
 unaryunion|MULTILINESTRING((0 0,8 0),(8 0,10 0),(10 0,14 0))
-subdivide|POLYGON((0 10,10 10,10 0,0 0,0 10))
-subdivide|POLYGON((10 6,100 6,100 4,10 6))
-subdivide|POLYGON((100 4,110 4,110 0,100 0,100 4))
-subdivide|POLYGON((100 10,110 10,110 4,100 4,100 10))
+subdivide|3|MULTIPOLYGON(((0 0,0 10,10 10,10 6,100 5,10 5,10 0,0 0)),((100 0,100 5,100 10,110 10,110 0,100 0)))
+

-----------------------------------------------------------------------

Summary of changes:
 regress/core/fixedoverlay.sql      | 8 ++++++--
 regress/core/fixedoverlay_expected | 6 ++----
 2 files changed, 8 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list