<p dir="ltr">Hi Denis,<br>
That looks extremely useful. Thanks a lot! I will try it as soon as possible. <br>
Best wishes<br>
Anita</p>
<div class="gmail_quote">On Jun 25, 2014 7:23 AM, "Denis Rouzaud" <<a href="mailto:denis.rouzaud@gmail.com">denis.rouzaud@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Anita,<br>
<br>
I don't know if it can be useful, but you'll find the python code here to do interpolation (nearest, linear, bicubic) on single points:<br>
<a href="https://github.com/3nids/rasterinterpolation/blob/master/core/rasterinterpolator.py" target="_blank">https://github.com/3nids/<u></u>rasterinterpolation/blob/<u></u>master/core/<u></u>rasterinterpolator.py</a><br>

<br>
Cheers,<br>
<br>
Denis<br>
<br>
On <a href="tel:24.06.2014%2019" value="+12406201419" target="_blank">24.06.2014 19</a>:32, Anita Graser wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks everyone for your answers!<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Tue, Jun 24, 2014 at 12:31 PM, Denis Rouzaud <<a href="mailto:denis.rouzaud@gmail.com" target="_blank">denis.rouzaud@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
But, you can have such functionality through processing or via plugins (e.g.<br>
Raster Interpolation).<br>
</blockquote></blockquote>
True, but I would like to expand my profile from line script with<br>
these interpolation methods so using other tools is not really an<br>
option.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Anyway, that would be an idea to bring such functionality in core!<br>
</blockquote></blockquote>
On Tue, Jun 24, 2014 at 7:46 AM, Martin Dobias <<a href="mailto:wonder.sk@gmail.com" target="_blank">wonder.sk@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
There are QgsBilinearRasterResampler and QgsCubicRasterResampler<br>
classes for bilinear/cubic resampling used for raster rendering. As of<br>
now they operate only on the whole raster image, not with individual<br>
points.<br>
</blockquote>
Exactly, something like those raster classes but working on individual<br>
points would be great to have in core and in the python API. Do you<br>
think this is a lot of work or is the raster code reusable?<br>
<br>
Should I open feature requests for this?<br>
<br>
Best wishes,<br>
Anita<br>
</blockquote>
<br>
</blockquote></div>