Hi, I am still somewhat of a new user of Geoserver (and of W*S in
general); I know some of the basics, but am starting to work on specific
use-case implementations for the project I'm on.
I have a store/layer setup on a local instance, and can get the WMS
image as expected. However, when I did a WCS requeset, I was able to
get a result, but the result was in a "multipart/mixed" response, and I
had to manually go in and extract the TIF image from the second part.
Is this normal for WCS responses? Or is there something perhaps
configured incorrectly with the WCS server.
For example, here's the URL I used to make the request (semi-redacted):
https://HOSTNAME/geoserver/NSIDC/wcs?service=WCS&version=1.1.0&request=GetCoverage&identifier=IDENTIFIER&BoundingBox=-900000,-900000,900000,900000,EPSG:3411&format=image/geotiff
And the first part of the response:
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_75_128209765.1707259235983"
------=_Part_75_128209765.1707259235983
Content-Type: text/xml
Content-Transfer-Encoding: 7bit
Content-ID: <urn:ogc:wcs:1.1:coverages>
<?xml version="1.0" encoding="UTF-8"?><wcs:Coverages
xmlns:wcs="http://www.opengis.net/wcs/1.1.1"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:ows="http://www.opengis.net/ows/1.1"
xmlns:gml="http://www.opengis.net/gml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://HOSTNAME/geoserver/schemas/wcs/1.1.1/wcsCoverages.xsd"><wcs:Coverage><ows:Title>TITLE</ows:Title><ows:Abstract>Generated
from
ImageMosaic</ows:Abstract><ows:Identifier>IDENTIFIER</ows:Identifier><ows:Reference
xlink:href="cid:theCoverage"/></wcs:Coverage></wcs:Coverages>
------=_Part_75_128209765.1707259235983
Content-Type: image/tiff
Content-Transfer-Encoding: base64
Content-ID: <theCoverage>
TU0AKgAAAAgAEQEAAAMAAAABATAAAAEBAAMAAAABATAAAAECAAMAAAABACAAAAEDAAMAAAABAAEA
AAEGAAMAAAABAAEAAAEVAAMAAAABAAEAAAEaAAUAAAABAAAA3AEbAAUAAAABAAAA5AEoAAMAAAAB
AAEAAAFCAAMAAAABATAAAAFDAAMAAAABATAAAAFEAAQAAAABAAABkgFFAAQAAAABAAWkAAFTAAMA
AAABAAMAAIXYAAwAAAAQAAAA7IevAAMAAAAQAAABbKSBAAIAAAAGAAABjAAAAAAAAAAAAAEAAAAB
.... (more)
Thanks in advance. I've tried looking for documentation, but either my
searching skills are just poor, or I'm misunderstanding what I've read.
Scott Lewis
NSIDC
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
If you want to request a feature or an improvement, also see this:
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users