TopoElement — Converts a topogeometry to a topoelement.
topoelement TopoElement(
topogeometry topo)
;
Dies ist ein in sich selbst vollkommen abgeschlossener Arbeitsablauf
-- 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;