名稱

ST_Width — 返回光柵的寬度(以像素為單位)。

概要

integer ST_Width(raster rast);

描述

返回光柵的寬度(以像素為單位)。

範例

SELECT ST_Width(rast) As rastwidth
FROM dummy_rast WHERE rid=1;

rastwidth
----------------
10
                

另請參閱

ST_Height