<div dir="ltr">Hi Madi,<div><br></div><div>that's interesting and there is even a G_OPT_R_ELEV, I was not aware of it.<div><br></div><div>You can have a look into these:</div><div><br></div><div><a href="http://grass.osgeo.org/programming7/parser__standard__options_8c_source.html">http://grass.osgeo.org/programming7/parser__standard__options_8c_source.html</a><br>

</div><div><a href="http://grass.osgeo.org/programming7/parser__standard__options_8c.html">http://grass.osgeo.org/programming7/parser__standard__options_8c.html</a><br></div><div><a href="http://grass.osgeo.org/programming7/gislib.html#Command_Line_Parsing">http://grass.osgeo.org/programming7/gislib.html#Command_Line_Parsing</a><br>

</div><div><br></div><div>Vaclav</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 16, 2013 at 6:31 AM, Markus Metz <span dir="ltr"><<a href="mailto:markus.metz.giswork@gmail.com" target="_blank">markus.metz.giswork@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You could try G_OPT_M_DIR. The comment says "directory input" but it<br>
should also work for output, all it should return is the path to a<br>
folder.<br>
<br>
Markus M<br>
<div><div class="h5"><br>
<br>
On Mon, Jul 15, 2013 at 5:42 PM, Margherita Di Leo<br>
<<a href="mailto:dileomargherita@gmail.com">dileomargherita@gmail.com</a>> wrote:<br>
> Dear Devs,<br>
><br>
> in r57084 Martin has added standardized options to r.ipso (thanks!). I would<br>
> like to learn more about their use, particularly, does it exist a standard<br>
> variable defined for taking a path as input? (Not a path+file name as<br>
> G_OPT_F_INPUT). For example this is useful in the case that a module<br>
> produces some pictures and/or csv files and the user wants to set a folder<br>
> for storing them. I digged into [1] but I seem not to find what I need.<br>
> Should I just take the path as a string? Giving to the user the possibility<br>
> to browse the folders instead of indicating a path would be IMHO more<br>
> convenient. Could anyone point me out where to read in order to learn more<br>
> about that?<br>
><br>
> Thanks!<br>
> madi<br>
><br>
> [1] <a href="http://grass.osgeo.org/programming7/gis_8h_source.html" target="_blank">http://grass.osgeo.org/programming7/gis_8h_source.html</a><br>
><br>
> --<br>
> Best regards,<br>
><br>
> Dr. Margherita DI LEO<br>
> Scientific / technical project officer<br>
><br>
> European Commission - DG JRC<br>
> Institute for Environment and Sustainability (IES)<br>
> Via Fermi, 2749<br>
> I-21027 Ispra (VA) - Italy - TP 261<br>
><br>
> Tel. <a href="tel:%2B39%200332%2078%203600" value="+390332783600">+39 0332 78 3600</a><br>
> <a href="mailto:margherita.di-leo@jrc.ec.europa.eu">margherita.di-leo@jrc.ec.europa.eu</a><br>
><br>
> Disclaimer: The views expressed are purely those of the writer and may not<br>
> in any circumstance be regarded as stating an official position of the<br>
> European Commission.<br>
><br>
</div></div>> _______________________________________________<br>
> grass-dev mailing list<br>
> <a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br>
_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br>
</blockquote></div><br></div>