i'm using a WCS2 POST query to get RAW data from a Geoserver GIS Server, but i need to get this info with a given pixel size (larger than the original data in the server) and i'm not being able to do it.

My current XML is:

<?xml version="1.0" encoding="UTF-8"?>
<wcs:GetCoverage xmlns:wcs="http://www.opengis.net/wcs/2.0"
  xsi:schemaLocation="http://www.opengis.net/wcs/2.0 ../../wcsAll.xsd"
  service="WCS" version="2.0.1">

        <gml:offsetVector srsName="http://www.opengis.net/def/crs/EPSG/0/4326">0.0 9E-5</gml:offsetVector>
        <gml:offsetVector srsName="http://www.opengis.net/def/crs/EPSG/0/4326">-9E-5 0.0</gml:offsetVector>







In that file 9E-5 is the pixel size I need (in degrees as it is EPSG 4326). But it is not working, and i get a 1E-5 pixel size that is the datasource default.

  • What WCS profiles are reported as supported in the WCS GetCapabilities? – nmtoken Nov 12 '17 at 9:28

As you have discovered slice and trim operations in WCS 2 will only ever return the raw data (or the closest approximation if you do a reprojection).

To change pixel size I think you need to have support for the scaling profile:


ref OGC® WCS Interface Standard - Scaling Extension, version 1.0.0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.