<HTML><HEAD><TITLE>Re: [Gvsig_usuarios] Fichero ecw</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.17097" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText16640>
<DIV><FONT face="Times New Roman" color=#000000 size=3>Hola, acabo de probar lo que sugiere Nacho y ha funcionado con este comando:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Times New Roman" color=#000000 size=3>gdal_translate -of ecw -b 1 -b 1 -b 1 imagen1banda.ecw imagen3bandas.ecw</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Times New Roman" color=#000000 size=3>La imagen resultante tendrá 3 bandas iguales con valores entre 0 y 255 y se puede cargar en gvSIG.</FONT></DIV>
<DIV><FONT face="Times New Roman" color=#000000 size=3></FONT>&nbsp;</DIV>
<DIV><FONT face="Times New Roman" color=#000000 size=3>Me parece que si la imagen original no tenía valores entre 0 y 255, estos serán escalados a valores entre 0 y 255.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Times New Roman" color=#000000 size=3>GDAL es parte de FWTools y se puede descargar desde <A href="http://fwtools.maptools.org">http://fwtools.maptools.org</A></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Saludos,</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 id=idSignature62267>
<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_usuarios-bounces@listserv.gva.es en nombre de Nacho Brodin<BR><B>Enviado el:</B> vie 10/06/2011 10:37<BR><B>Para:</B> Lista de Usuarios de gvSIG<BR><B>Asunto:</B> Re: [Gvsig_usuarios] Fichero ecw<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Hola de nuevo,<BR>Pues va a ser de eso. El driver que incorpora gvSIG no soporta una sola<BR>banda en este tipo de formato, solo 3 bandas de tipo byte. Puedes<BR>intentar replicar la banda con una herramienta&nbsp; como gdal _translate.<BR><BR>Saludos,<BR><BR>Ignasi Ferrer wrote:<BR>&gt; Hola Nacho,<BR>&gt;<BR>&gt; El fichero que queria cargar es en Blanco y Negro con una sola banda.<BR>&gt; He podido cargar ficheros ecw de tres bandas sin problemas.<BR>&gt;<BR>&gt; Atentamente,<BR>&gt;<BR>&gt; Ignsi Ferrer<BR>&gt;<BR>&gt;<BR>&gt; --<BR>&gt; View this message in context: <A href="http://osgeo-org.1803224.n2.nabble.com/Fichero-ecw-tp6456765p6457461.html">http://osgeo-org.1803224.n2.nabble.com/Fichero-ecw-tp6456765p6457461.html</A><BR>&gt; Sent from the gvSIG usuarios mailing list archive at Nabble.com.<BR>&gt; _______________________________________________<BR>&gt; gvSIG_usuarios mailing list<BR>&gt; gvSIG_usuarios@listserv.gva.es<BR>&gt;<BR>&gt; Para ver histórico de mensajes, editar sus preferencias de usuario o darse de baja en esta lista, acuda a la siguiente dirección:<BR>&gt;<BR>&gt; <A href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_usuarios">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_usuarios</A><BR>&gt;&nbsp;&nbsp;<BR><BR><BR>--<BR>Nacho Brodin<BR>Equipo de desarrollo de gvSIG<BR>Prodevelop.SL<BR><A href="http://www.gvsig.org/">http://www.gvsig.org</A><BR><A href="http://www.prodevelop.es/">http://www.prodevelop.es</A><BR><BR>_______________________________________________<BR>gvSIG_usuarios mailing list<BR>gvSIG_usuarios@listserv.gva.es<BR><BR>Para ver histórico de mensajes, editar sus preferencias de usuario o darse de baja en esta lista, acuda a la siguiente dirección:<BR><BR><A href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_usuarios">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_usuarios</A><BR></FONT></P></DIV></BODY></HTML>