Hi Matt,

in a bizare coincidence of the world i just asked this yesterday.  The tool you 
want is gdal_fillnodata, you need gdal with python bindings.

as long as you don't try to use the -si option it works great.. for one pixel 
holes it'l be perfect.

-i



De : [email protected] [mailto:[email protected]] 
De la part de Matt McClelland
Envoyé : Wednesday, 28 September 2011 12:32 PM
À : [email protected]
Objet : [gdal-dev] removing nodata voids from Geotiff

Hi

I am wanting to fill (interpolate) nodata values in a Geotiff.  (derived from 
SRTM data).  They are small holes, usually just one pixel.

I tried variations on this
gdal_grid -a invdist -of GTiff S34E151.tif S34E151_grid.tif

But it did not work, no error message - just returned the help page.

I know this is not the main purpose of gdal_grid, but reading through the 
documentation I was hoping it would do the job.
Any ideas on filling these gaps would be greatly appreciated. (pref using linux)

Thanks

Matt  :)
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to