<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18828">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Hi</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I have a table consisting of 858 points which 
spatially covers a geometry.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I want to pick out the points that are spatially 
within that geometry.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I am using the following but it returns a null 
(empty?) value. </FONT></DIV>
<DIV><FONT size=2 face=Arial><BR> select 
st_astext(graphics.point_grid.the_geom)<BR> from graphics.point_grid, 
library.dgm_process<BR> where library.dgm_process.process_number = '1' 
<BR> and st_within(graphics.point_grid.the_geom, 
library.dgm_process.the_geom);</DIV>
<DIV> </DIV>
<DIV>Any thoughts would be appreciated.</DIV>
<DIV> </DIV>
<DIV>Bob</FONT></DIV></BODY></HTML>