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
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to