[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0rc1-72-gd52fc5c
git at osgeo.org
git at osgeo.org
Thu Feb 11 12:44:01 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, master has been updated
via d52fc5c03904a34df6f8695d4e9d674e5d443aab (commit)
from 5e310cf6ad646702e5574eb3aa2391021dcdd8c5 (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 d52fc5c03904a34df6f8695d4e9d674e5d443aab
Author: Regina Obe <lr at pcorp.us>
Date: Thu Feb 11 15:43:52 2021 -0500
Revise subdivide test so both geos 3.9 and geos 3.10 agree on same answer. References #4837 for PostGIS 3.2
diff --git a/regress/core/fixedoverlay.sql b/regress/core/fixedoverlay.sql
index facaaab..0953d3e 100644
--- a/regress/core/fixedoverlay.sql
+++ b/regress/core/fixedoverlay.sql
@@ -22,6 +22,9 @@ 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..6f2eb76 100644
--- a/regress/core/fixedoverlay_expected
+++ b/regress/core/fixedoverlay_expected
@@ -3,7 +3,4 @@ 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 | 7 +++++--
regress/core/fixedoverlay_expected | 5 +----
2 files changed, 6 insertions(+), 6 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list