<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2> Hi,
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I need obtain the list of the vertex of my polygon
becouse after that I need to pass this value to POLYGON parameters and obtain
all the objects inside the polygon.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I use this</FONT></DIV>
<DIV><FONT face=Arial size=2>.</FONT></DIV>
<DIV><FONT face=Arial size=2>.</FONT></DIV>
<DIV><FONT face=Arial size=2>.</FONT></DIV>
<DIV><FONT face=Arial size=2>.</FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2>var drawpolygon = new
OpenLayers.Control.DrawFeature(<BR>
polygonLayer,
OpenLayers.Handler.Polygon,<BR>
{displayClass:
'olControlDrawFeaturePolygon'}<BR>
);</FONT></DIV></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> panel.addControls([new
OpenLayers.Control.Navigation(), drawpolygon]);</FONT></DIV>
<DIV><FONT face=Arial size=2>..</FONT></DIV>
<DIV><FONT face=Arial size=2>.</FONT></DIV>
<DIV><FONT face=Arial size=2>.</FONT></DIV>
<DIV><FONT face=Arial size=2>.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>************************************************************* This is the
Sql for postgis **************************</FONT></DIV>
<DIV><FONT face=Arial size=2>SELECT cod,tipo,empresa,the_geom<BR>FROM
sennal <BR>WHERE sennal.the_geom && GeomFromText('POLYGON((-85.47677
23.56344,-82.31771 23.51950,-82.33468 21.03659,-85.47677 23.56344))',4267) and
tipo =
'FV';<BR>*********************************************************</DIV></FONT>
<DIV><FONT face=Arial size=2>How implement this ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards , salas</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>var drawpolygon = new
OpenLayers.Control.DrawFeature(<BR>
polygonLayer,
OpenLayers.Handler.Polygon,<BR>
{displayClass:
'olControlDrawFeaturePolygon'}<BR>
);</FONT></DIV></BODY></HTML>