[Geoserver-devel] [JIRA] (GEOS-7705) WCS 2.0 GetCoverage GET and POST response with scale factor differs

Torsten created an issue

GeoServer / BugGEOS-7705

WCS 2.0 GetCoverage GET and POST response with scale factor differs

Issue Type:

BugBug

Affects Versions:

2.9.1

Assignee:

Unassigned

Components:

WCS

Created:

27/Aug/16 5:22 PM

Environment:

JDK 8, Linux

Priority:

MediumMedium

Reporter:

Torsten

The output of the following to WCS 2.0 requests differ.

GET works as expected:

wcs?SERVICE=WCS&REQUEST=GetCoverage&VERSION=2.0.1&CoverageId=nurc__mosaic&SCALEFACTOR=0.5

POST does not honor the scale factor (seems to be unscaled):

<?xml version="1.0" encoding="UTF-8"?>
<wcs:GetCoverage service="WCS" version="2.0.1"
  xmlns:wcs="http://www.opengis.net/wcs/2.0"
  xmlns:scal="http://www.opengis.net/spec/WCS_service-extension_scaling/1.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.opengis.net/wcs/2.0 http://schemas.opengis.net/wcs/2.0/wcsAll.xsd">

  <wcs:CoverageId>nurc__mosaic</wcs:CoverageId>
  <wcs:Extension>   
    <scal:ScaleByFactor>
      <scal:scaleFactor>0.5</scal:scaleFactor>
    </scal:ScaleByFactor>
  </wcs:Extension>

</wcs:GetCoverage>

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.285.1#100011-sha1:7e723f8)

Atlassian logo