]> granicus.if.org Git - postgis/commitdiff
Enable test which would fail with GEOS < 3.3.2
authorSandro Santilli <strk@keybit.net>
Wed, 6 Jan 2016 13:22:04 +0000 (13:22 +0000)
committerSandro Santilli <strk@keybit.net>
Wed, 6 Jan 2016 13:22:04 +0000 (13:22 +0000)
We're now warning if using GEOS < 3.5.0 so it should be ok to fail
a test with an older GEOS.

git-svn-id: http://svn.osgeo.org/postgis/trunk@14572 b70326c6-7e19-0410-871a-916f4a2858ee

regress/node.sql
regress/node_expected

index ff66b0cf7edb38b8b9d5b2044188274e410d2e93..02a0fdf738632150e2644c3ffe5d8563d15449b1 100644 (file)
@@ -9,6 +9,8 @@ select 't2', st_asewkt(st_node(
 ));
 
 -- 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)'
+));
index d94404b439c7f4b117e0e57da229b201cedd0756..8d0a4bc99b9a5936dcf9b9a3975e83ff3cbc45ca 100644 (file)
@@ -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))