[GRASS-dev] Calling Add command layer from script

Martin Landa landa.martin at gmail.com
Wed Aug 24 04:12:28 EDT 2011


Hi,

2011/8/23 Sudeep Singh <sudeep495 at gmail.com>:
> There is a function in the wxgui to add a command layer(main GUI-->Add grid
> or vector labels overlay-->add command layer) .
> Now I want to mimic same function ie add command layer via python script.
> How could I add a command layer via python script ? Someone has some quick
> idea on this ?
>
> I checked wxgui.py file. It has a function OnAddCommand() , I think this
> function has a role to play , but I am not sure how to use it .

do you really need a command layer? It's better to use directly given
type of map layer (raster, vector, etc.)

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


More information about the grass-dev mailing list