Ticket #1346 (new defect)

Opened 2 years ago

Last modified 8 months ago

Warping - doing work for nothing

Reported by: warmerdam Assigned to: warmerdam
Priority: highest Milestone:
Component: GDAL_Raster Version: unspecified
Severity: blocker Keywords:
Cc: neteler, vali.system@free.fr

Description (Last modified by neteler)

In situations where the gdalwarp output chunk does not overlap input data
from the current file, a great deal of work is still done by the warper.

It is desirable:
 1) To short circuit chunks with no input data. 
 2) To shrink chunks for which there is not much coverage by input data. 

The SKIP_NOSOURCE warp option can be enabled to do (1), but it is not on
by default - presumably because there are some aspects of processing that 
we might need to do whether there is source data or not.  For instance
initializing the destination buffer to a background value.  Also, possibly 
producing the various output masks. 

This needs some thought, and a more holistic solution than hacks like
SKIP_NOSOURCE.

Attachments

gdal-1.3.2.gdalwarp.patch (6.9 kB) - added by vali.system@free.fr on 11/13/06 11:59:39.
First draft patch to reduce warping window

Change History

11/13/06 11:59:39 changed by vali.system@free.fr

  • attachment gdal-1.3.2.gdalwarp.patch added.

First draft patch to reduce warping window

12/29/07 11:45:46 changed by neteler

  • cc changed from neteler@itc.it, vali.system@free.fr to neteler, vali.system@free.fr.
  • description changed.