Thanks for your reply!

I also have to install the ER mappers ECW JPEG2000 SDK and then
compile GDAL against it, am I right? And after that GDAL should work
smoothly with ECW's. I'll try that.

Cheers

Antti S

On 8/7/06, Frank Warmerdam <[EMAIL PROTECTED]> wrote:
antti siukola wrote:
> Hi!
>
> I'm using raster image in ecw format and when loading it from
> mapserver I get this error: Warning: [MapServer Error]: drawEPP():
> file.ecw is not an EPPL file. After surfing around I found that in
> some point mapserver gave this error when ever it was unable to load
> an image but can't tell if it's a problem anymore.
>
> I've used two tricks to load it: as a plain ecw and with a tab-file
> My map-file looks like this:

Antti,

The .tab file aspect definitely won't work with GDAL.  The ECW will if
you have ECW support built in.  Try running gdalinfo against the ecw file
or doing "gdalinfo --format ecw" to check if the ecw driver is available
in your build.  If not, mapserver will fall through to trying the file as
EPPL and give the report you see.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, [EMAIL PROTECTED]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org


Reply via email to