Name

TopoElement — Convertit une topogeometry en un topoelement.

Synopsis

topoelement TopoElement(topogeometry topo);

Description

Convertit une TopoGeometry en TopoElement.

Disponibilité : 3.4.0

Exemples

Il s'agit d'un flux de travail complet et autonome

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