Hello,<br>&nbsp;&nbsp;&nbsp; I am attempting to determine the distance from a point inside a polygon to the edge of the polygon. How can I achieve this? I am currently using the following SQL statement to determine the distance from a point to other polygons in my database:
<br><br>select gid, &quot;FIRM_PAN&quot;,&quot;PANEL_TYP&quot;,&quot;COUNTYNAME&quot;,distance(transform(the_geom,utmzone(GeomFromText( &#39;POINT(-81.0571731786471 28.0183613937886)&#39;, 4326 ))),transform(GeomFromText( &#39;POINT(-
81.0571731786471 28.0183613937886)&#39;, 4326 ),utmzone(GeomFromText( &#39;POINT(-81.0571731786471 28.0183613937886)&#39;, 4326 ))))<br>from &quot;S_FIRM_PAN&quot; where distance(transform(the_geom,utmzone(GeomFromText( &#39;POINT(-
81.0571731786471 28.0183613937886)&#39;, 4326 ))), transform(GeomFromText( &#39;POINT(-81.0571731786471 28.0183613937886 )&#39;, 4326 ),utmzone(GeomFromText( &#39;POINT(-81.0571731786471 28.0183613937886 )&#39;, 4326 ))))&lt;200 ORDER BY DISTANCE ASC 
<br clear="all"><br>I have tried doing a distance(box2d(the_geom), GeomFromText( &#39;POINT(-81.0571731786471 28.0183613937886)&#39;, 4326 ) but it doesn&#39;t seem to be working. Any takers?<br><br><br><br><br>-- <br>Thank you,
<br>Chris Story<br><br>