[GRASSLIST:9521] Re: Best language for batch processing?

Hamish hamish_nospam at yahoo.com
Thu Dec 15 19:01:03 EST 2005


> Anyone have any suggestions for the best language to learn/use if we
> want to run GRASS commands via batch processing?

UNIX (bash) scripting.

a google search for "bash scripting" should give you lots of guides.

or look in the GRASS source code scripts/ directory for some examples.

Perl etc will be useful for more advanced stuff, but for starters bash
scripting will probably be the most straight forward and there shouldn't
be much you can't do.

Markus recently added the framework for SWIG bindings, which may be of
interest to Python etc scripters who want access to the C API. (although
I think most custom tasks can be done in GRASS using a string of modules)


Hamish




More information about the grass-user mailing list