Opened 17 years ago

Closed 16 years ago

#1725 closed defect (fixed)

[PATCH] Fixes VRT average resampling when doing 200%

Reported by: Even Rouault Owned by: warmerdam
Priority: normal Milestone: 1.6.0
Component: GDAL_Raster Version: 1.4.2
Severity: normal Keywords: vrt averaged
Cc:

Description

VRTAveragedSource::RasterIO doesn't take really into account resampling ratio > 100%. (200% x 200% resampling and doing average doesn't make much sense, but 200% x 50% may, so a fix is required)

The attached patch fixes this issue.

Attachments (1)

gdal-1.4.2-fix-average-vrt-resampling-200pct.patch (1.4 KB ) - added by Even Rouault 17 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 by Even Rouault, 17 years ago

This ticket is related to http://trac.osgeo.org/gdal/ticket/1724

comment:2 by Even Rouault, 16 years ago

Component: defaultGDAL_Raster
Keywords: vrt averaged added
Milestone: 1.6.0
Resolution: fixed
Status: newclosed

Fixed in trunk in r15388. Test added in r15389

Note: See TracTickets for help on using tickets.