[mapserver-users] WCS GET_COVERAGE delivers corrupted geotiff

Frank Warmerdam warmerdam at pobox.com
Wed Jul 21 08:33:23 PDT 2010


John Cartwright wrote:
>  Hello All,
> 
> I'm running Mapserver 5.6.3 and have a WCS service configured.  I'm
> finding that a GetCoverage request like:
> 
> http://mapserver.ngdc.noaa.gov/cgi-bin/public/etopo1/etopo1.tif?request=GetCoverage&service=WCS&version=1.1.1&COVERAGE=etopo1&crs=EPSG:4326&format=geotiff&resx=0.0083333333&resy=0.0083333333&bbox=-95,25,-75,40
> 
> delivers a corrupted geotiff that appears to have header information
> prepended to the TIFF, e.g.
> 
> --wcs
> Content-Type: text/xml
> Content-ID: wcs.xml
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <Coverages
>      xmlns="http://www.opengis.net/wcs/1.1"
...
> 
> I've included the complete mapfile below.
> 
> I'm assuming that I have something misconfigured in either Mapserver or
> Apache - can someone please help me here?

John,

This is a WCS 1.1.x manifest and it is required by the
WCS 1.1.x standard.  If you want a simple file back consider
using the WCS 1.0 protocol.

This is an aspect of WCS 1.1+ that I complained quite bitterly
about.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the MapServer-users mailing list