[mapserver-users] Question About WCS

Dillabough, Craig Craig.Dillabough at AGR.GC.CA
Fri Jul 3 12:52:58 EDT 2009


Frank,

With:
http://chernozem.gis.agr.gc.ca/cgi-bin/mapserv?map=%2Fopt%2Fmapserver%2F
ms_data%2Fhtdocs%2Fwcs.map&SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCapabili
ties

I get:

<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
<WCS_Capabilities
   version="1.0.0" 
   updateSequence="0" 
   xmlns="http://www.opengis.net/wcs" 
   xmlns:xlink="http://www.w3.org/1999/xlink" 
   xmlns:gml="http://www.opengis.net/gml" 
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://www.opengis.net/wcs
http://schemas.opengis.net/wcs/1.0.0/wcsCapabilities.xsd">
<Service>
  <metadataLink metadataType="TC211" xlink:type="simple"
xlink:href="http://someurl.com"/>  <description>Some text description of
the service</description>
  <name>MapServer WCS</name>
  <label>WCS Demo Server</label>
  <keywords>
    <keyword>wcs</keyword>
    <keyword>test</keyword>
  </keywords>
<responsibleParty>
...clipped ....
</responsibleParty>
  <fees>none</fees>
  <accessConstraints>
    none
  </accessConstraints>
</Service>
<Capability>
  <Request>
    <GetCapabilities>
      <DCPType>
        <HTTP>
          <Get><OnlineResource xlink:type="simple"
xlink:href="http://127.0.0.1/cgi-bin/mapserv?" /></Get>
        </HTTP>
      </DCPType>
      <DCPType>
        <HTTP>
          <Post><OnlineResource xlink:type="simple"
xlink:href="http://127.0.0.1/cgi-bin/mapserv?" /></Post>
        </HTTP>
      </DCPType>
    </GetCapabilities>
    <DescribeCoverage>
      <DCPType>
        <HTTP>
          <Get><OnlineResource xlink:type="simple"
xlink:href="http://127.0.0.1/cgi-bin/mapserv?" /></Get>
        </HTTP>
      </DCPType>
      <DCPType>
        <HTTP>
          <Post><OnlineResource xlink:type="simple"
xlink:href="http://127.0.0.1/cgi-bin/mapserv?" /></Post>
        </HTTP>
      </DCPType>
    </DescribeCoverage>
    <GetCoverage>
      <DCPType>
        <HTTP>
          <Get><OnlineResource xlink:type="simple"
xlink:href="http://127.0.0.1/cgi-bin/mapserv?" /></Get>
        </HTTP>
      </DCPType>
      <DCPType>
        <HTTP>
          <Post><OnlineResource xlink:type="simple"
xlink:href="http://127.0.0.1/cgi-bin/mapserv?" /></Post>
        </HTTP>
      </DCPType>
    </GetCoverage>
  </Request>
  <Exception>
    <Format>application/vnd.ogc.se_xml</Format>
  </Exception>
</Capability>
<ContentMetadata>
</ContentMetadata>
</WCS_Capabilities>

Craig

-----Original Message-----
From: Frank Warmerdam [mailto:warmerdam at pobox.com] 
Sent: Friday, July 03, 2009 12:43 PM
To: Dillabough, Craig
Subject: Re: [mapserver-users] Question About WCS


Dillabough, Craig wrote:
> The URL is:
> 
>
http://chernozem.gis.agr.gc.ca/cgi-bin/mapserv?map=%2Fopt%2Fmapserver%2F
>
ms_data%2Fhtdocs%2Fwcs.map&SERVICE=WCS&VERSION=1.0.0&REQUEST=DescribeCov
> erage&COVERAGE=week19
> 
> I am pretty sure this is unavailable to the outside world but you can
> try it! 

Craig,

I have reviewed the request url, the .map and the code and I can't see
any
obvious reason it would not be working.  It should be returning a
coverage
description for the requested layer.  You might want to try omitting the
&COVERAGE= request in which case it should try to describe all
coverages.

It might also be helpful to see the capabilities you are getting.

I can confirm the service is not externally visible.

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