Opened 16 years ago

Closed 6 years ago

#2080 closed defect (fixed)

WCS 1.1 Driver: Wrong offset for resampled regions

Reported by: warmerdam Owned by: warmerdam
Priority: normal Milestone:
Component: GDAL_Raster Version: 1.5.0 betas/RCs
Severity: normal Keywords: WCS
Cc:

Description

When requesting WCS 1.1 GetCoverage responses with the WCS driver, and giving it a request not at the resolution of the overview or full resolution band, it computes the x/y offset of the bounding box wrong (always at top left corner).

eg.

gdal_translate -outsize 100 100 -srcwin 600 600 600 600 localtest.wcs out.tif

Will essentially give the same result as -srcwin 0 0 600 600.

Change History (3)

comment:1 by warmerdam, 16 years ago

Fixed in r13329. Really we need a test case for this in the autotest suite since this logic is fragile.

comment:2 by Even Rouault, 9 years ago

Milestone: 1.8.1

Removing obsolete milestone

comment:3 by Even Rouault, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.