From 6f28848e3ae4da4ae7a8039516dd40a96b111d26 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Tue, 3 May 2011 13:32:55 +0000 Subject: [PATCH] extent() -> st_extent() git-svn-id: http://svn.osgeo.org/postgis/trunk@7082 b70326c6-7e19-0410-871a-916f4a2858ee --- raster/test/regress/rt_above.sql | 4 ++-- raster/test/regress/rt_below.sql | 4 ++-- raster/test/regress/rt_contain.sql | 4 ++-- raster/test/regress/rt_contained.sql | 4 ++-- raster/test/regress/rt_left.sql | 4 ++-- raster/test/regress/rt_overabove.sql | 4 ++-- raster/test/regress/rt_overbelow.sql | 4 ++-- raster/test/regress/rt_overlap.sql | 4 ++-- raster/test/regress/rt_overleft.sql | 4 ++-- raster/test/regress/rt_overright.sql | 4 ++-- raster/test/regress/rt_right.sql | 4 ++-- raster/test/regress/rt_same.sql | 8 ++++---- 12 files changed, 26 insertions(+), 26 deletions(-) diff --git a/raster/test/regress/rt_above.sql b/raster/test/regress/rt_above.sql index 26d822f2a..d83704a56 100644 --- a/raster/test/regress/rt_above.sql +++ b/raster/test/regress/rt_above.sql @@ -16,7 +16,7 @@ SELECT 'st_above(X, query(1,1))' as op, max(a.x) as xmax, min(a.y) as ymin, max(a.y) as ymax, - extent(a.tile) + st_extent(a.tile) FROM rt_gist_grid_test a, rt_gist_query_test b WHERE b.x = 1 and b.y = 1 AND st_above(a.tile, b.tile); @@ -31,7 +31,7 @@ SELECT 'X |>> query(1,1)' as op, max(a.x) as xmax, min(a.y) as ymin, max(a.y) as ymax, - extent(a.tile) + st_extent(a.tile) FROM rt_gist_grid_test a, rt_gist_query_test b WHERE b.x = 1 and b.y = 1 AND a.tile |>> b.tile; diff --git a/raster/test/regress/rt_below.sql b/raster/test/regress/rt_below.sql index 72035e77f..4c7844b5f 100644 --- a/raster/test/regress/rt_below.sql +++ b/raster/test/regress/rt_below.sql @@ -17,7 +17,7 @@ SELECT 'st_below(X, query(1,1))' as op, max(a.x) as xmax, min(a.y) as ymin, max(a.y) as ymax, - extent(a.tile) + st_extent(a.tile) FROM rt_gist_grid_test a, rt_gist_query_test b WHERE b.x = 1 and b.y = 1 AND st_below(a.tile, b.tile); @@ -32,7 +32,7 @@ SELECT 'X <<| query(1,1)' as op, max(a.x) as xmax, min(a.y) as ymin, max(a.y) as ymax, - extent(a.tile) + st_extent(a.tile) FROM rt_gist_grid_test a, rt_gist_query_test b WHERE b.x = 1 and b.y = 1 AND a.tile <<| b.tile; diff --git a/raster/test/regress/rt_contain.sql b/raster/test/regress/rt_contain.sql index 6d020440c..917156890 100644 --- a/raster/test/regress/rt_contain.sql +++ b/raster/test/regress/rt_contain.sql @@ -17,7 +17,7 @@ SELECT 'st_contain(query(1,1), X)' as op, max(a.x) as xmax, min(a.y) as ymin, max(a.y) as ymax, - extent(a.tile) + st_extent(a.tile) FROM rt_gist_grid_test a, rt_gist_query_test b WHERE b.x = 1 and b.y = 1 AND st_contain(b.tile, a.tile); @@ -32,7 +32,7 @@ SELECT 'query(1,1) ~ X' as op, max(a.x) as xmax, min(a.y) as ymin, max(a.y) as ymax, - extent(a.tile) + st_extent(a.tile) FROM rt_gist_grid_test a, rt_gist_query_test b WHERE b.x = 1 and b.y = 1 AND b.tile ~ a.tile; diff --git a/raster/test/regress/rt_contained.sql b/raster/test/regress/rt_contained.sql index 91f108974..88351b236 100644 --- a/raster/test/regress/rt_contained.sql +++ b/raster/test/regress/rt_contained.sql @@ -17,7 +17,7 @@ SELECT 'st_contained(X, query(1,1))' as op, max(a.x) as xmax, min(a.y) as ymin, max(a.y) as ymax, - extent(a.tile) + st_extent(a.tile) FROM rt_gist_grid_test a, rt_gist_query_test b WHERE b.x = 1 and b.y = 1 AND st_contained(a.tile, b.tile); @@ -32,7 +32,7 @@ SELECT 'X @ query(1,1)' as op, max(a.x) as xmax, min(a.y) as ymin, max(a.y) as ymax, - extent(a.tile) + st_extent(a.tile) FROM rt_gist_grid_test a, rt_gist_query_test b WHERE b.x = 1 and b.y = 1 AND a.tile @ b.tile; diff --git a/raster/test/regress/rt_left.sql b/raster/test/regress/rt_left.sql index 589669fbd..27732db2a 100644 --- a/raster/test/regress/rt_left.sql +++ b/raster/test/regress/rt_left.sql @@ -17,7 +17,7 @@ SELECT 'st_left(X, query(1,1))' as op, max(a.x) as xmax, min(a.y) as ymin, max(a.y) as ymax, - extent(a.tile) + st_extent(a.tile) FROM rt_gist_grid_test a, rt_gist_query_test b WHERE b.x = 1 and b.y = 1 AND st_left(a.tile, b.tile); @@ -32,7 +32,7 @@ SELECT 'X << query(1,1)' as op, max(a.x) as xmax, min(a.y) as ymin, max(a.y) as ymax, - extent(a.tile) + st_extent(a.tile) FROM rt_gist_grid_test a, rt_gist_query_test b WHERE b.x = 1 and b.y = 1 AND a.tile << b.tile; diff --git a/raster/test/regress/rt_overabove.sql b/raster/test/regress/rt_overabove.sql index 24042d969..79908386b 100644 --- a/raster/test/regress/rt_overabove.sql +++ b/raster/test/regress/rt_overabove.sql @@ -17,7 +17,7 @@ SELECT 'st_overabove(X, query(1,1))' as op, max(a.x) as xmax, min(a.y) as ymin, max(a.y) as ymax, - extent(a.tile) + st_extent(a.tile) FROM rt_gist_grid_test a, rt_gist_query_test b WHERE b.x = 1 and b.y = 1 AND st_overabove(a.tile, b.tile); @@ -32,7 +32,7 @@ SELECT 'X |&> query(1,1)' as op, max(a.x) as xmax, min(a.y) as ymin, max(a.y) as ymax, - extent(a.tile) + st_extent(a.tile) FROM rt_gist_grid_test a, rt_gist_query_test b WHERE b.x = 1 and b.y = 1 AND a.tile |&> b.tile; diff --git a/raster/test/regress/rt_overbelow.sql b/raster/test/regress/rt_overbelow.sql index b8c665eab..f6a2e0d8a 100644 --- a/raster/test/regress/rt_overbelow.sql +++ b/raster/test/regress/rt_overbelow.sql @@ -17,7 +17,7 @@ SELECT 'st_overbelow(X, query(1,1))' as op, max(a.x) as xmax, min(a.y) as ymin, max(a.y) as ymax, - extent(a.tile) + st_extent(a.tile) FROM rt_gist_grid_test a, rt_gist_query_test b WHERE b.x = 1 and b.y = 1 AND st_overbelow(a.tile, b.tile); @@ -32,7 +32,7 @@ SELECT 'X &<| query(1,1)' as op, max(a.x) as xmax, min(a.y) as ymin, max(a.y) as ymax, - extent(a.tile) + st_extent(a.tile) FROM rt_gist_grid_test a, rt_gist_query_test b WHERE b.x = 1 and b.y = 1 AND a.tile &<| b.tile; diff --git a/raster/test/regress/rt_overlap.sql b/raster/test/regress/rt_overlap.sql index 010acbfc9..236c5323f 100644 --- a/raster/test/regress/rt_overlap.sql +++ b/raster/test/regress/rt_overlap.sql @@ -17,7 +17,7 @@ SELECT 'st_overlap(X, query(1,1))' as op, max(a.x) as xmax, min(a.y) as ymin, max(a.y) as ymax, - extent(a.tile) + st_extent(a.tile) FROM rt_gist_grid_test a, rt_gist_query_test b WHERE b.x = 1 and b.y = 1 AND st_overlap(a.tile, b.tile); @@ -32,7 +32,7 @@ SELECT 'X && query(1,1)' as op, max(a.x) as xmax, min(a.y) as ymin, max(a.y) as ymax, - extent(a.tile) + st_extent(a.tile) FROM rt_gist_grid_test a, rt_gist_query_test b WHERE b.x = 1 and b.y = 1 AND a.tile && b.tile; diff --git a/raster/test/regress/rt_overleft.sql b/raster/test/regress/rt_overleft.sql index c32e8ccd1..047e461d9 100644 --- a/raster/test/regress/rt_overleft.sql +++ b/raster/test/regress/rt_overleft.sql @@ -17,7 +17,7 @@ SELECT 'st_overleft(X, query(1,1))' as op, max(a.x) as xmax, min(a.y) as ymin, max(a.y) as ymax, - extent(a.tile) + st_extent(a.tile) FROM rt_gist_grid_test a, rt_gist_query_test b WHERE b.x = 1 and b.y = 1 AND st_overleft(a.tile, b.tile); @@ -32,7 +32,7 @@ SELECT 'X &< query(1,1)' as op, max(a.x) as xmax, min(a.y) as ymin, max(a.y) as ymax, - extent(a.tile) + st_extent(a.tile) FROM rt_gist_grid_test a, rt_gist_query_test b WHERE b.x = 1 and b.y = 1 AND a.tile &< b.tile; diff --git a/raster/test/regress/rt_overright.sql b/raster/test/regress/rt_overright.sql index ea91ac111..dc7d74044 100644 --- a/raster/test/regress/rt_overright.sql +++ b/raster/test/regress/rt_overright.sql @@ -16,7 +16,7 @@ SELECT 'st_overright(X, query(1,1))' as op, max(a.x) as xmax, min(a.y) as ymin, max(a.y) as ymax, - extent(a.tile) + st_extent(a.tile) FROM rt_gist_grid_test a, rt_gist_query_test b WHERE b.x = 1 and b.y = 1 AND st_overright(a.tile, b.tile); @@ -31,7 +31,7 @@ SELECT 'X &> query(1,1)' as op, max(a.x) as xmax, min(a.y) as ymin, max(a.y) as ymax, - extent(a.tile) + st_extent(a.tile) FROM rt_gist_grid_test a, rt_gist_query_test b WHERE b.x = 1 and b.y = 1 AND a.tile &> b.tile; diff --git a/raster/test/regress/rt_right.sql b/raster/test/regress/rt_right.sql index 3c8dfa8db..4bc7fa9fd 100644 --- a/raster/test/regress/rt_right.sql +++ b/raster/test/regress/rt_right.sql @@ -17,7 +17,7 @@ SELECT 'st_right(X, query(1,1))' as op, max(a.x) as xmax, min(a.y) as ymin, max(a.y) as ymax, - extent(a.tile) + st_extent(a.tile) FROM rt_gist_grid_test a, rt_gist_query_test b WHERE b.x = 1 and b.y = 1 AND st_right(a.tile, b.tile); @@ -32,7 +32,7 @@ SELECT 'X >> query(1,1)' as op, max(a.x) as xmax, min(a.y) as ymin, max(a.y) as ymax, - extent(a.tile) + st_extent(a.tile) FROM rt_gist_grid_test a, rt_gist_query_test b WHERE b.x = 1 and b.y = 1 AND a.tile >> b.tile; diff --git a/raster/test/regress/rt_same.sql b/raster/test/regress/rt_same.sql index 76e3f7cd6..13372ff69 100644 --- a/raster/test/regress/rt_same.sql +++ b/raster/test/regress/rt_same.sql @@ -17,7 +17,7 @@ SELECT 'st_same(X, query(1,1))' as op, max(a.x) as xmax, min(a.y) as ymin, max(a.y) as ymax, - extent(a.tile) + st_extent(a.tile) FROM rt_gist_grid_test a, rt_gist_query_test b WHERE b.x = 1 and b.y = 1 AND st_same(a.tile, b.tile); @@ -28,7 +28,7 @@ SELECT 'st_same(X, query(7,7))' as op, max(a.x) as xmax, min(a.y) as ymin, max(a.y) as ymax, - extent(a.tile) + st_extent(a.tile) FROM rt_gist_grid_test a, rt_gist_grid_test b WHERE b.x = 7 and b.y = 7 AND st_same(a.tile, b.tile); @@ -43,7 +43,7 @@ SELECT 'X ~= query(1,1)' as op, max(a.x) as xmax, min(a.y) as ymin, max(a.y) as ymax, - extent(a.tile) + st_extent(a.tile) FROM rt_gist_grid_test a, rt_gist_query_test b WHERE b.x = 1 and b.y = 1 AND a.tile ~= b.tile; @@ -54,7 +54,7 @@ SELECT 'X ~= tile(7,7)' as op, max(a.x) as xmax, min(a.y) as ymin, max(a.y) as ymax, - extent(a.tile) + st_extent(a.tile) FROM rt_gist_grid_test a, rt_gist_grid_test b WHERE b.x = 7 and b.y = 7 AND a.tile ~= b.tile; -- 2.50.1