[Qgis-developer] Are there convenience functions to do bilinear or cubic raster sampling?

Martin Dobias wonder.sk at gmail.com
Mon Jun 23 22:46:42 PDT 2014


On Tue, Jun 24, 2014 at 12:31 PM, Denis Rouzaud <denis.rouzaud at gmail.com> wrote:
> Hi Anita,
>
> There's no such thing in QGIS.
>
> But, you can have such functionality through processing or via plugins (e.g.
> Raster Interpolation).
>
> Anyway, that would be an idea to bring such functionality in core!

There are QgsBilinearRasterResampler and QgsCubicRasterResampler
classes for bilinear/cubic resampling used for raster rendering. As of
now they operate only on the whole raster image, not with individual
points.

Regards
Martin


More information about the Qgis-developer mailing list