[GRASS-dev] Scripting in Linux

Glynn Clements glynn at gclements.plus.com
Mon Jan 25 13:38:12 EST 2010


Kim Besson wrote:

> I'm having a few Questions regarding Scripting developing and compilation
> for LINUX. I have "coded" a Script example, from GRASS book, and now I just
> want to try it. But it says "Command d.rast.region is not yet implemented".
> Do I have to do something because it's already in the right
> folder /usr/local/grass-6.4.0svn/scripts.

The "not yet implemented" error occurs if you run unknown d.* commands
(any command beginning with "d.") from the GUI's interactive prompt. 
Essentially, support for running d.* within the GUI is an ugly hack;
it "traps" a fixed set of known commands, but doesn't work for
anything else.

You should still be able to use the script from the shell, or by
adding a command layer within the GUI.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list