დასახელება

clearTopoGeom — Clears the content of a topo geometry.

სინოპსისი

topogeometry clearTopoGeom(topogeometry topogeom);

Description

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

მაგალითები

Shrink all TopoGeometry polygons by 10 meters.

Code
UPDATE nei_topo SET topo = toTopoGeom(ST_Buffer(topo, -10), clearTopoGeom(topo), 0);

ასევე იხილეთ

toTopoGeom