[GRASS-user] calculating perimeter per patch

Milton Cezar Ribeiro miltinho.astronauta at gmail.com
Fri Feb 11 23:11:48 EST 2011


Dear all,

I have a raster map where each patch (i.e. forest fragment) have different
ID.
I need to estimate the perimeter per patch, but R.le.patch can't do the job.
------------
GRASS 6.4> r.le.patch map=fragments sam=w per=p1 siz=s1 out=STATS.txt

PARAMETER CHOICES:
        MAP:      fragments
        SAMPLE:   whole map     TRACING:  8 neighbor
        SIZE MEASURES:
                  mean patch size
        PERIMETER MEASURES:
                  sum of perims

R.LE.PATCH IS WORKING....;

ERROR: G_calloc: unable to allocate 24806 * 8 bytes at alloc_cell.c:83
------------

Any hint?

bests

milton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20110212/ec7c706c/attachment.html


More information about the grass-user mailing list