[postgis-users] Distance() vs ? - performance

David Blasby dblasby at refractions.net
Wed Feb 18 10:20:08 PST 2004


Paul,

You have to be a bit careful with queries like that.

I've attached a picture of a polygon - and its bounding box extended by 
1km.  There's also two points (pt1 an pt2).

You can see that p1 is in the bounding box (but far away), but pt2 is 
outside the bounding box (but close).


dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bbox_search copy.gif
Type: image/gif
Size: 4202 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20040218/ed423f9c/attachment.gif>


More information about the postgis-users mailing list