[Geoserver-users] Geoserver-users Digest, Vol 63, Issue 29

Jon,

in case you are working with Python to further process your WCS 1.1.1 MIME multipart/mixed response, there is OWSLib (http://trac.gispython.org/lab/wiki/OwsLib) including a WCS decoder. I am not sure how active this project still is, but I found it inspiring to write my own little WCS decoder.

hope this helps,
Roman


Message: 3
Date: Tue, 9 Aug 2011 18:52:12 +0200
From: Andrea Aime <andrea.aime@anonymised.com>
Subject: Re: [Geoserver-users] How do I get WCS 1.1.1 to return a
coverage?
To: Jon Britton <jonbritton3@anonymised.com.562…>
Cc: geoserver-users <geoserver-users@lists.sourceforge.net>
Message-ID:
<CA+nxMTtjYKwayMKtFM3fDbqc5nYV2Z1++gTzq0oV4wH_Uz8pBA@anonymised.com>
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Aug 9, 2011 at 6:24 PM, Jon Britton <jonbritton3@anonymised.com> wrote:

Hi,
I’m trying the following GetCoverage request:
http://li199-25.members.linode.com:8080/geoserver/wcs?SERVICE=WCS&VERSION=1.1.1&REQUEST=GetCoverage&IDENTIFIER=sf:sfdem&BOUNDINGBOX=589980.0,913700.0,609000.0,4928010.0,urn:ogc:def:crs:EPSG::26713&FORMAT=geotiff
However, it isn’t returning a coverage, it’s returning:

A mime type multipart, ugly eh? However that’s what the spec mandates, sorry :slight_smile:
The WCS 1.1 response can be:

  • a mime multiplart document, with a xml document and the actual
    coverage attached (you need a mail program to extract it)
  • with &store=true, just a xml document, that will contain the link to
    the actual raster, which you can download

There is no way to actually get the coverage directly. Sad but true.
Maybe one day someone will implement an gs custom extension to the
protocol that allows direct download.

Cheers
Andrea

End of Geoserver-users Digest, Vol 63, Issue 29