[mapserver-users] Question About WCS

Dillabough, Craig Craig.Dillabough at AGR.GC.CA
Thu Jul 2 14:56:05 EDT 2009


Hi,
I am brand new to MapServer, and I am trying to figure out WCS.

I've been following the instructions on
http://mapserver.org/ogc/wcs_server.html
and was making some progress as executing a GetCapabilities request
returns what I was expecting. However when I try to execute a
DescribeCoverage request I only see the following:

<?xml version='1.0' encoding="ISO-8859-1" ?>
<CoverageDescription
   version="1.0.0" 
   updateSequence="0" 
    ... Etc ....
   xsi:schemaLocation="http://www.opengis.net/wcs
http://schemas.opengis.net/wcs/1.0.0/describeCoverage.xsd">
</CoverageDescription>

Based on the tutorial I am also expecting to see a CoverageOffering
element as well with something like:

<CoverageOffering>
  <name>week19</name>
  <label>Week19</label>
 ... Etc ....
</CoverageOffering>

However, only the the CoverageDescription element shows up.

The relevant portions of my .map file are as follows:

MAP
  NAME WeeklyMaxNDVI
  STATUS ON
  SIZE 400 300
  EXTENT -10007554.677 4447802.079 -3335851.559 6671703.118
  UNITS METERS

  #
  # Start of web interface definition
  #
  WEB
    IMAGEPATH "/opt/mapserver/ms_data/tmp/"
    IMAGEURL "../tmp/"
    METADATA
      "wcs_label"              "WCS Demo Server"      ### required
      "wcs_description"        "Some text description of the service"
      "wcs_onlineresource"     "http://127.0.0.1/cgi-bin/mapserv?" 
       ....
      "wcs_service_onlineresource"  "http://127.0.0.1/cgi-bin/mapserv?"
    END #Metadata
  END #Web

  LAYER
    NAME week19
    METADATA
      "wcs_label"           "Week19"    
      "wcs_rangeset_name"   "Range"        
      "wcs_rangeset_label"  "My label"    
    END  #Metadata
    TYPE RASTER ### required
    STATUS ON
    DATA        '../imgdata/wcs/AvMaxNDVI.2000-09.wk19.tif'
    PROJECTION
      AUTO  
    END
    DUMP TRUE ### required
  END #Layer
END # Map File

If anyone can see anything obvious as to why I am not getting the
expected result I would greatly appreciate some advice.

Cheers,
Craig

 



More information about the mapserver-users mailing list