このトピックでは、ST_SetUpdatePyramidRules関数について説明します。 この関数は、ST_UpdatePyramid関数の更新ルールを設定します。
構文
boolean ST_SetUpdatePyramidRules(cstringテーブル、cstring geom_field、cstringルール);パラメーター
| パラメーター | 説明 |
| テーブル | ベクトルテーブルの名前。 |
| geom_field | ベクトルテーブルのGeometry属性を持つ列の名前。 |
| ルール | JSON形式での更新のルール。 updateBoxScaleまたはupdateExtentSRSの設定は、更新操作に影響します。 updateBoxScaleおよびupdateExtentSRSの詳細については、「ST_UpdatePyramid」をご参照ください。 |
例
SELECT ST_SetupdatePyramidRules('test_update_line ', 'geom', '{"updateBoxScale":100000}');
st_setupdatepyramidrules
--------------------------
t
(1行)