Name

TopoElement — Converts a topogeometry to a topoelement.

Synopsis

topoelement TopoElement(topogeometry topo);

설명

Converts a TopoGeometry to a TopoElement.

Availability: 3.4.0

예시

다음은 완전히 자급자족하는 독립적인 작업 흐름(workflow)입니다.

-- 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;

참고

TopoElementArray_Agg, TopoGeometry, TopoElement