计算Clip结果的像素坐标。
语法
1 | box ST_ClipDimension(raster raster_obj, integer pyramidLevel, box extent); |
参数
参数名称 | 描述 |
---|---|
raster_obj | 需要转换的raster对象。 |
pyramidLevel | 需要转换的金字塔层级。 |
box | 需要转换的世界空间坐标。 |
描述
raster对象必须要有完整的空间参考信息(srid值有效)。
示例
1 2 3 4 | Select ST_ClipDimension(raster_obj, 2 , '((128.0, 30.0),(128.5, 30.5))' ) from raster_table where id = 10 ; ------------------------------------ '((200, 300),(600, 720))' |