From: Sandro Santilli Date: Mon, 18 Sep 2006 09:16:22 +0000 (+0000) Subject: Fixed regress tests to pass with GEOS-3.0.0 X-Git-Tag: 1.1.4~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e827fe7faeb7f3ca4321ce09e9f558caec0fcff1;p=postgis Fixed regress tests to pass with GEOS-3.0.0 git-svn-id: http://svn.osgeo.org/postgis/trunk@2474 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/CHANGES b/CHANGES index ce8fd69c1..46bb6c3e4 100644 --- a/CHANGES +++ b/CHANGES @@ -11,6 +11,7 @@ PostGIS 1.1.4CVS - Added EJB2 support generously donated by the "Geodetix s.r.l. Company" http://www.geodetix.it/ - Reorganized java directory layout a little. + - Fixed regress tests to pass with GEOS-3.0.0 PostGIS 1.1.3 2006/06/30 diff --git a/regress/regress_ogc.sql b/regress/regress_ogc.sql index efb6896b5..821176bb2 100644 --- a/regress/regress_ogc.sql +++ b/regress/regress_ogc.sql @@ -8,7 +8,7 @@ SELECT 'buffer', astext(SnapToGrid(buffer('POINT(0 0)', 1, 2), 1.0e-6)); SELECT 'geomunion', astext(geomunion('POINT(0 0)', 'POINT(1 1)')); -SELECT 'unite_garray', astext(unite_garray(geom_accum('{POINT(0 0)}', 'POINT(2 3)'))); +SELECT 'unite_garray', equals(unite_garray(geom_accum('{POINT(0 0)}', 'POINT(2 3)')), 'MULTIPOINT(2 3,0 0)'); SELECT 'convexhull', asewkt(convexhull('POLYGON((0 0, 10 0, 10 10, 0 10, 0 0),(2 2, 2 4, 4 4, 4 2, 2 2))')); SELECT 'relate', relate('POINT(0 0)', 'LINESTRING(0 0, 1 1)'); SELECT 'relate', relate('POINT(0 0)', 'LINESTRING(0 0, 1 1)', 'F0FFFF*02'); diff --git a/regress/regress_ogc_expected b/regress/regress_ogc_expected index 86a9dfa29..527aceb5b 100644 --- a/regress/regress_ogc_expected +++ b/regress/regress_ogc_expected @@ -1,6 +1,6 @@ buffer|POLYGON((1 0,0.707107 -0.707107,0 -1,-0.707107 -0.707107,-1 0,-0.707107 0.707107,0 1,0.707107 0.707107,1 0)) geomunion|MULTIPOINT(0 0,1 1) -unite_garray|MULTIPOINT(2 3,0 0) +unite_garray|t convexhull|POLYGON((0 0,0 10,10 10,10 0,0 0)) relate|F0FFFF102 relate|t