GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
manager.GCPWizard Class Reference
Inheritance diagram for manager.GCPWizard:
Collaboration diagram for manager.GCPWizard:

Public Member Functions

def __init__
 
def SetSrcEnv
 Create environment to use for location and mapset that are the source of the file(s) to georectify. More...
 
def SwitchEnv
 
def OnWizFinished
 
def OnGLMFocus
 Layer Manager focus. More...
 
def Cleanup
 Return to current location and mapset. More...
 

Data Fields

 parent
 
 grassdatabase
 
 target_gisrc
 
 gisrc_dict
 
 currentlocation
 
 currentmapset
 
 newlocation
 
 newmapset
 
 source_gisrc
 
 src_maps
 
 wizard
 
 startpage
 
 grouppage
 
 mappage
 
 SrcMap
 
 TgtMap
 
 Map
 
 gcpmgr
 

Detailed Description

Start wizard here and finish wizard here

Definition at line 78 of file gcp/manager.py.

Constructor & Destructor Documentation

def manager.GCPWizard.__init__ (   self,
  parent 
)

Definition at line 83 of file gcp/manager.py.

Member Function Documentation

def manager.GCPWizard.Cleanup (   self)

Return to current location and mapset.

Definition at line 286 of file gcp/manager.py.

References manager.GCPWizard.SwitchEnv().

def manager.GCPWizard.OnGLMFocus (   self,
  event 
)

Layer Manager focus.

Definition at line 280 of file gcp/manager.py.

def manager.GCPWizard.OnWizFinished (   self)

Definition at line 275 of file gcp/manager.py.

def manager.GCPWizard.SetSrcEnv (   self,
  location,
  mapset 
)

Create environment to use for location and mapset that are the source of the file(s) to georectify.

Parameters
locationsource location
mapsetsource mapset
Returns
False on error
True on success

Definition at line 227 of file gcp/manager.py.

References manager.GCPWizard.currentlocation, manager.GCPWizard.currentmapset, utils.GetTempfile(), manager.GCPWizard.gisrc_dict, manager.GCPWizard.newlocation, manager.GCPWizard.newmapset, and manager.GCPWizard.source_gisrc.

def manager.GCPWizard.SwitchEnv (   self,
  grc 
)
Switches between original working location/mapset and
location/mapset that is source of file(s) to georectify

Definition at line 259 of file gcp/manager.py.

References manager.GCPWizard.currentlocation, manager.GCPWizard.currentmapset, manager.GCPWizard.newlocation, manager.GCPWizard.newmapset, manager.GCPWizard.source_gisrc, and manager.GCPWizard.target_gisrc.

Referenced by manager.GCPWizard.Cleanup().

Field Documentation

manager.GCPWizard.gcpmgr

Definition at line 214 of file gcp/manager.py.

manager.GCPWizard.gisrc_dict

Definition at line 95 of file gcp/manager.py.

Referenced by manager.GCPWizard.SetSrcEnv().

manager.GCPWizard.grouppage

Definition at line 131 of file gcp/manager.py.

manager.GCPWizard.mappage

Definition at line 132 of file gcp/manager.py.

manager.GCPWizard.newlocation
manager.GCPWizard.newmapset
manager.GCPWizard.source_gisrc

Definition at line 123 of file gcp/manager.py.

Referenced by manager.GCPWizard.SetSrcEnv(), and manager.GCPWizard.SwitchEnv().

manager.GCPWizard.src_maps

Definition at line 124 of file gcp/manager.py.

manager.GCPWizard.SrcMap

Definition at line 175 of file gcp/manager.py.

Referenced by manager.GCP.OnUpdateActive(), and manager.GCP.OnZoomToTarget().

manager.GCPWizard.startpage

Definition at line 130 of file gcp/manager.py.

manager.GCPWizard.target_gisrc

Definition at line 94 of file gcp/manager.py.

Referenced by manager.GCPWizard.SwitchEnv().

manager.GCPWizard.TgtMap

Definition at line 177 of file gcp/manager.py.

Referenced by manager.GCP.OnUpdateActive(), and manager.GCP.OnZoomToSource().

manager.GCPWizard.wizard

The documentation for this class was generated from the following file: