Name

TopoElement — Converts a topogeometry to a topoelement.

Synopsis

topoelement TopoElement(topogeometry topo);

Descrizione

Converts a TopoGeometry to a TopoElement.

Disponibilità: 3.4.0

Esempi

This is a full self-contained workflow

Return the TopoElement representation of each topogeometry.

SELECT TopoElement(topo)
FROM neighborhoods;

Use a cast to aggregate topogeometries into a TopoElementArray.

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