Dear all,<br><br>I have a raster map where each patch (i.e. forest fragment) have different ID.<br>I need to estimate the perimeter per patch, but R.le.patch can&#39;t do the job.<br>------------<br>GRASS 6.4&gt; r.le.patch map=fragments sam=w per=p1 siz=s1 out=STATS.txt<br>
<br>PARAMETER CHOICES:<br>        MAP:      fragments<br>        SAMPLE:   whole map     TRACING:  8 neighbor<br>        SIZE MEASURES:<br>                  mean patch size<br>        PERIMETER MEASURES:<br>                  sum of perims<br>
<br>R.LE.PATCH IS WORKING....;<br><br>ERROR: G_calloc: unable to allocate 24806 * 8 bytes at alloc_cell.c:83<br>------------<br><br>Any hint?<br><br>bests<br><br>milton<br>