MakeTopologyPrecise — Snap topology vertices to precision grid.
void MakeTopologyPrecise(
name toponame, geometry bbox, float8 gridSize)
;
Snaps all vertices of a topology to the topology precision grid or to the grid whose size is specified with the gridSize
parameter, optionally limiting the operation to the objects intersecting the area specified by the bbox
parameter.
![]() |
|
Snapping could make the topology invalid, so it is recommended to check the outcome of operation with ValidateTopology. |
可用性:3.6.0
SELECT topology.MakeTopologyPrecise( 'city_data', gridSize = > 2 ); maketopologyprecise --------------------- (1 row)