WCS Describe Coverage does not work properly with rotated coverages
-------------------------------------------------------------------
Key: GEOS-1581
URL: http://jira.codehaus.org/browse/GEOS-1581
Project: GeoServer
Issue Type: Bug
Components: WCS
Affects Versions: 1.6.0-RC1
Reporter: Andrea Aime
Assignee: Alessio Fabiani
Fix For: 1.6.0-RC2, 1.7.0-beta1
implementing and testing the WCS 1.1 DescribeCoverage I noticed
a problem with metadata handling in relation to the grid to world
transformation.
Basically the current code assumes the grid is not rotated or
skewed, this is visible in a few places:
* the info.xml format only contains the raster and geographi
envelopes
* the xml reader creates a fake gridToWorld transformation
by comparing the two above envelopes
* the DescribeResponse code will always generate OffsetVector
elements that look like:
<gml:offsetVector>scaley 0.0</gml:offsetVector>
<gml:offsetVector>0.0 scaley</gml:offsetVector>
because the 0.0 elements are hard coded as strings.
All of this breaks down badly when a coverage whose world
to grid transformation is not a pure scale (that is, it has
rotation or skew).
To solve this the actual transformation parameters should
be stored in info.xml. Also, to avoid breaking backwards
compatibility, the old method of computing the gridToWorld
transformation should be used when info.xml does not contain
the transform information.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira