[postgis-tickets] r14572 - Enable test which would fail with GEOS < 3.3.2

Sandro Santilli strk at keybit.net
Wed Jan 6 05:22:04 PST 2016


Author: strk
Date: 2016-01-06 05:22:04 -0800 (Wed, 06 Jan 2016)
New Revision: 14572

Modified:
   trunk/regress/node.sql
   trunk/regress/node_expected
Log:
Enable test which would fail with GEOS < 3.3.2

We're now warning if using GEOS < 3.5.0 so it should be ok to fail
a test with an older GEOS.

Modified: trunk/regress/node.sql
===================================================================
--- trunk/regress/node.sql	2016-01-06 11:55:55 UTC (rev 14571)
+++ trunk/regress/node.sql	2016-01-06 13:22:04 UTC (rev 14572)
@@ -9,6 +9,8 @@
 ));
 
 -- Node a self-intersecting line
--- NOTE: requires GEOS 3.3.2 which is still unreleased at time of writing
---       see http://trac.osgeo.org/geos/ticket/482
---select st_node('SRID=10;LINESTRING(0 0, 10 10, 0 10, 10 0)');
+-- NOTE: requires GEOS 3.3.2
+-- See http://trac.osgeo.org/geos/ticket/482
+select 't3', st_asewkt(st_node(
+'SRID=10;LINESTRING(0 0, 10 10, 0 10, 10 0)'
+));

Modified: trunk/regress/node_expected
===================================================================
--- trunk/regress/node_expected	2016-01-06 11:55:55 UTC (rev 14571)
+++ trunk/regress/node_expected	2016-01-06 13:22:04 UTC (rev 14572)
@@ -1,2 +1,3 @@
 t1|SRID=10;MULTILINESTRING((0 0,5 0),(5 -5,5 0),(5 0,10 0),(5 0,5 5))
 t2|SRID=10;MULTILINESTRING((0 0,8 0),(8 0,10 0,15 0,20 0),(20 0,25 0))
+t3|SRID=10;MULTILINESTRING((0 0,5 5),(5 5,10 10,0 10,5 5),(5 5,10 0))



More information about the postgis-tickets mailing list