名前

ST_Width — ラスタの幅をピクセル単位で返します。

概要

integer ST_Width(raster rast);

説明

ラスタの幅をピクセル単位で返します。

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

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

関連情報

ST_Height