[gdal-dev] GDALFillNodata needs GTiff driver?

Sean Gillies sean at mapbox.com
Sat Jan 17 12:05:42 PST 2015


On Sat, Jan 17, 2015 at 12:26 PM, Even Rouault <even.rouault at spatialys.com>
wrote:

> Le samedi 17 janvier 2015 01:37:30, Sean Gillies a écrit :
> > Hi all,
> >
> > I'm wondering about the possibility of using MEM datasets in
> > GDALFillNodata() instead of TIFFs. I see in the code
> >
> > GDALDriverH hDriver = GDALGetDriverByName( "GTiff" ); if (hDriver ==
> NULL)
> > { CPLError(CE_Failure, CPLE_AppDefined, "GDALFillNodata needs GTiff
> > driver"); return CE_Failure; }
> > Does the algorithm require TIFF features or can I swap in the MEM driver?
>
> Sean,
>
> AFAIK you can use any driver. TIFF was used to generate temporary files,
> but if
> you've enough RAM, MEM should do it.
> You will probably have to edit the "static const char *apszOptions[]" to
> make
> it an empty list to avoid warnings about non handled creation options.
>
> Even
>

Thanks, Even, I'll let you know how it turns out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20150117/911326b6/attachment.html>


More information about the gdal-dev mailing list