[Qgis-developer] valuetool plugin but with average value by radius ?

Denis Rouzaud denis.rouzaud at gmail.com
Wed Apr 24 05:43:50 PDT 2013


Hi Otto,

I have done something similar for landit plugin (DTM values).

There is three methods: nearest, linear and bicubic interpolations.

You can found the the code here
https://github.com/3nids/landit/blob/master/elevationdialog.py#L120


Cheers,

Denis

On 04/24/2013 02:40 PM, Otto Dassau wrote:
> Hi,
>
> I am working with the valuetool plugin and would now like to get the
> average raster value around the mouse position for a given radius. Is there
> already a solution in another plugin for that or does anybody has an idea how
> to solve this with pyqgis?
>
> Thanks a lot
> Otto
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130424/e1a30873/attachment.html>


More information about the Qgis-developer mailing list