名稱

拓樸元素 (TopoElement) — 將拓樸幾何轉換為拓樸元素。

概要

拓樸元素 TopoElement(拓樸幾何 topo);

描述

拓樸幾何 (TopoGeometry) 轉換為 拓樸元素 (TopoElement)

可用性: 3.4.0

範例

這是一個完整的獨立工作流程

-- do this if you don't have a topology setup already
-- Creates topology not allowing any tolerance
SELECT TopoElement(topo)
FROM neighborhoods;
-- using as cast
SELECT topology.TopoElementArray_Agg(topo::topoelement)
FROM neighborhoods
GROUP BY city;