<div dir="ltr"><br><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 12, 2014 at 9:16 AM, Isabel Sargent <span dir="ltr"><<a href="mailto:Isabel.Sargent@ordnancesurvey.co.uk" target="_blank">Isabel.Sargent@ordnancesurvey.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="white" link="blue" vlink="purple" lang="EN-GB">
<div>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:windowtext">Thank you for such a prompt response. I had read through the manual pages online (though I couldn’t get the man command to work, perhaps because I’m using
windows?). Those last 4 required fields have defaults, so in my question I was assuming that I didn’t need to explicitly set them. Even if I do set them I get the error requiring an output. I don’t think this in itself is a r.geomorphon issue, there is probably
a standard way of defining an output (neither | or > work). I’m sure there must be examples on how to do this somewhere, I just can’t find them.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:windowtext"><u></u> </span></p></div></div></blockquote><div>r.geomorphon should work on MS Windows.<br><br></div>
<div>In manual page (<a href="http://grass.osgeo.org/grass70/manuals/addons/r.geomorphon.html">http://grass.osgeo.org/grass70/manuals/addons/r.geomorphon.html</a>) I can see 5 required parameters (options):<br><br><dl><dt>
<b>dem</b>=<em>name</em> <b>[required]</b></dt><dd>Input dem</dd><dt><b>search</b>=<em>integer</em> <b>[required]</b></dt><dd>Outer search radius</dd><dd>Default: <em>3</em></dd><dt><b>skip</b>=<em>integer</em> <b>[required]</b></dt>
<dd>Inner search radius</dd><dd>Default: <em>0</em></dd><dt><b>flat</b>=<em>float</em> <b>[required]</b></dt><dd>Flatenss treshold (degrees)</dd><dd>Default: <em>1</em></dd><dt><b>dist</b>=<em>float</em> <b>[required]</b></dt>
<dd>Flatenss distance, zero for none</dd><dd>Default: <em>0</em></dd></dl>Four have default but <b>dem</b> does not. This is the elevation raster map, your input. You should also specify output, this is option <b>forms</b>, this will be the name of newly created raster map containing identified forms. This is what the message <i>'ERROR: At least one output is required'</i> was telling you, it wanted you to specify one of the outputs. (The interface does not follow GRASS naming conventions, that's one of the reasons why it is an addon. This might be improved in the future.)<br>
<br>Note that to get really nice output from
r.geomorphon you have to play with the parameters such as search, skip,
flat and dist a little bit.<br><br></div><div>| and > are linux/unix command line features which allows you to direct standard input and output of the programs. This is applicable to some of the GRASS modules but most of them outputs "grass maps" (raster or vector) and there are specified by setting certain options to a name of the raster map. This is what manual page will tell you.<br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="white" link="blue" vlink="purple" lang="EN-GB"><div><p class="MsoNormal">
<span style="font-size:11pt;font-family:"Calibri","sans-serif";color:windowtext"><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:windowtext">Am I right in expecting to be able to find installed addons use the GUI? If so, where will I find them? If not, how do I define an output at the command
prompt?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:windowtext"><u></u></span></p></div></div></blockquote><div><br></div><div>Yes and no. They are not in menu (to keep it short) but installed addons are in the module tree in Search modules tab (3rd tab by default in layer manager). You have to restart GRASS (or just GUI if you use command line and know g.gui command) to get the updated list.<br>
<br></div><div>You can always type r.geomorphon to Command console in GUI and you will get the dialog to fill parameters (including inputs and outputs) for r.geomorphon. This works for every command, form addons or standard one.<br>
</div><br><div>Let us know if you have any further problems.<br><br></div><div>Vaclav<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="white" link="blue" vlink="purple" lang="EN-GB">
<div><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:windowtext"> <u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:windowtext">Izzy</span><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:black"><u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:windowtext"><u></u> <u></u></span></p>
<div>
<div style="border-width:1pt medium medium;border-style:solid none none;border-color:rgb(181,196,223) -moz-use-text-color -moz-use-text-color;padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10pt;font-family:"Tahoma","sans-serif";color:windowtext" lang="EN-US">From:</span></b><span style="font-size:10pt;font-family:"Tahoma","sans-serif";color:windowtext" lang="EN-US"> Micha Silver [mailto:<a href="mailto:micha@arava.co.il" target="_blank">micha@arava.co.il</a>]
<br>
<b>Sent:</b> 12 June 2014 13:56<br>
<b>To:</b> Isabel Sargent; <a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<b>Subject:</b> Re: [GRASS-user] Newbie Q - how do I use addons?<u></u><u></u></span></p>
</div>
</div><div class="">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On 12/06/2014 15:20, Isabel Sargent wrote:<u></u><u></u></p>
</div>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<pre>Sorry, the answer to my question must be somewhere but I have been searching for 90 minutes and have found nothing, please humour me.<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>I GRASS 7.0.0BETA2 installed on Windows 7. All looks fine. I have installed the r.geomorphon addon without any errors and have checked in the installed extensions manager that it appears to be installed. My problem is, what now?<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>I can't find r.geomorphon in any of the lists in the gui. If I use command line, I cannot work out how to tell GRASS where to put the output (do I have to pipe somewhere? How should I do this?). Command line is not happy with simply 'r.geomorphon dem=<name>' => 'ERROR: At least one output is required'<u></u><u></u></pre>
</blockquote>
<p class="MsoNormal">I'm not familiar with the addon, but typing "r.geomorphon help " in the command line gives a brief help message. And "man r.geomorphon" opens the whole manual page.<br>
The required parameters are "dem" (input) and "search", "skip", "flat" and "dist" (numeric parameters).<br>
<br>
<br>
<u></u><u></u></p>
<pre><u></u> <u></u></pre>
<pre>Please just point me to some examples and I'll stop being so annoying!<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>Izzy<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
</div><pre>_______________________________________________<u></u><u></u></pre><div class="">
<pre>grass-user mailing list<u></u><u></u></pre>
<pre><a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><u></u><u></u></pre>
<pre><a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>This mail was received via Mail-SeCure System.<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre><u></u> <u></u></pre>
<p class="MsoNormal"><br>
<br>
<br>
<u></u><u></u></p>
<pre>-- <u></u><u></u></pre>
<pre>Micha Silver<u></u><u></u></pre>
<pre>GIS Consulting<u></u><u></u></pre>
<pre>052-3665918<u></u><u></u></pre>
<pre><a href="http://www.surfaces.co.il" target="_blank">http://www.surfaces.co.il</a><u></u><u></u></pre>
</div></div>
</div><div class=""><div class="h5">
<pre>This email is only intended for the person to whom it is addressed and may contain confidential information. If you have received this email in error, please notify the sender and delete this email which must not be copied, distributed or disclosed to any other person.
Unless stated otherwise, the contents of this email are personal to the writer and do not represent the official view of Ordnance Survey. Nor can any contract be formed on Ordnance Survey's behalf via email. We reserve the right to monitor emails and attachments without prior notice.
Thank you for your cooperation.
Ordnance Survey
Adanac Drive
Southampton SO16 0AS
Tel: 08456 050505
<a href="http://www.ordnancesurvey.co.uk" target="_blank">http://www.ordnancesurvey.co.uk</a>
</pre></div></div><br>_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br></blockquote></div><br></div></div></div>