<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000099" bgcolor="#FFFFFF">
Hi,<br>
<br>
I was trying to run r.forestfrag.sh on GRASS 7.0. It is incompatible
however, so I decided to update it to work with GRASS 7.0. <br>
<br>
While working on it, I have added some further options and changes:<br>
<ul>
<li>The user can now select the size of the moving window (default
is still 3x3) -- Stefan, something you were looking for I think.
Perhaps you can test?</li>
<li>Before the areas statistics (r.report) is run, the output map
is trimmed to remove the edge effect of the calculations with
the moving window</li>
<li>The user can decide to keep the output map trimmed or not</li>
<li>The user has the option to keep some of the intermediate
layers (off by default).</li>
</ul>
I have added the new version of r.forestfrag.sh to
<a class="moz-txt-link-freetext" href="https://svn.osgeo.org/grass/grass-addons/grass7/raster/r.forestfrag/">https://svn.osgeo.org/grass/grass-addons/grass7/raster/r.forestfrag/</a>
to make it easer for other to check / correct the script. It doesn't
run on GRASS 6.4 unfortunately, although it should be fairly easy to
make it so.<br>
<br>
Cheers,<br>
<br>
Paulo<br>
<br>
p.s. while working on this, I ran into the problem that g.parser
seems to parse the GUI window differently when running from the
command line or from the command console in the GRASS Layer Manager
(as reported here: <a class="moz-txt-link-freetext" href="http://trac.osgeo.org/grass/ticket/1858">http://trac.osgeo.org/grass/ticket/1858</a>) <br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>