[GRASS-user] simple shell scrip example with parameters

Markus Neteler neteler at osgeo.org
Tue Mar 22 17:04:43 EDT 2011


On Tue, Mar 22, 2011 at 9:25 PM, Marcello Benigno
<benigno.marcello at gmail.com> wrote:
> Hi All,
>
> I need build one script shell for GRASS that receive two parameters (x and y
> coordinates) and calculate the r.water.outlet to this point, but I'm newbie
> in shell programming. Anyone have a example or link to show something
> similar? In my tests I can run one simple script, without parameters, and
> now thats the point.

Consider to post your script at http://osgeo.pastebin.com/
and then send the link here for inspection of the script.

Markus


More information about the grass-user mailing list