[gdal-dev] Filling in holes when warping

Frank Warmerdam warmerdam at pobox.com
Tue Jul 22 12:18:18 EDT 2008


Andrew Brooks wrote:
> Hi
> 
> I'm getting the following holes:
> 
> http://www.sat.dundee.ac.uk/~arb/gdalwarp.jpg
> 
> when I use gdalwarp on an image with a geolocation array.
> 
> Should I file a bug?

Andrew,

You can file a bug.  I imagine this is a limitation of the "hole filling"
code:

http://trac.osgeo.org/gdal/browser/trunk/gdal/alg/gdalgeoloc.cpp#L267

You might want to try changing this code to go more than 3 iterations and
see if it helps.

It might be best to make this go till no more filling needs to be done or
too use a more general purpose hole filling approach.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org



More information about the gdal-dev mailing list