]> granicus.if.org Git - postgis/commitdiff
Changed the regression tests for ST_Transform in preparation for testing replacement...
authorBborie Park <bkpark at ucdavis.edu>
Mon, 20 Jun 2011 14:55:22 +0000 (14:55 +0000)
committerBborie Park <bkpark at ucdavis.edu>
Mon, 20 Jun 2011 14:55:22 +0000 (14:55 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7432 b70326c6-7e19-0410-871a-916f4a2858ee

raster/test/regress/rt_transform.sql
raster/test/regress/rt_transform_expected

index 20a86b8febc43b967fb91bc0434cf8ec18939448..9197b86e23372133511162fa886ad7cbdf2b92cf 100644 (file)
@@ -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
index 8914453d8e5c6626249d2562c472d9144db53371..38ac34a74b66b5e6a476ca8bc1eeb0a505e499b4 100644 (file)
@@ -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