[Geoserver-devel] [JIRA] (GEOS-7148) WCS 2.0.1 can send coverage in wrong format

Jukka Rahkonen created an issue

GeoServer / BugGEOS-7148

WCS 2.0.1 can send coverage in wrong format

Issue Type:

BugBug

Affects Versions:

2.7.2

Assignee:

Unassigned

Created:

07/Aug/15 3:01 PM

Priority:

MediumMedium

Reporter:

Jukka Rahkonen

DescribeCoverage from the nurc__Img_Sample coverage which has an image “usa.jpeg” as source claim that the nativeFormat is image/jpeg

http://localhost:8080/geoserver/wcs?service=WCS&version=2.0.1&request=describecoverage&coverageid=nurc__Img_Sample

However, GetCoverage that is given without format parameter is returning tiff image

localhost:8080/geoserver/wcs?service=WCS&version=2.0.1&request=getcoverage&coverageid=nurc__Img_Sample

What returns should match the nativeFormat in DescribeCoverage. In this case the fix should IMHO be to change the nativeFormat into image/tiff because the definition of the native format in the standard is “encoding format where, in a GetCoverage request, the range set values can be obtained unaltered”. This could potentially be true with jpeg if you
request the whole coverage, or on boundaries of JPEG blocks, but not in the
general case.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.5-OD-08-001#65007-sha1:1fc9846)

Atlassian logo