[Geoserver-devel] [jira] Created: (GEOS-1199) wrong data returned for GetCoverage of nurc:Pk50095

wrong data returned for GetCoverage of nurc:Pk50095
---------------------------------------------------

                 Key: GEOS-1199
                 URL: http://jira.codehaus.org/browse/GEOS-1199
             Project: GeoServer
          Issue Type: Bug
          Components: WCS
    Affects Versions: 1.5.1
         Environment: Debian
Sun JRE 1.5.0_10
i686
            Reporter: Dieter Vrancken
            Assignee: Andrea Aime
         Attachments: Pk50095-full.tiff, Pk50095-part.tiff

From an unchanged installation of GeoServer 1.5.1, request the following datasets (only the BBOX changes, nothing else):

(full) http://localhost:8080/geoserver/wcs?SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCoverage&COVERAGE=nurc:Pk50095&FORMAT=GeoTIFF&CRS=EPSG:32633&BBOX=347650,5176214,370725,5196961&WIDTH=545&HEIGHT=490
(part) http://localhost:8080/geoserver/wcs?SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCoverage&COVERAGE=nurc:Pk50095&FORMAT=GeoTIFF&CRS=EPSG:32633&BBOX=350000,5180000,370000,5190000&WIDTH=545&HEIGHT=490

Note that the second request specifies bounds that lie completely within those of the first request.

There are 2 problems here:
- Both requests result in a GeoTIFF containing the entire dataset. The only difference is that the (part) result is translated so that its upper left corner matches the smaller bounding box' corner.
- The bounds of the resulting GeoTIFFs don't match the bounds that the requests specified.

Attached are two images:
- Pk50095-full.tiff is the result of the (full) request and
- Pk50095-part.tiff is the result of the (part) request.

--
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