[postgis-users] St_within problem

Maxime van Noppen maxime at altribe.org
Mon Oct 19 09:55:20 PDT 2009


Bob Pawley wrote:
> Funny this does work when I include st_box2d as in -
> 
> st_within( graphics.point_grid.the_geom,
> st_box2d(library.dgm_process.the_geom))
> 
> However, this will include points within the box yet outside of the
> actual geometry.

It's hard to help without some additionnal data. Did you check that your
geometry is valid (ST_IsValid) ? Did you manually check that it actually
contains points ?

-- 
Maxime



More information about the postgis-users mailing list