[Qgis-developer] How to turn GRASS commands from tabs to a script? (where is toolbox metadata located?)

Micha Silver micha at arava.co.il
Sat Mar 13 08:26:48 EST 2010


Stefan Keller wrote:

> Dear all
>
> I'm analyzing some data with grass within qgis. Now there's the grass
> plugin and it's toolbox. This opens nicely a new tab when issueing a
> new grass command, like r.in.ascii, then r.reclass, etc. There's also
> a "Browser" which displays every command as comment (e.g. aspect map
> elev = dhm at mymap zfactor = 1.00 min_slp_allowed = 0.000000").
>
> Now I want to automate this series of commands using a script (or a
> batch command)!
>
> How do I do that easiest?
>
>   
One way would be to run the GRASS commands in the Toolbox "shell" then 
use the 'history' command to display every command  you typed.  By 
redirecting the output of 'history' into a file, and making it 
executable, you'll have the start of a script.
> My approach would be to fetch the comment data from the GRASS plugin
> toolbox browser - but I can't find the location where this metadata is
> stored?
>
> -S.
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
> This mail was received via Mail-SeCure System.
>
>
>   


-- 
Micha Silver
Arava Development Co. +972-52-3665918
http://www.surfaces.co.il
 



More information about the Qgis-developer mailing list