დასახელება

PostGIS_AddBBox — Add bounding box to the geometry.

სინოპსისი

geometry PostGIS_AddBBox(geometry geomA);

აღწერა

Add bounding box to the geometry. This would make bounding box based queries faster, but will increase the size of the geometry.

[შენიშვნა]

Bounding boxes are automatically added to geometries so in general this is not needed unless the generated bounding box somehow becomes corrupted or you have an old install that is lacking bounding boxes. Then you need to drop the old and re-add.

This method supports Circular Strings and Curves.

მაგალითები

Code
UPDATE sometable
SET geom =  PostGIS_AddBBox(geom)
WHERE PostGIS_HasBBox(geom) = false;

ასევე იხილეთ

PostGIS_DropBBox, PostGIS_HasBBox