[postgis-tickets] r17664 - Move out GEOS 3.8 specific result into a version-tested file

Paul Ramsey pramsey at cleverelephant.ca
Fri Aug 2 01:06:13 PDT 2019


Author: pramsey
Date: 2019-08-02 13:06:12 -0700 (Fri, 02 Aug 2019)
New Revision: 17664

Added:
   trunk/regress/core/geos38.sql
   trunk/regress/core/geos38_expected
Modified:
   trunk/regress/core/Makefile.in
   trunk/regress/core/tickets.sql
Log:
Move out GEOS 3.8 specific result into a version-tested file


Modified: trunk/regress/core/Makefile.in
===================================================================
--- trunk/regress/core/Makefile.in	2019-08-02 20:02:29 UTC (rev 17663)
+++ trunk/regress/core/Makefile.in	2019-08-02 20:06:12 UTC (rev 17664)
@@ -181,6 +181,13 @@
 		frechet
 endif
 
+ifeq ($(shell expr $(POSTGIS_GEOS_VERSION) ">=" 38),1)
+	# GEOS-3.8 adds stable pointonsurface implementation
+	TESTS += \
+		geos38
+endif
+
+
 ifeq ($(INTERRUPTTESTS),yes)
 	# Allow CI servers to configure --with-interrupt-tests
 	TESTS += \

Added: trunk/regress/core/geos38.sql
===================================================================
--- trunk/regress/core/geos38.sql	                        (rev 0)
+++ trunk/regress/core/geos38.sql	2019-08-02 20:06:12 UTC (rev 17664)
@@ -0,0 +1 @@
+select '#4103', ST_Intersects(ST_PointOnSurface('0103000020110F0000010000000A000000000000C41E644741000000EEA2A75A41000000F420644741000000629EA75A410000007A2D644741000000E49FA75A41000000C02E644741000000409DA75A41000000286A64474100000064A4A75A410000007867644741000000FAA9A75A41000000E82B644741000000D2A2A75A41000000222D64474100000046A0A75A41000000242B6447410000006CA4A75A41000000C41E644741000000EEA2A75A41'::geometry), '0103000020110F0000010000000A000000000000C41E644741000000EEA2A75A41000000F420644741000000629EA75A410000007A2D644741000000E49FA75A41000000C02E644741000000409DA75A41000000286A64474100000064A4A75A410000007867644741000000FAA9A75A41000000E82B644741000000D2A2A75A41000000222D64474100000046A0A75A41000000242B6447410000006CA4A75A41000000C41E644741000000EEA2A75A41'::geometry);

Added: trunk/regress/core/geos38_expected
===================================================================
--- trunk/regress/core/geos38_expected	                        (rev 0)
+++ trunk/regress/core/geos38_expected	2019-08-02 20:06:12 UTC (rev 17664)
@@ -0,0 +1 @@
+#4103|t

Modified: trunk/regress/core/tickets.sql
===================================================================
--- trunk/regress/core/tickets.sql	2019-08-02 20:02:29 UTC (rev 17663)
+++ trunk/regress/core/tickets.sql	2019-08-02 20:06:12 UTC (rev 17664)
@@ -1092,8 +1092,6 @@
 --#4089
 select '#4089', st_astext(st_geomfromtwkb(st_AsTWKB(st_GeometryFromText('LINESTRING Z(1 1 1, 3 3 1)'), 1, 0, 0, false, true)));
 
---select '#4103', ST_Intersects(ST_PointOnSurface('0103000020110F0000010000000A000000000000C41E644741000000EEA2A75A41000000F420644741000000629EA75A410000007A2D644741000000E49FA75A41000000C02E644741000000409DA75A41000000286A64474100000064A4A75A410000007867644741000000FAA9A75A41000000E82B644741000000D2A2A75A41000000222D64474100000046A0A75A41000000242B6447410000006CA4A75A41000000C41E644741000000EEA2A75A41'::geometry), '0103000020110F0000010000000A000000000000C41E644741000000EEA2A75A41000000F420644741000000629EA75A410000007A2D644741000000E49FA75A41000000C02E644741000000409DA75A41000000286A64474100000064A4A75A410000007867644741000000FAA9A75A41000000E82B644741000000D2A2A75A41000000222D64474100000046A0A75A41000000242B6447410000006CA4A75A41000000C41E644741000000EEA2A75A41'::geometry);
-
 -- #4081
 select '#4081',
 ST_DWithin(a, b, 110575, true) as within_110575_true,
@@ -1215,15 +1213,15 @@
 SELECT 'relate_pattern213', ST_relate('POLYGON((0 0, 0 10, 10 10, 10 0, 0 0))'::geometry, 'GEOMETRYCOLLECTION (POINT(-1 0), LINESTRING(4 4,5 5))'::geometry, 'FF*FF****');
 
 -- equals - element inside polygon
-SELECT 'equals210', ST_equals('POLYGON((0 0, 0 10, 10 10, 10 0, 0 0))'::geometry, 
+SELECT 'equals210', ST_equals('POLYGON((0 0, 0 10, 10 10, 10 0, 0 0))'::geometry,
 'GEOMETRYCOLLECTION (POLYGON((0 0, 10 0, 10 10, 0 10, 0 0)),LINESTRING(0 2, 0 5))'::geometry);
 -- equals - element on border of polygon
-SELECT 'equals211', ST_equals('POLYGON((0 0, 0 10, 10 10, 10 0, 0 0))'::geometry, 
+SELECT 'equals211', ST_equals('POLYGON((0 0, 0 10, 10 10, 10 0, 0 0))'::geometry,
 'GEOMETRYCOLLECTION (POLYGON((0 0, 10 0, 10 10, 0 10, 0 0)),MULTIPOINT(0 2, 0 5))'::geometry);
 -- equals - element on border and inside polygon
-SELECT 'equals212', ST_equals('POLYGON((0 0, 0 10, 10 10, 10 0, 0 0))'::geometry, 
+SELECT 'equals212', ST_equals('POLYGON((0 0, 0 10, 10 10, 10 0, 0 0))'::geometry,
 'GEOMETRYCOLLECTION (POLYGON((0 0, 10 0, 10 10, 0 10, 0 0)),LINESTRING(0 2, 0 5, 5 5))'::geometry);
-SELECT 'equals213', ST_equals('POLYGON((0 0, 0 10, 10 10, 10 0, 0 0))'::geometry, 
+SELECT 'equals213', ST_equals('POLYGON((0 0, 0 10, 10 10, 10 0, 0 0))'::geometry,
 'GEOMETRYCOLLECTION (POLYGON((0 0, 10 0, 10 10, 0 10, 0 0)),MULTIPOINT(0 2, 5 5))'::geometry);
 
 -- #4299



More information about the postgis-tickets mailing list