WCS no image as yet!

Norman Barker nbarker at RSINC.COM
Thu Apr 21 08:03:58 EDT 2005


-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU]On
Behalf Of Gail Millin
Sent: Thursday, April 21, 2005 12:29 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] WCS no image as yet!


Dear MapServer Users,

I am trying to get the WCS working and have managed so far to produce a
GETCAPABILITIES Request for WCS (see url)

http://camber.mc.man.ac.uk/cgi-bin/mapserv.exe?
map=c:\Inetpub\wwwroot\MIMAS\wcs_mimas_mosaic.map&SERVICE=WCS&REQUEST=GetCap
abilities

I am now trying to figure out how to get the GetCoverage request to work,

http://camber.mc.man.ac.uk/cgi-bin/mapserv.exe?
REQUEST=GetCoverage&COVERAGE=Landsat7Mosaic15m&SERVICE=WCS&map=c:\Inetpub\ww
wroot\MIMAS\wms_mimas_mosaic.map&&BBOX=0,0,700005,1050000&FORMAT=ECW&CRS=EPS
G:27700&RESX=10&RESY=10

So far I get a message saying CGI ERROR 'The specified CGI application
misbehaved by not returning a complete set of HTTP headers'

 - Does anyone know what is wrong? What format does the raster data need to
be in for WCS to work? At the moment the raster imagery is in ER Mapper ECW
format, this is the same format I used for WMS which works fine.

 - Also do I need to change/add something to the MapServer configuration in
some way to resolve the CGI error

WCS is new to me so any help would be greatly appreciated.

Kind Regards

Gail

Hi Gail,

I tried the following request on your server
http://camber.mc.man.ac.uk/cgi-bin/mapserv.exe?map=c:\Inetpub\wwwroot\MIMAS\wcs_mimas_mosaic.map&SERVICE=WCS&REQUEST=GetCoverage&Coverage=Landsat7Mosaic15m&FORMAT=ECW&BBOX=-8,50,-6,52&CRS=EPSG:4326&WIDTH=2000&HEIGHT=2000

and I got an ECW image back which I checked with gdalinfo and it look ok, but looking with openev the image 
was blank!!  With your request I get the same error as you.  I guess it is an error with your setting up of the
bounding box in the map request.   There is an open bug against the WCS (correct me if I am wrong) that when you
do a reprojection of an image causes the image to be black (quite amusing when translating DEMS!!).  If you can 
sort out the following in the describeCoverage (created from the map file)

<gml:Envelope srsName="EPSG:27700">
<gml:pos>0 0</gml:pos>
<gml:pos>700005 1.05e+006</gml:pos>
</gml:Envelope>

I think you will be fine.

Interesting that you are doing a Landsat WCS here in the UK (there are a couple now), any chance
you can drop me a line telling me about it?

thanks,

Norman Barker



More information about the mapserver-users mailing list