[Geoserver-devel] [jira] (GEOS-6635) WCS GridOffsets GridOrigin axis ordering does not match GridBaseCRS

Tim Astle created an issue

GeoServer / BugGEOS-6635

WCS GridOffsets GridOrigin axis ordering does not match GridBaseCRS

Issue Type:

BugBug

Affects Versions:

2.5.2

Assignee:

Andrea Aime

Components:

WCS

Created:

28/Aug/14 9:12 AM

Priority:

MajorMajor

Reporter:

Tim Astle

This request:

/geoserver/ows?service=wcs&version=1.1.1&request=DescribeCoverage&identifiers=Img_Sample

Returns a CoverageDescription with the following Grid definition:

<CoverageDescriptionSnip>
...
<wcs:GridCRS>
  <wcs:GridBaseCRS>urn:ogc:def:crs:EPSG::4326</wcs:GridBaseCRS
  <wcs:GridType>urn:ogc:def:method:WCS:1.1:2dGridIn2dCrs</wcs:GridType>
  <wcs:GridOrigin>-130.81666154628687 54.08616613712375</wcs:GridOrigin>
  <wcs:GridOffsets>0.07003690742624616 0.0 0.0 -0.05586772575250837</wcs:GridOffsets>
  <wcs:GridCS>urn:ogc:def:cs:OGC:0.0:Grid2dSquareCS</wcs:GridCS>
</wcs:GridCRS>
...
</CoverageDescriptionSnip>

The GridOrigin and GridOffsets are in long/lat ordering, not lat/long.

I double-checked the WCS 1.1 spec, and on page 89, it states that the GridOrigin and GridOffsets are in the GridBaseCRS. Based on what I’m seeing, it looks like the GridOrigin and GridOffsets values are flipped.

The inverted values seem to be tripping up GDAL as a WCS client.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

Atlassian logo