Name

clearTopoGeom — Clears the content of a topo geometry.

Synopsis

topogeometry clearTopoGeom(topogeometry topogeom);

Descrizione

Clears the content a TopoGeometry turning it into an empty one. Mostly useful in conjunction with toTopoGeom to replace the shape of existing objects and any dependent object in higher hierarchical levels.

Availability: 2.1

Esempi

-- Shrink all TopoGeometry polygons by 10 meters
UPDATE nei_topo SET topo = toTopoGeom(ST_Buffer(topo, -10), clearTopoGeom(topo), 0);
                                

Si veda anche

toTopoGeom