[postgis-users] St_within problem

Bob Pawley rjpawley at shaw.ca
Mon Oct 19 08:47:46 PDT 2009


Hi

I have a table consisting of 858 points which spatially covers a geometry.

I want to pick out the points that are spatially within that geometry.

I am using the following but it returns a null (empty?) value. 

 select st_astext(graphics.point_grid.the_geom)
 from graphics.point_grid, library.dgm_process
 where library.dgm_process.process_number = '1' 
 and st_within(graphics.point_grid.the_geom, library.dgm_process.the_geom);

Any thoughts would be appreciated.

Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20091019/26dd9fda/attachment.html>


More information about the postgis-users mailing list