Returned coverage dimensions do not always match those requested
----------------------------------------------------------------
Key: GEOS-1215
URL: http://jira.codehaus.org/browse/GEOS-1215
Project: GeoServer
Issue Type: Bug
Components: WCS
Affects Versions: 1.5.1
Reporter: Edward Nash
Assignee: Andrea Aime
Fix For: 1.5.2
Attachments: 2003.zip, CoverageTest.java, kamp_umriss.zip
I'm running into problems with GeoServer 1.5.1 WCS returning coverages (GeoTIFFs) with different dimensions (1 pixel larger in both width and height) to what I request. I assume that the problem is creeping in somewhere in the crop/resample/transform chain.
When I send the request
The result I get has the following GridGeometry (261 x 195 pixels and not 260 x 194 as requested):
GridGeometry2D[GeneralGridRange[0..261, 0..195], PARAM_MT["Affine",
PARAMETER["num_row", 3],
PARAMETER["num_col", 3],
PARAMETER["elt_0_0", 2.4961538461547246],
PARAMETER["elt_0_2", 4428337.576677823],
PARAMETER["elt_1_1", -2.49226804123475],
PARAMETER["elt_1_2", 5801313.67936748]]]
Attached is a quickly-hacked-together test case that demonstrates the problem, and shows that the problem seems to be dependent on the source data since the other coverage being tested for comparison (kamp_umriss) gets the correct grid geometry. Also attached is the source data (coverages kamp_umriss and 2003, ARCGRID) which are used in the test case.
--
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