<div>Hi,</div>
<div> </div>
<div>sorry for that Norm, I was writting that mail while I was installing different fgs versions and I mixed some messages. Mapserver 5.2.1 is my current system. I have already tried different fgs versions but I always get the same error.</div>


<div> </div>
<div>And yes, gdal_ECW.so is in that path, in my case /home/route/fgs/apps/gdal/driver. I also tried to make a symbolic link to this library in /usr/local/lib because I thought that the problem could be that the application doesn&#39;t found this file, but it didn&#39;t make any difference.<br>
<br>Also, this is my list of installed modules:<br><br>agg-lib<br>apache-base<br>curl-lib<br>expat-base<br>freetype-lib<br>gdal-base<br>gdal_ecw-module<br>gd-lib<br>geos-lib<br>jpeg-lib<br>libecw-base<br>libgcc-lib<br>libgeotiff-lib<br>
libiconv-base<br>libpng-lib<br>libstdc++-lib<br>libungif-base<br>libxml2-base<br>mapserver-base<br>mapserver-php<br>openssl-lib<br>php-base<br>postgis-lib<br>postgresql-lib<br>proj4_epsg42xxx-support<br>proj-lib<br>python-base<br>
python_mapscript-module<br>tiff-lib<br>unixODBC-base<br>xerces_c-base<br>zlib-lib<br><br>Gustavo<br><br>
</div>
<div class="gmail_quote">2009/3/9 Normand Savard <span dir="ltr">&lt;<a href="mailto:nsavard@mapgears.com" target="_blank">nsavard@mapgears.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">
<div>
<div></div>
<div>Gustavo Fariña Fernández wrote:<br>&gt; Hello,<br>&gt;<br>&gt; I am traying to set up a wms server in ubuntu 8.04 with mapserver<br>&gt; through a fgs distribution<br>&gt; (fgs-mapserver_5.2.1-fgs_1.0.0-linux-i386.bin ) but I am having some<br>

&gt; problems with ECW support. ECW files are supposed to be supported by<br>&gt; fgs by default but when I try to serve an ECW file I get this error<br>&gt; message:<br>&gt;<br>&gt; msDrawMap(): Image handling error. Failed to draw layer named &#39;earth&#39;.<br>

&gt; msDrawRaster(): Image handling error. Unrecognized or unsupported image format<br>&gt; drawEPP(): Image handling error.<br>&gt; /home/route/fgs/www/cgi-bin/test/earth.ecw is not an EPPL file.<br>&gt;<br>&gt; In my system, &quot;mapserv -v&quot; returns:<br>

&gt;<br>&gt; MapServer version 5.0.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP<br>&gt; OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE<br>&gt; SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER<br>&gt; SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=GEOS INPUT=EPPL7<br>

&gt; INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE<br>&gt;<br>&gt; and &quot;gdalinfo --format ecw&quot; returns:<br>&gt;<br>&gt; Format Details:<br>&gt;   Short Name: ECW<br>&gt;   Long Name: ERMapper Compressed Wavelets<br>

&gt;   Extension: ecw<br>&gt;   Help Topic: frmt_ecw.html<br>&gt;   Supports: CreateCopy() - Create dataset by copying another.<br>&gt;   Creation Datatypes: Byte<br>&gt;<br>&gt; &lt;CreationOptionList&gt;<br>&gt;   &lt;Option name=&quot;TARGET&quot; type=&quot;float&quot; description=&quot;Compression Percentage&quot;/&gt;<br>

&gt;   &lt;Option name=&quot;PROJ&quot; type=&quot;string&quot; description=&quot;ERMapper Projection Name&quot;/&gt;<br>&gt;   &lt;Option name=&quot;DATUM&quot; type=&quot;string&quot; description=&quot;ERMapper Datum Name&quot;/&gt;<br>

&gt;   &lt;Option name=&quot;LARGE_OK&quot; type=&quot;boolean&quot; description=&quot;Enable<br>&gt; compressing 500+MB files&quot;/&gt;<br>&gt; &lt;/CreationOptionList&gt;<br>&gt;<br>&gt; so I think ecw support is granted. And here is an example of my map files:<br>

&gt;<br>&gt; MAP<br>&gt;     NAME            &quot;earth&quot;<br>&gt;     SIZE            600 600<br>&gt;     IMAGETYPE        PNG<br>&gt;     IMAGECOLOR        255 255 255<br>&gt;     EXTENT            532715.000 4733220.000 594155.000 4794660.000<br>

&gt;<br>&gt;     SHAPEPATH        &quot;/home/route/fgs/www/cgi-bin/test&quot;<br>&gt;<br>&gt;     DEBUG            ON<br>&gt;     CONFIG &quot;MS_ERRORFILE&quot; &quot;/tmp/servidor_wms_error.txt&quot;<br>&gt;<br>&gt;     PROJECTION<br>

&gt;           &quot;init=epsg:23029&quot;<br>&gt;     END<br>&gt;<br>&gt;     WEB<br>&gt;         METADATA<br>&gt;             WMS_TITLE                                &quot;Earth&quot;<br>&gt;             WMS_ONLINERESOURCE<br>

&gt; &quot;<a href="http://localhost:8000/cgi-bin/mapserv?map=test/earth2_server.map&amp;" target="_blank">http://localhost:8000/cgi-bin/mapserv?map=test/earth2_server.map&amp;</a>&quot;<br>&gt;             WMS_SRS                                    &quot;EPSG:23029&quot;<br>

&gt;         END<br>&gt;     END<br>&gt;<br>&gt;     LAYER<br>&gt;         NAME        &quot;earth&quot;<br>&gt;         DATA        &quot;earth.ecw&quot;<br>&gt;         TYPE        RASTER<br>&gt;         STATUS        ON<br>

&gt;         METADATA<br>&gt;             WMS_TITLE &quot;earth 2&quot;<br>&gt;             WMS_ABSTRACT &quot;earth 2&quot;<br>&gt;             WMS_SRS &quot;init=epsg:23029&quot;<br>&gt;         END<br>&gt;     END<br>
&gt; END<br>
&gt;<br>&gt; I have tried several ecw files with different projections, so I guess<br>&gt; that is not the problem. Maybe are there any problems about ecw<br>&gt; support I am not aware of??<br>&gt;<br>&gt;<br><br></div>
</div>
Gustavo,<br><br>You wrote that you used fgs-mapserver_5.2.1-fgs_1.0.0-linux-i386.bin but<br>&quot;mapserver -v&quot; revealed that the mapserver version is 5.0.2.  There<br>seems to be a wrong configuration somewhere.<br>

<br>Can you see the gdal_ECW.so file in<br>/home/nsavard/fgs-1.0.0/apps/gdal/driver?<br><br>Norm<br>_______________________________________________<br>Foss-gis-suite mailing list<br><a href="mailto:Foss-gis-suite@lists.maptools.org" target="_blank">Foss-gis-suite@lists.maptools.org</a><br>

<a href="http://lists.maptools.org/mailman/listinfo/foss-gis-suite" target="_blank">http://lists.maptools.org/mailman/listinfo/foss-gis-suite</a><br></blockquote></div><br>