[gdal-dev] removing nodata voids from Geotiff

Ivan Price Ivan.Price at noveltis.fr
Wed Sep 28 07:15:22 EDT 2011


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 : gdal-dev-bounces at lists.osgeo.org [mailto:gdal-dev-bounces at lists.osgeo.org] De la part de Matt McClelland
Envoyé : Wednesday, 28 September 2011 12:32 PM
À : gdal-dev at lists.osgeo.org
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  :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110928/6c78a230/attachment.html


More information about the gdal-dev mailing list