Computes the raster-space bounding box of a clipped area at the specified pyramid level.
Syntax
box ST_ClipDimension(raster raster_obj, integer pyramidLevel, box extent);Parameters
| Parameter | Description |
|---|---|
| raster_obj | The raster object. |
| pyramidLevel | The pyramid level. |
| box | The world space of the clipped area. |
Usage notes
The raster object must have a valid spatial reference system identifier (SRID).
Examples
Select ST_ClipDimension(raster_obj, 2, '((128.0, 30.0),(128.5, 30.5))') from raster_table where id = 10;Output:
'((200, 300),(600, 720))'该文章对您有帮助吗?