<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Hey, great thanks Ludwig!<div><br class="webkit-block-placeholder"></div><div>I'll be sure to follow that trail, looks really helpful for the type of analysis work I'm doing.</div><div><br class="webkit-block-placeholder"></div><div>I should really brush up on pearl scripting.</div><div><br class="webkit-block-placeholder"></div><div>cheers!</div><div><br class="webkit-block-placeholder"></div><div>Mars</div><div><br><div><div>On 2-Jul-07, at 7:03 AM, Ludwig M Brinckmann wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">There used to be a perl script to generate map-calc code which might do what you are after.<br><br>Have a look at <a href="http://grass.gdf-hannover.de/wiki/GRASS_AddOns">http://grass.gdf-hannover.de/wiki/GRASS_AddOns</a>: <br><br><ul><li> <a href="http://les-ejk.cz/files/programs/local_max.pl" class="external text" title="http://les-ejk.cz/files/programs/local_max.pl" rel="nofollow">Local maxima</a> is a Perl script for <code>r.mapcalc</code> . It detects local maxima of the image.<br><b>Author:</b> Jachym Cepicky </li></ul> <pre>    <b>Usage:</b><br>    local_maxima.pl -i input -o output -s matrix_size|r.mapcalc<br></pre><br>The link is stale, but the author is still alive, so he might have the code.<br><br>HTH<br><br>Ludwig<br><br><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">grassuser mailing list</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="mailto:grassuser@grass.itc.it">grassuser@grass.itc.it</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="http://grass.itc.it/mailman/listinfo/grassuser">http://grass.itc.it/mailman/listinfo/grassuser</a></div> </blockquote></div><br></div></body></html>