[postgis-devel] Boxes cache and type (was: Caching Double-based Boxes)

Sandro Santilli strk at keybit.net
Fri Nov 25 05:00:50 PST 2011


On Fri, Nov 25, 2011 at 12:37:42PM +0100, Nicklas Avén wrote:

> But what I find ugly is if you query for the closest house to a lake and
> you get one answer if you query with knn and another answer if quering
> with st_distance or postgresql native. 

It's two different functions, isn't it ?
One is documented to return distance between center of bounding
box (with footnotes) and another is documented to return minimum
distance between the actual shapes.

--strk; 

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-devel mailing list