[GRASS-user] Script automation with GRASS

Andre Hauptfleisch ahaupt at gmail.com
Tue Nov 20 07:44:34 EST 2007


Brilliant. Thanks Martin!


On Nov 20, 2007 2:40 PM, Martin Landa <landa.martin at gmail.com> wrote:

> Hi,
>
> 2007/11/20, Andre Hauptfleisch <ahaupt at gmail.com>:
> > Another newby question.
> >
> > I see that one can run any scripts from within GRASS, but is it possible
> to
> > start the application from a script, pipe some commands and close the
> > application again?
> >
> > Something such as:
> >
> > #!/bin/bash
> >
> > # ... some code ... #
> >
> > ./grass63 -text | v.do something; r.do something; exit
> >
> > # ... or maybe a better way ...#
> >
> > ./grass63 -text | ./some_grass_script.sh; exit
> >
> > # ... some code ... #
> >
> >
> >
> >
> > At the moment when I do a "./grass63 -text" command, I need to verify
> the
> > DATABASE and LOCATION info and then hit (ESC)(ENTER) sequence.
>
> http://grass.gdf-hannover.de/wiki/GRASS_and_Shell#GRASS_Batch_jobs
>
> Martin
>
> >
> > --
> > Groete,
> > Andre Hauptfleisch
> >
> > M: 082 5722 469
> > F: 086 687 1106
> > E: ahaupt at gmail.com
> > _______________________________________________
> > grass-user mailing list
> > grass-user at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/grass-user
> >
> >
>
>
> --
> Martin Landa <landa.martin at gmail.com> * http://gama.fsv.cvut.cz/~landa<http://gama.fsv.cvut.cz/%7Elanda>*
>



-- 
Groete,
Andre Hauptfleisch

M: 082 5722 469
F: 086 687 1106
E: ahaupt at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20071120/9163aaae/attachment.html


More information about the grass-user mailing list