[mapserver-users] WCS GET_COVERAGE delivers corrupted geotiff
John Cartwright
John.C.Cartwright at noaa.gov
Wed Jul 21 09:21:40 PDT 2010
Thanks Frank, I finally realized last night that I was getting a
multipart mime response and that was the problem.
I was using 1.1.1 because it was my understanding that there was a 1px
image shift between version 1.0 and 1.1 (see thread at
http://comments.gmane.org/gmane.comp.gis.mapserver.user/41599). I
didn't see any ticket filed on this issue - are you aware of it?
Thanks again for your help!
--john
On 07/21/2010 09:33 AM, Frank Warmerdam wrote:
> 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,
More information about the MapServer-users
mailing list