Here's the output of gdalinfo for the ecw file... Could it be the lack of
coordinate system info?
[jhjackson@map-tester gdal-1.7.2-fedora]# gdalinfo /home/ecw/test.ecw
Driver: ECW/ERMapper Compressed Wavelets
Files: /home/ecw/test.ecw
/home/ecw/test.eww
Size is 445500, 412500
Coordinate System is `'
Origin = (1753630.000000000000000,781300.000000000000000)
Pixel Size = (0.320000000000000,-0.320000000000000)
Corner Coordinates:
Upper Left ( 1753630.000, 781300.000)
Lower Left ( 1753630.000, 649300.000)
Upper Right ( 1896190.000, 781300.000)
Lower Right ( 1896190.000, 649300.000)
Center ( 1824910.000, 715300.000)
Band 1 Block=445500x1 Type=Byte, ColorInterp=Red
Overviews: arbitrary
Band 2 Block=445500x1 Type=Byte, ColorInterp=Green
Overviews: arbitrary
Band 3 Block=445500x1 Type=Byte, ColorInterp=Blue
Overviews: arbitrary
________________________________________
From: Carlos Ruiz [[email protected]]
Sent: Monday, April 25, 2011 1:23 PM
To: Jackson, John
Subject: Re: [mapserver-users] adding ecw support
Your MAP contents looks fine to me.
Did you run ldconfig after the libecw/gdal compilation ?
Sometimes when I upload some raster files to my production server, they are
somehow corrupted. Please check if you can
see test.ecw with ER Viewer or other applications, and if this is your case
too, check the byte length of the local and the remote
files.
Maybe you should recompile Mapserver. I don't remember if this must be done,
but I thing you don't need it.
IC Carlos Ruiz
________________________________
From: "Jackson, John" <[email protected]>
To: Carlos Ruiz <[email protected]>; "[email protected]"
<[email protected]>
Sent: Monday, April 25, 2011 12:04 PM
Subject: Re: [mapserver-users] adding ecw support
Debug 5 produces:
[Mon Apr 25 12:00:04 2011].97972 msDrawRasterLayerLow(ortho): entering.
[Mon Apr 25 12:00:04 2011].98406 drawEPP(): Image handling error. EPPL7 support
is not available.
[Mon Apr 25 12:00:04 2011].98414 msDrawRaster(): Image handling error.
Unrecognized or unsupported image format
[Mon Apr 25 12:00:04 2011].98421 msDrawMap(): Image handling error. Failed to
draw layer named 'ortho'.
relevant section from map file is pretty straightforward:
LAYER
NAME "ortho"
STATUS on
TYPE RASTER
DATA "/home/ecw/test.ecw"
END
________________________________________
From: Carlos Ruiz [[email protected]<mailto:[email protected]>]
Sent: Monday, April 25, 2011 12:59 PM
To: Jackson, John
Subject: Re: [mapserver-users] adding ecw support
Try setting DEBUG 5 and CONFIG MS_ERRORFILE '/var/www/error.log' into the MAP
section to see what does
Mapserver throws.
Also, can you post the MAP file contents ?
Cheers from México
IC Carlos Ruiz
________________________________
From: "Jackson, John"
<[email protected]<mailto:[email protected]>>
To: "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Sent: Monday, April 25, 2011 11:25 AM
Subject: Re: [mapserver-users] adding ecw support
Quick question:
I've compiled libecw3.3 and gdal... now gdalinfo --formats shows the ECW
format, but mapserver still won't produce a map with an ecw file.
Do I need to recompile mapserver also?
(I'm running 5.65 on a Fedora 13 box if that helps)
Thanks
--John Jackson
--Deputy Auditor
[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>_______________________________________________
mapserver-users mailing list
[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users