名稱

ST_GetFaceGeometry — 傳回指定拓樸中,具有指定面 ID 的多邊形。

概要

geometry ST_GetFaceGeometry(varchar atopology, integer aface);

描述

傳回指定拓樸中,具有指定面 ID 的多邊形。從組成該面的邊緣建立多邊形。

可用性:1.1

此方法實作 SQL/MM 規範。SQL-MM 3 拓樸-地理和拓樸-網路 3:常式細節:X.3.16

範例

-- Returns the wkt of the polygon added with AddFace
SELECT ST_AsText(topology.ST_GetFaceGeometry('ma_topo', 1)) As facegeomwkt;
-- result --
               facegeomwkt

--------------------------------------------------------------------------------
 POLYGON((234776.9 899563.7,234896.5 899456.7,234914 899436.4,234946.6 899356.9,
234872.5 899328.7,234891 899285.4,234992.5 899145,234890.6 899069,
234755.2 899255.4,234612.7 899379.4,234776.9 899563.7))

另請參閱

AddFace