From 27d3569862c6abd1d2dae665eb250c5d70fc538e Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Thu, 28 May 2015 20:25:11 +0000 Subject: [PATCH] Move test to ifdef'ed location for GEOS 3.5 git-svn-id: http://svn.osgeo.org/postgis/trunk@13578 b70326c6-7e19-0410-871a-916f4a2858ee --- regress/clipbybox2d.sql | 3 +++ regress/clipbybox2d_expected | 1 + regress/tickets.sql | 1 - regress/tickets_expected | 1 - 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/regress/clipbybox2d.sql b/regress/clipbybox2d.sql index b82207d7d..e235a0bcf 100644 --- a/regress/clipbybox2d.sql +++ b/regress/clipbybox2d.sql @@ -23,3 +23,6 @@ CREATE TEMPORARY TABLE t AS SELECT SELECT ST_AsEWKT(ST_ClipByBox2d(g, ST_MakeEnvelope(-20,-20,-10,-10))) FROM t; -- See http://trac.osgeo.org/postgis/ticket/2954 SELECT ST_AsEWKT(ST_ClipByBox2D('SRID=4326;POINT(0 0)','BOX3D(-1 -1,1 1)'::box3d::box2d)); + +SELECT '#3135', st_astext(ST_SubDivide(ST_GeomFromText('POLYGON((1 2,1 2,1 2,1 2))'), 2)); + diff --git a/regress/clipbybox2d_expected b/regress/clipbybox2d_expected index e58bf780c..11228947e 100644 --- a/regress/clipbybox2d_expected +++ b/regress/clipbybox2d_expected @@ -7,3 +7,4 @@ POLYGON((2.5 2,5 4,5 5,5 4,7.5 2,2.5 2)) POLYGON((2 2,2 5,5 5,5 2,2 2)) SRID=3857;POLYGON EMPTY SRID=4326;POINT(0 0) +#3135|POLYGON((1 2,1 2,1 2,1 2)) diff --git a/regress/tickets.sql b/regress/tickets.sql index 56dc20ff2..444ff87f1 100644 --- a/regress/tickets.sql +++ b/regress/tickets.sql @@ -885,6 +885,5 @@ SELECT '#2870', ST_Summary('Point(151.215289 -33.856885)'::geometry::bytea::geog SELECT '#2956', st_astwkb(null,0) is null; -SELECT '#3135', st_astext(ST_SubDivide(ST_GeomFromText('POLYGON((1 2,1 2,1 2,1 2))'), 2)); -- Clean up DELETE FROM spatial_ref_sys; diff --git a/regress/tickets_expected b/regress/tickets_expected index 59daf4e5a..aa6ef40d7 100644 --- a/regress/tickets_expected +++ b/regress/tickets_expected @@ -261,4 +261,3 @@ ERROR: invalid GML representation #2788|f|Self-intersection|POINT(1 1) #2870|Point[GS] #2956|t -#3135|POLYGON((1 2,1 2,1 2,1 2)) -- 2.40.0