DESCRIPTION

r.li.shape calculates the "shape index" as:
f(sample_area)= Area

NOTES

Do not use absolute path names for the output map/file. If the "moving window" method was selected in r.li.setup, then the output will be a raster map, otherwise an ASCII file will be generated in the $HOME/.r.li/output/ folder.

If the input raster map contains only NULL values then r.li.shape returns -1.
If you want to change these -1 values to NULL, run subsequently on the resulting map:
r.null setnull=-1 map=my_map
after index calculation.