Hola Paulo<br><br>Yo tengo funcionando MapServer 5.2 con GDAL y soporte para ECW en un servidor con Ubuntu Linux. El modo en que lo hice funcionar fue compilandolo que aunque no es la ruta más sencilla tampoco es algo fuera de lo normal. El SDK ahora se puede descargar desde esta liga [1].<br>
<br> Con respecto a instalarlo con el paquete de MapTools, debes de revisar que no estén en conflicto las versiones que descargaste de repositorios y la que el FGS incluye tanto Mapserver, GDAL como el mismo Apache.<br><br>
Saludos y cualquier duda avisame.<br><br>[1] <a href="http://www.erdas.com/Products/ERDASProductInformation/tabid/84/currentid/1142/default.aspx">http://www.erdas.com/Products/ERDASProductInformation/tabid/84/currentid/1142/default.aspx</a><br>
<br><br><div class="gmail_quote">El 5 de marzo de 2009 11:09, Paulo Clavijo <span dir="ltr">&lt;<a href="mailto:paucls@gmail.com">paucls@gmail.com</a>&gt;</span> escribió:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



        
        
        
        

<p style="margin-bottom: 0cm;">Hola,</p>

<p style="margin-bottom: 0cm;">estoy intentando configurar MapServer
en linux con soporte para ECW.</p>


<p style="margin-bottom: 0cm;">Tengo instalado sobre un servidor Linux
con Debian Lenny (estable), MapServer versión 5.0.3 .</p>
<p style="margin-bottom: 0cm;">Lo he instalado a través de los
repositorios de debian, junto Apache2 y las librerias PROJ4 (proj),
GEOS (libgeos-3.0.0), SHAPELIB (shapelib), GDAL (gdal-bin,
libgdal1-1.5.0)</p>

<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">si ejecuto:</p>
<p style="margin-bottom: 0cm;"><b><i># gdalinfo --format ecw
</i></b></p>
<p style="margin-bottom: 0cm;"><b><i>ERROR 1: --format option given with
format &#39;ecw&#39;, but that format not
</i></b></p>
<p style="margin-bottom: 0cm;"><b><i>recognised.  Use the --formats option
to get a list of available formats,
</i></b></p>
<p style="margin-bottom: 0cm;"><b><i>and use the short code (ie. GTiff or
HFA) as the format identifier.</i></b></p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">Gdal me indica que no tengo soporte
para el formato ECW, así que quiero instalarlo tal como se indica en
<a href="http://www.gdal.org/frmt_ecw.html" target="_blank">http://www.gdal.org/frmt_ecw.html</a></p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">“Support for the ECW driver in GDAL
is optional, and requires linking in external ECW SDK libraries
provided by ERMapper.”</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">Mis dudas son:  
</p>
<p style="margin-bottom: 0cm;">¿donde puedo descargar el ECW SDK
libraries? Ya que la web <a href="http://www.ermapper.com/" target="_blank">www.ermapper.com</a><a href="http://www.ermapper.com/" target="_blank">
</a>ya no esta disponible.</p>
<p style="margin-bottom: 0cm;">¿Hay alguien que tenga mapserver + ecw
funcionando en linux? Y pueda orientarme un poco.</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">Por otro lado también he probado a
instalar mapserver con la version standalone de <a href="http://maptools.org" target="_blank">maptools.org</a>,  en
concreto fgs-mapserver_5.2.1-fgs_1.0.0-linux-i386.bin, que trae en un
único instalador apache, mapserver y las librerias necesarias.
Incluido el soporte ecw, en la propia instalación me indica que lo
ha instalado:</p>
<p style="margin-bottom: 0cm;"><b><i>+ Installing gdal_ecw-module:
</i></b></p>
<p style="margin-bottom: 0cm;"><b><i>  + Getting and extracting module
&#39;gdal_ecw-module&#39;... ok</i></b></p>
<p style="margin-bottom: 0cm;"><b><i>Getting and extracting module
        &#39;libecw-base&#39;... ok</i></b></p>


<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">y con este al lanzar gdalinfo si
obtengo que esta soportado ecw:</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;"><i>/opt/fgs# gdalinfo --format ecw
</i></p>
<p style="margin-bottom: 0cm;"><i>Format Details:
</i></p>
<p style="margin-bottom: 0cm;"><i>  Short Name: ECW
</i></p>
<p style="margin-bottom: 0cm;"><i>  Long Name: ERMapper Compressed
Wavelets
</i></p>
<p style="margin-bottom: 0cm;"><i>  Extension: ecw
</i></p>
<p style="margin-bottom: 0cm;"><i>  Help Topic: frmt_ecw.html
</i></p>
<p style="margin-bottom: 0cm;"><i>  Supports: CreateCopy() - Create
dataset by copying another.
</i></p>
<p style="margin-bottom: 0cm;"><i>  Creation Datatypes: Byte
</i></p>
<p style="margin-bottom: 0cm;">
</p>
<p style="margin-bottom: 0cm;"><i>&lt;CreationOptionList&gt;
</i></p>
<p style="margin-bottom: 0cm;"><i>  &lt;Option name=&quot;TARGET&quot;
type=&quot;float&quot; description=&quot;Compression Percentage&quot;/&gt;
</i></p>
<p style="margin-bottom: 0cm;"><i>  &lt;Option name=&quot;PROJ&quot;
type=&quot;string&quot; description=&quot;ERMapper Projection
Name&quot;/&gt;
</i></p>
<p style="margin-bottom: 0cm;"><i>  &lt;Option name=&quot;DATUM&quot;
type=&quot;string&quot; description=&quot;ERMapper Datum Name&quot;/&gt;
</i></p>
<p style="margin-bottom: 0cm;"><i>  &lt;Option name=&quot;LARGE_OK&quot;
type=&quot;boolean&quot; description=&quot;Enable compressing 500+MB
files&quot;/&gt;
</i></p>
<p style="margin-bottom: 0cm;"><i>&lt;/CreationOptionList&gt;
</i></p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">Aun así me defino una layer en mi .map
para un ecw:</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">LAYER
</p>
<p style="margin-bottom: 0cm;">NAME Relieve
</p>
<p style="margin-bottom: 0cm;">TYPE raster
</p>
<p style="margin-bottom: 0cm;">STATUS on
</p>
<p style="margin-bottom: 0cm;">DATA &quot;/var/data/relieve.ecw&quot;
</p>
<p style="margin-bottom: 0cm;">PROJECTION
</p>
<p style="margin-bottom: 0cm;">&quot;init=epsg:23030&quot;
</p>
<p style="margin-bottom: 0cm;">END
</p>
<p style="margin-bottom: 0cm;">
</p>
<p style="margin-bottom: 0cm;">METADATA
</p>
<p style="margin-bottom: 0cm;">&quot;wms_title&quot; &quot;Relieve&quot;
</p>
<p style="margin-bottom: 0cm;">&quot;wms_abstract&quot; &quot;Imagen
raster&quot;
</p>
<p style="margin-bottom: 0cm;">&quot;wms_keywordlist&quot; &quot;WMS
imagen raster&quot;
</p>
<p style="margin-bottom: 0cm;">&quot;wms_srs&quot; &quot;EPSG:23030&quot;
</p>
<p style="margin-bottom: 0cm;">END</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">y al intentar mostrarla en el navegador
obtengo el error de mapserver:</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm; color: rgb(255, 0, 0);">msDrawMap(): Image handling error.
Failed to draw layer named &#39;Relieve&#39;. msDrawRaster(): Image handling
error. Unrecognized or unsupported image format drawEPP(): Image
handling error. /var/data/relieve.ecw is not an EPPL file. 
</p>
<p style="margin-bottom: 0cm;">
</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">
</p>
<p style="margin-bottom: 0cm;">Alguna idea de como solucionarlo ?</p>
<p style="margin-bottom: 0cm;">
</p>
<p style="margin-bottom: 0cm;">
</p>
<p style="margin-bottom: 0cm;">Gracias de antemano</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<br>_______________________________________________<br>
Spanish mailing list<br>
<a href="mailto:Spanish@lists.osgeo.org">Spanish@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/spanish" target="_blank">http://lists.osgeo.org/mailman/listinfo/spanish</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Juan Manuel Uribe Medina<br><a href="http://www.hablandodesigs.com">http://www.hablandodesigs.com</a><br>