[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0rc1-161-g7e19e67

git at osgeo.org git at osgeo.org
Tue Apr 27 11:23:51 PDT 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  7e19e671ed87060f933bd2ca8b4233097ead5dc7 (commit)
      from  2851cd1908dc138d6a6ec389fdbedc8fc93f5e73 (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 7e19e671ed87060f933bd2ca8b4233097ead5dc7
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Tue Apr 27 11:23:33 2021 -0700

    Move test to geos310.sql to avoid different results on different GEOS versions.

diff --git a/regress/core/geos310.sql b/regress/core/geos310.sql
new file mode 100644
index 0000000..e56d10b
--- /dev/null
+++ b/regress/core/geos310.sql
@@ -0,0 +1,6 @@
+-- #168 --
+SELECT '#168', ST_NPoints(g), ST_AsText(g), ST_isValidReason(g)
+FROM ( VALUES
+('01060000C00100000001030000C00100000003000000E3D9107E234F5041A3DB66BC97A30F4122ACEF440DAF9440FFFFFFFFFFFFEFFFE3D9107E234F5041A3DB66BC97A30F4122ACEF440DAF9440FFFFFFFFFFFFEFFFE3D9107E234F5041A3DB66BC97A30F4122ACEF440DAF9440FFFFFFFFFFFFEFFF'::geometry)
+) AS v(g);
+
diff --git a/regress/core/geos310_expected b/regress/core/geos310_expected
new file mode 100644
index 0000000..f5dc667
--- /dev/null
+++ b/regress/core/geos310_expected
@@ -0,0 +1 @@
+#168|3|MULTIPOLYGON ZM (((4275341.969778511 259186.96699306098 1323.762958283311 -1.797693134862316e+308,4275341.969778511 259186.96699306098 1323.762958283311 -1.797693134862316e+308,4275341.969778511 259186.96699306098 1323.762958283311 -1.797693134862316e+308)))|Too few points in geometry component[4275341.96977851 259186.966993061 1323.76295828331]
diff --git a/regress/core/tests.mk.in b/regress/core/tests.mk.in
index 21b95dc..876dead 100644
--- a/regress/core/tests.mk.in
+++ b/regress/core/tests.mk.in
@@ -145,12 +145,17 @@ ifeq ($(shell expr "$(POSTGIS_GEOS_VERSION)" ">=" 30800),1)
 endif
 
 ifeq ($(shell expr "$(POSTGIS_GEOS_VERSION)" ">=" 30900),1)
-	# GEOS-3.0 adds stable maximuminscribedcircle implementation
+	# GEOS-3.9 adds stable maximuminscribedcircle implementation
 	TESTS += \
 		$(topsrcdir)/regress/core/geos39 \
 		$(topsrcdir)/regress/core/fixedoverlay
 endif
 
+ifeq ($(shell expr "$(POSTGIS_GEOS_VERSION)" ">=" 31000),1)
+	TESTS += \
+		$(topsrcdir)/regress/core/geos310 
+endif
+
 ifeq ($(INTERRUPTTESTS),yes)
 	# Allow CI servers to configure --with-interrupt-tests
 	TESTS += \
diff --git a/regress/core/tickets.sql b/regress/core/tickets.sql
index c4aff1a..4269354 100644
--- a/regress/core/tickets.sql
+++ b/regress/core/tickets.sql
@@ -109,12 +109,6 @@ FROM ( VALUES
 	( ST_LineToCurve(ST_Boundary(ST_Buffer(ST_Point(1,2), 3))) )
 	) AS v(g);
 
--- #168 --
-SELECT '#168', ST_NPoints(g), ST_AsText(g), ST_isValidReason(g)
-FROM ( VALUES
-('01060000C00100000001030000C00100000003000000E3D9107E234F5041A3DB66BC97A30F4122ACEF440DAF9440FFFFFFFFFFFFEFFFE3D9107E234F5041A3DB66BC97A30F4122ACEF440DAF9440FFFFFFFFFFFFEFFFE3D9107E234F5041A3DB66BC97A30F4122ACEF440DAF9440FFFFFFFFFFFFEFFF'::geometry)
-) AS v(g);
-
 -- #175 --
 SELECT '#175', ST_AsEWKT(ST_GeomFromEWKT('SRID=26915;POINT(482020 4984378.)'));
 
diff --git a/regress/core/tickets_expected b/regress/core/tickets_expected
index 30b1d58..8f6ac27 100644
--- a/regress/core/tickets_expected
+++ b/regress/core/tickets_expected
@@ -30,7 +30,6 @@ ERROR:  Invalid hex string, length (267) has to be a multiple of two!
 #157|ST_Polygon|POLYGON
 #157|ST_CurvePolygon|CURVEPOLYGON
 #157|ST_CircularString|CIRCULARSTRING
-#168|3|MULTIPOLYGON ZM (((4275341.969778511 259186.96699306098 1323.762958283311 -1.797693134862316e+308,4275341.969778511 259186.96699306098 1323.762958283311 -1.797693134862316e+308,4275341.969778511 259186.96699306098 1323.762958283311 -1.797693134862316e+308)))|IllegalArgumentException: Invalid number of points in LinearRing found 3 - must be 0 or >= 4
 #175|SRID=26915;POINT(482020 4984378)
 #178a|0
 #178b|5

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

Summary of changes:
 regress/core/geos310.sql      | 6 ++++++
 regress/core/geos310_expected | 1 +
 regress/core/tests.mk.in      | 7 ++++++-
 regress/core/tickets.sql      | 6 ------
 regress/core/tickets_expected | 1 -
 5 files changed, 13 insertions(+), 8 deletions(-)
 create mode 100644 regress/core/geos310.sql
 create mode 100644 regress/core/geos310_expected


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list