GRASS Programmer's Manual  6.5.svn(2012)-r51648
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
manager.GCPWizard Class Reference

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.
def SwitchEnv
def OnWizFinished
def OnGLMFocus
 Layer Manager focus.
def Cleanup
 Return to current location and mapset.

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.

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

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

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

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

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

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


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