Try

https://localhost:8080/geoserver/wcs?SERVICE=WCS&Version=2.0.1&REQUEST=GetCoverage&CoverageID=test&format=image/geotiff&subset=lat,http://www.opengis.net/def/crs/EPSG/0/4326(34.53627,38.88686)&subset=long,http://www.opengis.net/def/crs/EPSG/0/4326(25.43366,31.32234)

Where 'lat', and 'long' are the names of the axes reported in your 
GetCapabilities response.

James



> -----Original Message-----
> From: Richard Cho [mailto:[email protected]]
> Sent: Wednesday, August 26, 2015 12:21 AM
> To: [email protected]
> Subject: [Geoserver-users] Cannot specify subset in WCS 2.0.1
>
> Hello,
>
>
>
> I'm trying to make a WCS GetCoverage call on a subset of a coverage like
> below:
>
>
>
> https://localhost:8080/geoserver/wcs?SERVICE=WCS&Version=2.0.1&REQUE
> ST=GetCoverage&CoverageID=test&format=image/geotiff&SUBSETTINGCRS
> =http://www.opengis.net/def/crs/EPSG/0/4326&outputcrs=http://www.op
> engis.net/def/crs/EPSG/0/4326&SUBSET=lat(34.53627,38.88686)&SUBSET=lo
> ng(25.43366,31.32234)
>
>
>
> But it keeps complaining with the error
>
>
>
> <ows:ExceptionReport xmlns:xs="http://www.w3.org/2001/XMLSchema";
> xmlns:ows=http://www.opengis.net/ows/2.0
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="2.0.0"
> xsi:schemaLocation="http://www.opengis.net/ows/2.0
> http://schemas.opengis.net/ows/2.0/owsExceptionReport.xsd";>
>
>     <ows:Exception exceptionCode="InvalidAxisLabel" locator="lat">
>
>         <ows:ExceptionText>Invalid axis label provided: lat
> []</ows:ExceptionText>
>
>     </ows:Exception>
>
> </ows:ExceptionReport>
>
>
>
> I have tried multiple axis labels, including latitude, x, y, long, etc. 
> listed in the
> http://mapserver.org/ogc/wcs_server.html#wcs-2-0-kvp-request-
> parameters <http://mapserver.org/ogc/wcs_server.html#wcs-2-0-kvp-
> request-parameters> , but GeoServer seems to not like it all.
>
>
>
> What's the current correct format of specifying subset? I'm using GeoServer
> 2.8.
>
>
>
> Thanks.
>
>
>
>

________________________________
 This message (and any attachments) is for the recipient only. NERC is subject 
to the Freedom of Information Act 2000 and the contents of this email and any 
reply you make may be disclosed by NERC unless it is exempt from release under 
the Act. Any material supplied to NERC may be stored in an electronic records 
management system.
________________________________

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to