[postgis-users] geos based spatial queries

Vinko Vrsalovic vinko at cprsig.cl
Thu Nov 20 17:25:43 PST 2003


On Thu, Nov 20, 2003 at 01:37:22PM -0800, David Blasby wrote:
 
> The within() is important - "&&" is only bounding box, while 'within()' 
> is peformed on the actual geometry.
> 
> You could also do a "distance(p.the_geom,s.the_geom) <=0" instead of the 
> within.

Is distance()<=0 faster than within()?

-- 
Vinko Vrsalovic <el[|- at -|]vinko.cl>
http://www.cprsig.cl



More information about the postgis-users mailing list