The > operator compares two raster objects by their universally unique identifiers (UUIDs) and returns true if the UUID of the first object is greater than the UUID of the second.
This operator is used only for operations such as union and B-tree.
Note This operator compares UUIDs only, not spatial extents or pixel types.
Syntax
bool Operator>(raster rast1, raster rast2);Parameters
| Parameter | Description |
|---|---|
rast1 | The first raster object. |
rast2 | The second raster object. |
Example
The following query compares the UUIDs of matched raster objects from two tables:
SELECT a.rast > b.rast
FROM tbl_a a, tbl_b b
WHERE a.id = b.id;