gismutils
render
MapLayer
+cmd: string
+name: string
+mapset: string
+type: string
+active: boolean
+hidden: boolean
+opacity: integer
+mapfile: string
+maskfile: string
-init(type:string,name:string,mapset:string,
active:boolean,hidden:boolean,opacity:boolean,
parameters:dictionary)
-renderRasterLayer()
-renderVectorLayer()
+Render(): name of rendered image or None
layer
0..*
1
<<wx.lib.customtreectrl.CustomTreeCtrl>>
LayerTree
-init(...)
+AddLayer(idx:integer,layertype:string)
+onCollapseNode()
+onExpandNone()
+onActiveLayer()
+onChangeSel()
Map
+env: dictionary
+verbosity: integer
+width: integer
+height: integer
+windfile: string
+region: dictionary
+layer: list
+renderRegion: dictionary
+mapfile: string
-init()
-initRegion()
-initMonSize()
-initEnv()
-adjustRegion()
+GetRegion(): region
+SetRegion(): GRASS_REGION or string
+GetListOfLayers(type:string=None,active:boolean=None,
hidden:boolean=None): list of layers
+Render(force:boolean=None): rendered image filename
+AddRasterLayer(name:string,mapset:string=None,
catlist:string=None,vallist:string=None,
l_active:boolean=True,l_hidden:boolean=False,
l_opacity:integer=1,l_render:boolean=False): added layer
+AddGraphLayer(name:string,graph:string=None,
color:string=255:0:0,coordsinmapunits:boolean=False,
l_active:boolean=True,l_hidden:boolean=False,
l_opacity:integer=1,l_render:boolean=False): added layer
+AddVectorLayer(name:string,mapset:string=None,
type:string,display:string=shape,
attrcol:string=None,icon:string=basic/circle,
size:integer=8,layer:integer=1,
cats:string=None,where:string=None,
width:integer=1,wcolumn:string=None,
wscale:inreger=1,color:string=000:000:000,
fcolor:string=200:200:200,
rgb_column:string=GRASSRBG,
llayer:integer=1,lcolor:string=256:000:000,
bgcolor:string=None,bcolor:string=None,
lsize:integer=8,font:string=None,
xref:string=left,yref:string=center,
minreg:string=None,maxreg:string=None,
colorfromtable:boolean=False,
randomcolor:boolean=False,
catasid:boolean=False,l_active:boolean=True,
l_hidden:boolean=False,l_opacity:boolean=1,
l_render:boolean=False): added layer
+PopLayer(name:string=None,mapset:string=None,
id:integer=None): Layer
+GetLayerIndex(name:string,mapset:string=None): index or None
+Clean()
<<wx.Panel>>
GMConsole
-init()
+getGRASSCmd()
+runCmd(event)
+clearHistory(event)
+saveHistory(event)
GetTempFile (pref=None)
toolbars
MapToolBar
-init(mapdisplay,map)
+onSelect(event)
DigitToolbar
-init(parent,map)
+initToolbar()
+onPoint(event)
+AddPoint(x,y)
+getListOfLayers()
grassenv
<<Exception>>
NotInGRASSSession
<<Exception>>
CouldNotStartMonitor
<<Exception>>
CouldNotExecute
<<Exception>>
CouldNotStopMonitor
env
GRASSLayer
+params: dictionary
-init(parameters:dictionary)
1
grassLayer
1