拓樸元素 (TopoElement) — 將拓樸幾何轉換為拓樸元素。
拓樸元素 TopoElement(
拓樸幾何 topo)
;
這是一個完整的獨立工作流程
-- 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;