このトピックでは、ST_UpdatePyramid の更新ポリシーのパラメーターを設定する方法を説明します。
構文
boolean ST_SetUpdatePyramidRules(cstring table, cstring geom_field, cstring rules); パラメーター
パラメーター名 | 説明 |
table | ベクターテーブルの名前。 |
geom_field | ベクターテーブルのジオメトリプロパティ列の名前。 |
rules | JSON フォーマットの更新パラメーター。updateBoxScale および updateExtentSRS パラメーターのみが ST_UpdatePyramid 関数の更新動作に影響します。updateBoxScale と updateExtentSRS の詳細については、「ST_UpdatePyramid」をご参照ください。 |
例
SELECT ST_SetUpdatePyramidRules('test_update_line', 'geom', '{"updateBoxScale":100000}');
st_setupdatepyramidrules
--------------------------
t
(1 row)