[GRASS-user] r.li circular window and not integer radius

Markus Neteler neteler at osgeo.org
Sat Aug 23 07:38:18 PDT 2014


On Fri, Aug 22, 2014 at 7:48 PM, Sergio Vignali
<vignalisergio30 at gmail.com> wrote:
> the version is the 6.4.4, but I think if I use an integer radius it's only a
> little approximation...

Could you explain a bit more what you mean with "integer radius"?

> 2014-08-22 12:18 GMT+02:00 Sergio Vignali <vignalisergio30 at gmail.com>:
>
>> Hi,
>> I want to use the r.li module in grass with a circular moving window to
>> calculate the Shannon index,
>> but I need to have a window of 1 km2 so I need of a not integer radius.
>> This seems not possible, any suggestion to do that?

Do you refer to the choices in "Definition of creation of sampling area:"
- Whole map layer: use entire area selected above,
- Regions: select one to many subareas via mouse,
- Sample units: automated selection of sampling area (for details see below)
- Random nonoverlapping,
[...]

(List from http://grass.osgeo.org/grass64/manuals/r.li.setup.html)

Would you like to see also "Circle" there?

Perhaps it could be added to
http://grass.osgeo.org/grass70/manuals/g.gui.rlisetup.html

Markus


More information about the grass-user mailing list