diff options
author | Constantin Jucovschi <cj@ubuntu.localdomain> | 2009-04-24 07:20:22 -0400 |
---|---|---|
committer | Constantin Jucovschi <cj@ubuntu.localdomain> | 2009-04-24 07:20:22 -0400 |
commit | 8f27e65bddd7d4b8515ce620fb485fdd78fcdf89 (patch) | |
tree | bd328a4dd4f92d32202241b5e3a7f36177792c5f /rasodmg/test/small_32.ql | |
download | rasdaman-upstream-8f27e65bddd7d4b8515ce620fb485fdd78fcdf89.tar.gz rasdaman-upstream-8f27e65bddd7d4b8515ce620fb485fdd78fcdf89.tar.xz rasdaman-upstream-8f27e65bddd7d4b8515ce620fb485fdd78fcdf89.zip |
Initial commitv8.0
Diffstat (limited to 'rasodmg/test/small_32.ql')
-rw-r--r-- | rasodmg/test/small_32.ql | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/rasodmg/test/small_32.ql b/rasodmg/test/small_32.ql new file mode 100644 index 0000000..ddf52b7 --- /dev/null +++ b/rasodmg/test/small_32.ql @@ -0,0 +1,42 @@ +// Selection of images out of a collection with 15 800x800x8bit +// images. There is one image each with only 255, 254, 253 as a +// value. And there is one image each with one value each out of +// 250, 251, 252. No other image contains value greater than 249. + +// one img with some_cell + +SELECT img[0:252,0:252] +FROM earth_32 as img +WHERE some_cell ( img[700:799,300:399] = 252c ) + +// two imgs with some_cell + +SELECT img[0:252,0:252] +FROM earth_32 as img +WHERE some_cell ( img[700:799,300:399] = 252c OR img[700:799,300:399] = 251c ) + +// three imgs with some_cell + +SELECT img[0:252,0:252] +FROM earth_32 as img +WHERE some_cell ( img[700:799,300:399] = 252c OR img[700:799,300:399] = 251c + OR img[700:799,300:399] = 250c ) + +// one img with all_cell + +SELECT img[0:252,0:252] +FROM earth_32 as img +WHERE all_cell ( img[700:799,300:399] >= 255c ) + +// two imgs with all_cell + +SELECT img[0:252,0:252] +FROM earth_32 as img +WHERE all_cell ( img[700:799,300:399] >= 254c ) + +// three imgs with all_cell + +SELECT img[0:252,0:252] +FROM earth_32 as img +WHERE all_cell ( img[700:799,300:399] >= 253c ) + |