すべてのプロダクト
Search
ドキュメントセンター

PolarDB:ST_Polygonize

最終更新日:Jul 01, 2024

このトピックでは、ST_Polygonize関数について説明します。 この関数は、ピクセル値に基づいてグリッドオブジェクトをベクトル化します。

構文

setof record ST_Polygonize( raster rast, 
                            integer bandnumber, 
                            out geom geometry,
                            out id integer,
                            out value float8);

Parameters

パラメーター

必須

説明

rast

Yes

入力グリッドオブジェクト。

bandnumber

Yes

バンドの番号。 The value starts from 0.

select ST_Polygonize(rast,1) from rast_table where id=1;

入力

image.png

出力

image.png