<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>Examples SQL for spatial searches in post gis eg intersect</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hi folks,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Can anyone point mw in the right direction. I would like examples of SQL syntax for running spatial searches in postgis. For example what is the SQL for determining which spatial features intersect with another spatial feature.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Thanks. </FONT>
</P>

<P><FONT COLOR="#000080" SIZE=2 FACE="Courier New">Mohammed Wahead</FONT><FONT COLOR="#000080" FACE="Arial"></FONT> 

<BR><FONT SIZE=2 FACE="Verdana">&quot;Subscribe to Cadcorp eNews at </FONT><A HREF="file://www.cadcorp.com"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Verdana">www.cadcorp.com</FONT></U></A><FONT SIZE=2 FACE="Verdana">.&quot;</FONT><FONT FACE="Times New Roman"><BR>
<BR>
</FONT><FONT COLOR="#000080" SIZE=2 FACE="Courier New">GIS &amp; RDBMS Specialist</FONT><BR>
<FONT COLOR="#000080" SIZE=2 FACE="Courier New">Cadcorp</FONT><BR>
<FONT COLOR="#000080" SIZE=2 FACE="Courier New">Computer Aided Development Corporation Ltd Sterling Court,</FONT><BR>
<FONT COLOR="#000080" SIZE=2 FACE="Courier New">Norton Road,</FONT><BR>
<FONT COLOR="#000080" SIZE=2 FACE="Courier New">Stevenage, Herts,</FONT><BR>
<FONT COLOR="#000080" SIZE=2 FACE="Courier New">SG1 2JY, UK</FONT><BR>
<FONT COLOR="#000080" SIZE=2 FACE="Courier New">Tel: +44 (0)1438 731440</FONT><BR>
<FONT COLOR="#000080" SIZE=2 FACE="Courier New">Fax: +44 (0)1438 747997</FONT>
</P>

<br><br><table bgcolor=white style="color:black"><tr><td><br>****************************************************************************<br>
This&nbsp;email&nbsp;is&nbsp;confidential&nbsp;and&nbsp;may&nbsp;be&nbsp;privileged&nbsp;and&nbsp;should&nbsp;not&nbsp;be&nbsp;used,&nbsp;<br>
read&nbsp;or&nbsp;copied&nbsp;by&nbsp;anyone&nbsp;who&nbsp;is&nbsp;not&nbsp;the&nbsp;&nbsp;original&nbsp;intended&nbsp;recipient.&nbsp;If&nbsp;you&nbsp;<br>
have&nbsp;received&nbsp;this&nbsp;email&nbsp;in&nbsp;error&nbsp;&nbsp;please&nbsp;inform&nbsp;the&nbsp;sender&nbsp;and&nbsp;delete&nbsp;it&nbsp;<br>
from&nbsp;your&nbsp;mailbox&nbsp;or&nbsp;any&nbsp;other&nbsp;storage&nbsp;mechanism.&nbsp;Unless&nbsp;specifically&nbsp;<br>
stated,&nbsp;nothing&nbsp;in&nbsp;this&nbsp;email&nbsp;constitutes&nbsp;an&nbsp;offer&nbsp;by&nbsp;Cadcorp&nbsp;and&nbsp;Cadcorp&nbsp;<br>
does&nbsp;not&nbsp;warrant&nbsp;that&nbsp;any&nbsp;information&nbsp;contained&nbsp;in&nbsp;this&nbsp;email&nbsp;is&nbsp;accurate.&nbsp;<br>
Cadcorp&nbsp;cannot&nbsp;accept&nbsp;liability&nbsp;for&nbsp;any&nbsp;statements&nbsp;made&nbsp;which&nbsp;are&nbsp;clearly&nbsp;<br>
the&nbsp;sender&#39;s&nbsp;own&nbsp;and&nbsp;not&nbsp;expressly&nbsp;made&nbsp;on&nbsp;behalf&nbsp;of&nbsp;Cadcorp&nbsp;or&nbsp;one&nbsp;of&nbsp;its&nbsp;<br>
agents.&nbsp;Please&nbsp;rely&nbsp;on&nbsp;your&nbsp;own&nbsp;virus&nbsp;check.&nbsp;No&nbsp;responsibility&nbsp;is&nbsp;taken&nbsp;by&nbsp;<br>
Cadcorp&nbsp;for&nbsp;any&nbsp;damage&nbsp;arising&nbsp;out&nbsp;of&nbsp;any&nbsp;bug&nbsp;or&nbsp;virus&nbsp;infection.&nbsp;<br>
****************************************************************************</td></tr></table></BODY>
</HTML>