[postgis-users] Bounding Box of Spatial Index for Points

Darafei "Komяpa" Praliaskouski me at komzpa.net
Thu Mar 1 06:47:13 PST 2018


>
> How is the bounding box determined when creating a spatial index for point
> geometries?   It's my understanding that creating a spatial index utilizes
> bounding boxes, which makes sense to me for lines and polygons, but I had a
> hard time finding information on how that works for points.  Do points get
> bounding boxes as part of their spatial index, or are they handled some
> other way?
>

A box for point has 4 corners that are all the same point (or it's
rounding, if precision for box is smaller than for point).
Apart from having area of 0 and perimeter of 0 all the math for a box
indexing keeps working for such boxes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20180301/f4aaceff/attachment.html>


More information about the postgis-users mailing list