[GRASS-user] Script automation with GRASS

Martin Landa landa.martin at gmail.com
Tue Nov 20 07:40:17 EST 2007


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 *


More information about the grass-user mailing list