<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<STYLE><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></STYLE>

<META content="MSHTML 6.00.6000.17097" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV id=idOWAReplyText86777>
<DIV><FONT face="Times New Roman" color=#000000 size=3>Hola, Robert:</FONT></DIV>
<DIV><FONT face="Times New Roman" size=3></FONT>&nbsp;</DIV>
<DIV><FONT face="Times New Roman" size=3>Este es aproximadamente el modo de acceder uno a uno a las geometrías de una capa vectorial en gvSIG 1.X:</FONT></DIV>
<DIV><FONT face="Times New Roman" size=3></FONT>&nbsp;</DIV>
<DIV><FONT face="Times New Roman" size=3>===============================</FONT></DIV>
<DIV>FLyrVect lyr = setts.getFeaturesLayer();<BR>ReadableVectorial rv = lyr.getSource();</DIV>
<DIV>int n = rv.getShapeCount();<BR>IGeometry geom = null;<BR>Shape shp = null;</DIV>
<DIV>for (int i=0; i&lt;n; i++) {<BR>&nbsp; geom = rv.getShape(i);<BR>&nbsp; shp = geom.getInternalShape();<BR>&nbsp;&nbsp; ...<BR>}</DIV>
<DIV>
<DIV><FONT face="Times New Roman" size=3>===============================</FONT></DIV>
<DIV><FONT face="Times New Roman" size=3></FONT>&nbsp;</DIV>
<DIV><FONT face="Times New Roman" size=3>Ahí puedes aplicar el criterio que quieras a la variable shp.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Times New Roman" size=3>Saludos,</FONT></DIV>
<DIV><FONT face="Courier New" size=2><FONT face="Times New Roman" size=3>Juan Lucas Domínguez Rubio<BR></FONT>---</FONT></DIV></DIV></DIV>
<DIV id=idSignature18509>
<DIV><FONT face="Courier New" size=2><FONT face="Courier New" size=2><FONT face="Courier New" size=2>Prodevelop SL, Valencia (España)</FONT></DIV>
<DIV>
<DIV><FONT face="Courier New" size=2>Tlf.: 96.351.06.12 -- Fax: 96.351.09.68<BR></FONT><A href="http://www.prodevelop.es/"><FONT face="Courier New" size=2>http://www.prodevelop.es</FONT></A><BR><FONT face="Courier New" size=2>---</FONT></DIV></FONT></DIV></FONT></DIV>
<DIV><BR>
<HR>
<FONT face=Tahoma size=2><B>De:</B> gvsig_desarrolladores-bounces@listserv.gva.es en nombre de Elder Robert Zavaleta Veneros<BR><B>Enviado el:</B> mié 18/05/2011 21:01<BR><B>Para:</B> gvsig_desarrolladores@listserv.gva.es; gvsig_ desarrolladores<BR><B>Asunto:</B> Re: [Gvsig_desarrolladores] Buscar poligonos en una capa<BR></FONT><BR></DIV>
<DIV>Buenas tardes, alguna ayuda, sobre lo referido<BR><BR>las gracias por adelantado.<BR>Saludos<BR>Robert Zavaleta<BR><BR>
<HR id=stopSpelling>
From: erobert_zv@hotmail.c<BR>om<BR>To: gvsig_desarrolladores@listserv.gva.es; gvsig_desarrolladores@runas.cap.gva.es<BR>Subject: Buscar poligonos en una capa<BR>Date: Tue, 17 May 2011 11:19:17 -0500<BR><BR>
<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

</STYLE>
Buen día a todos:<BR><BR>Soy nuevo en el desarrollo de extensiónes utilizando gvSig 1.9 ahora intento desarrollar una que permitira buscar y seleccionar <BR>dentro de una capa los poligonos que cumplan con un criterio de busqueda que le ingreso. <BR><BR>Nota: los poligonos estan continuos.<BR><BR>las gracias por adelantado, en la ayuda prestada.<BR><BR>Saludos<BR>Robert Zavaleta<BR><BR><BR></DIV></BODY></HTML>