<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;"><br></div><br><div style="text-align: left;">Hello every body,<br>
</div>
<br>can any body help me to write sql statment that select all the polygons that touch polygons in the same feature class.<br>i try to do it in as below and find all polygon that are within 100 m from the polygon 2.<br><br>SELECT the_geom FROM "public"."IGFPLAN"<br>WHERE "Id" = '2' and distance(the_geom, the_geom) < 100<br><br><br>Thanks<br><br>ihab<br><br><br /><hr />Explore the seven wonders of the world <a href='http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE' target='_new'>Learn more!</a></body>
</html>