ST_ClipDimension

更新时间:
复制 MD 格式

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

ParameterDescription
raster_objThe raster object.
pyramidLevelThe pyramid level.
boxThe 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))'