Nome

TopoElement — Converts a topogeometry to a topoelement.

Sinopse

topoelement TopoElement(topogeometry topo);

Description

Converts a TopoGeometry to a TopoElement.

Availability: 3.4.0

Exemplos

Este é um fluxo de trabalho auto contido completo

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;