제목

TopoElement — Converts a topogeometry to a topoelement.

요약

topoelement TopoElement(topogeometry topo);

Description

Converts a TopoGeometry to a TopoElement.

Availability: 3.4.0

예시

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

Return the TopoElement representation of each topogeometry.

Code
SELECT TopoElement(topo)
FROM neighborhoods;

Use a cast to aggregate topogeometries into a TopoElementArray.

Code
SELECT topology.TopoElementArray_Agg(topo::topoelement)
FROM neighborhoods
GROUP BY city;