Yes there is a way. I can't remember which module it is in now and don't have access to a computer that I work on. But we must track which layers are doing what. So there is a dictionary maintained of all layers and their state.
Michael
On Jun 13, 2009, at 9:00 AM, grass-dev-request@lists.osgeo.org wrote:
Send grass-dev mailing list submissions to
grass-dev@lists.osgeo.orgTo subscribe or unsubscribe via the World Wide Web, visit
grass-dev Info Page
or, via email, send a message with subject or body 'help' to
grass-dev-request@lists.osgeo.orgYou can reach the person managing the list at
grass-dev-owner@lists.osgeo.orgWhen replying, please edit your Subject line so it is more specific
than "Re: Contents of grass-dev digest..."Today's Topics:
1. Python and WX Workspace (Massimo Di Stefano)
----------------------------------------------------------------------
Message: 1
Date: Sat, 13 Jun 2009 16:48:21 +0200
From: Massimo Di Stefano <massimodisasha@gmail.com>
Subject: [GRASS-dev] Python and WX Workspace
To: grass-dev@lists.osgeo.org
Message-ID: <F5558E5E-D762-4BEB-8B03-24C1663A1672@gmail.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yesHi All,
i'm working on a SOC project to have grass-ossimplanet interaction.
Actually i'm using some function provided from the python grass
interfacei'm now tring to see if it is possible to retrieve from python, the
list of layers loaded in the workspace,do you know if is it possible ?
if no interactive function is avaiable, maybe i can try to work on
workspace.gxw ? can i find a schema for it ?any suggestion / feedback about the code is really welcome.
thanks,
Massimo Di Stefano.
------------------------------
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
grass-dev Info PageEnd of grass-dev Digest, Vol 38, Issue 33
*****************************************
_____________________________
C. Michael Barton, Professor
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
Tempe, AZ 85287-2402
WWW - http://www.public.asu.edu/~cmbarton
Phone: 480-965-6262
Fax: 480-965-7671