ECW Support {Scanned}

Siki Zoltan siki at AGT.BME.HU
Wed Jan 4 15:37:21 PST 2006


Hi Lawrence,

I have FW Tools0.9.8 which has gdal 1.2.6, and I have ms4w with the same 
gdal version.
ECW is supported in this version, try to start gdal_translate.exe without 
any arguments at the command prompt.
The supported formats will be listed, look for ecw.
In case of my ms4w 1.2.2 you can find gdal utitilities in 
\ms4w\gdal-ogr-utils dir but the neccessary dlls are in the apache cgi-bin
directory. You must copy the gdal_tranlate to the cgi-bin dir or
copy the dlls to the windows\system32 dir.
I've downloaded an ecw file and I could get gdalinfo on that file.
So, first check wheather ecw is supported by gdal, then try
gdalinfo.
If ecw is supported but gdalinfo fails on your file then your file 
probably is corrupted.
I also use gdal_translate to translate ecw to png without any problem.

Bye
Zoltan

On Wed, 4 Jan 2006, Lawrence Hartpence wrote:

> Hello,
> 
> A day or two ago, I posted a question about ECW support with the MS4W build
> of MapServer.  I have MapServer on a Windows 2000 machine running with IIS.
> I read a thread stating that on a LINUX machine you need to modify GDAL to
> make it support ECW files.  Is this the case with Windows machines?  The
> only response I received the other day was that this build should support
> ECW files.  Is there anyone out there using ECW files with windows?  
> 
> I try to add the ECW file in my mapfile like I would a TIF and the browser
> just hangs up when I try to do this and times out.
> 
> Thanks!!
> 
> Lawrence Hartpence
> GIS Coordinator
> 101 1st St N
> Newton IA 50208
> 641-792-3084
> hartpence_gis at co.jasper.ia.us 
> 



More information about the MapServer-users mailing list