[gdal-dev] Gap-filling rasters

Chaitanya kumar CH chaitanya.ch at gmail.com
Tue Apr 5 10:26:08 EDT 2011


Jose,

I didn't realize you were going to interpolate between bands as well. Is
this temperol data? This operation is actually performed by GDALFillNodata()
method. So, modifying the script is not going to work.

You can look at the source of GDALFillNodata() method and decide on what to
do.

On Tue, Apr 5, 2011 at 7:30 PM, Jose Gomez-Dans <jgomezdans at gmail.com>wrote:

> Hi,
>
> Maybe I could look into updating it so it can deal with multi-band datasets
> (ie, interpolate in 3D rather than in 2D)?
>
>
> On 5 April 2011 14:04, Chaitanya kumar CH <chaitanya.ch at gmail.com> wrote:
>
>> Jose,
>>
>> Perhaps the python script, gdal_fillnodata.py, can help you.
>> http://www.gdal.org/gdal_fillnodata.html
>> You will need GDAL's python bindings to run this.
>>
>> On Tue, Apr 5, 2011 at 5:21 PM, Jose Gomez-Dans <jgomezdans at gmail.com>wrote:
>>
>>> Hi,
>>>
>>> I was wondering whether GDAL has the ability to interpolate multiband
>>> rasters. I have a NxMxL cube (ie, a raster with L bands :D), and a mask of
>>> the same size. The locations of my data cube where the associated mask is
>>> zero (say) need to be interpolated from the surrounding pixels in the cube,
>>> using something simple (not too bothered about the interpolation), such as
>>> nearest neighbour or bilinear interpolation.
>>>
>>> Anyone got any suggestions?
>>> J
>>>
>>> _______________________________________________
>>> gdal-dev mailing list
>>> gdal-dev at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>>>
>>
>>
>>
>> --
>> Best regards,
>> Chaitanya kumar CH.
>> /tʃaɪθənjə/ /kʊmɑr/
>> +91-9494447584
>> 17.2416N 80.1426E
>>
>
>


-- 
Best regards,
Chaitanya kumar CH.
/tʃaɪθənjə/ /kʊmɑr/
+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110405/6bc9f5ca/attachment.html


More information about the gdal-dev mailing list