From: Bborie Park Date: Mon, 20 Jun 2011 14:55:22 +0000 (+0000) Subject: Changed the regression tests for ST_Transform in preparation for testing replacement... X-Git-Tag: 2.0.0alpha1~1394 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=41b6e3dc15db281d4760f9d3f62730e3811e5b85;p=postgis Changed the regression tests for ST_Transform in preparation for testing replacement ST_Transform function with different underlying code. git-svn-id: http://svn.osgeo.org/postgis/trunk@7432 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/raster/test/regress/rt_transform.sql b/raster/test/regress/rt_transform.sql index 20a86b8fe..9197b86e2 100644 --- a/raster/test/regress/rt_transform.sql +++ b/raster/test/regress/rt_transform.sql @@ -9,8 +9,12 @@ SELECT width > 0, height > 0, numbands, - round(scalex::numeric, 3) > 0, - round(scaley::numeric, 3) > 0, + round(scalex::numeric, 3), + round(scaley::numeric, 3), + round(skewx::numeric, 3), + round(skewy::numeric, 3), + round(upperleftx::numeric, 3), + round(upperlefty::numeric, 3), count > 0, min >= -10, max <= 3.14159 @@ -39,8 +43,12 @@ SELECT width > 0, height > 0, numbands, - round(scalex::numeric, 3) > 0, - round(scaley::numeric, 3) > 0, + round(scalex::numeric, 3), + round(scaley::numeric, 3), + round(skewx::numeric, 3), + round(skewy::numeric, 3), + round(upperleftx::numeric, 3), + round(upperlefty::numeric, 3), count > 0, min >= -10, max <= 3.14159 @@ -69,8 +77,12 @@ SELECT width > 0, height > 0, numbands, - round(scalex::numeric, 3) > 0, - round(scaley::numeric, 3) > 0, + round(scalex::numeric, 3), + round(scaley::numeric, 3), + round(skewx::numeric, 3), + round(skewy::numeric, 3), + round(upperleftx::numeric, 3), + round(upperlefty::numeric, 3), count > 0, min >= -10, max <= 3.14159 @@ -99,8 +111,12 @@ SELECT width > 0, height > 0, numbands, - round(scalex::numeric, 3) > 0, - round(scaley::numeric, 3) > 0, + round(scalex::numeric, 3), + round(scaley::numeric, 3), + round(skewx::numeric, 3), + round(skewy::numeric, 3), + round(upperleftx::numeric, 3), + round(upperlefty::numeric, 3), count > 0, min >= -10, max <= 3.14159 @@ -129,8 +145,12 @@ SELECT width > 0, height > 0, numbands, - round(scalex::numeric, 3) > 0, - round(scaley::numeric, 3) > 0, + round(scalex::numeric, 3), + round(scaley::numeric, 3), + round(skewx::numeric, 3), + round(skewy::numeric, 3), + round(upperleftx::numeric, 3), + round(upperlefty::numeric, 3), count > 0, min >= -10, max <= 3.14159 @@ -159,8 +179,12 @@ SELECT width > 0, height > 0, numbands, - round(scalex::numeric, 3) > 0, - round(scaley::numeric, 3) > 0, + round(scalex::numeric, 3), + round(scaley::numeric, 3), + round(skewx::numeric, 3), + round(skewy::numeric, 3), + round(upperleftx::numeric, 3), + round(upperlefty::numeric, 3), count > 0, min >= -10, max <= 3.14159 @@ -189,8 +213,12 @@ SELECT width > 0, height > 0, numbands, - round(scalex::numeric, 3) > 0, - round(scaley::numeric, 3) > 0, + round(scalex::numeric, 3), + round(scaley::numeric, 3), + round(skewx::numeric, 3), + round(skewy::numeric, 3), + round(upperleftx::numeric, 3), + round(upperlefty::numeric, 3), count > 0, min >= -10, max <= 3.14159 @@ -219,8 +247,12 @@ SELECT width > 0, height > 0, numbands, - round(scalex::numeric, 3) > 0, - round(scaley::numeric, 3) > 0, + round(scalex::numeric, 3), + round(scaley::numeric, 3), + round(skewx::numeric, 3), + round(skewy::numeric, 3), + round(upperleftx::numeric, 3), + round(upperlefty::numeric, 3), count > 0, min >= -10, max <= 3.14159 @@ -249,8 +281,12 @@ SELECT width > 0, height > 0, numbands, - round(scalex::numeric, 3) > 0, - round(scaley::numeric, 3) > 0, + round(scalex::numeric, 3), + round(scaley::numeric, 3), + round(skewx::numeric, 3), + round(skewy::numeric, 3), + round(upperleftx::numeric, 3), + round(upperlefty::numeric, 3), count > 0, min >= -10, max <= 3.14159 diff --git a/raster/test/regress/rt_transform_expected b/raster/test/regress/rt_transform_expected index 8914453d8..38ac34a74 100644 --- a/raster/test/regress/rt_transform_expected +++ b/raster/test/regress/rt_transform_expected @@ -1,13 +1,13 @@ BEGIN COMMIT -1003310|t|t|1|t|f|t|t|t -1003309|t|t|1|t|f|t|t|t -1004269|t|t|1|t|f|t|t|t -|||||||| -1003310|t|t|1|t|f|t|t|t -|||||||| -1003310|t|t|1|t|f|t|t|t -1003310|t|t|1|t|f|t|t|t -1003310|t|t|1|t|f|t|t|t +1003310|t|t|1|995.262|-995.262|0.000|0.000|948465.432|1418735.689|t|t|t +1003309|t|t|1|995.277|-995.277|0.000|0.000|948495.514|1418542.831|t|t|t +1004269|t|t|1|0.011|-0.011|0.000|0.000|-107.042|50.296|t|t|t +|||||||||||| +1003310|t|t|1|995.262|-995.262|0.000|0.000|948465.432|1418735.689|t|t|t +|||||||||||| +1003310|t|t|1|995.262|-995.262|0.000|0.000|948465.432|1418735.689|t|t|t +1003310|t|t|1|995.262|-995.262|0.000|0.000|948465.432|1418735.689|t|t|t +1003310|t|t|1|995.262|-995.262|0.000|0.000|948465.432|1418735.689|t|t|t BEGIN COMMIT