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

Sergio Vignali vignalisergio30 at gmail.com
Sat Aug 23 08:36:00 PDT 2014


Define sampling areas
-Moving window
Use keyboard to define moving window dimension
-Circle
What radius size (in metres)?

Here you can use only an integer radius, if you try with a real number the
tool shows an alert window: "Type integer values"


2014-08-23 16:38 GMT+02:00 Markus Neteler <neteler at osgeo.org>:

> 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
>



-- 
Sergio Vignali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20140823/fe1e538d/attachment.html>


More information about the grass-user mailing list