GRASS Programmer's Manual  6.4.2(2012)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
gui_modules.gcpmanager.GCP Class Reference

Manages ground control points for georectifying. More...

Inheritance diagram for gui_modules.gcpmanager.GCP:
Collaboration diagram for gui_modules.gcpmanager.GCP:

Public Member Functions

def __init__
def __del__
 Disable GCP manager mode.
def CreateGCPList
 Create GCP List Control.
def GetListCtrl
def GetSortImages
def InitMapDisplay
def SetTarget
def AddGCP
def DeleteGCP
def ClearGCP
def DrawGCP
def SetGCPData
def SaveGCPs
def ReadGCPs
def ReloadGCPs
 Reload data from file.
def OnFocus
def OnRMS
def CheckGCPcount
def OnGeorect
def OnGeorectDone
 Print final message.
def OnSettings
 GCP Manager settings.
def UpdateColours
 update colours
def OnQuit
 Quit georectifier.
def OnGROrder
def RMSError
def GetNewExtent
def OnHelp
 Show GCP Manager manual page.
def OnUpdateActive
def UpdateActive
def AdjustMap
 Adjust map window to new extents.
def OnZoomToSource
 Set target map window to match extents of source map window.
def OnZoomToTarget
 Set source map window to match extents of target map window.
def OnZoomMenuGCP
 Popup Zoom menu.
def OnDispResize
 GCP Map Display resized, adjust Map Windows.

Data Fields

 grwiz
 show_target
 parent
 grassdatabase
 currentlocation
 currentmapset
 newlocation
 newmapset
 xylocation
 xymapset
 xygroup
 src_maps
 extension
 outname
 VectGRList
 file
 gr_order
 gr_method
 clip_to_region
 GCPcount
 fwd_rmserror
 bkw_rmserror
 mapcoordlist
 highest_only
 show_unused
 highest_key
 rmsthresh
 rmsmean
 rmssd
 itemDataMap
 il
 sm_dn
 sm_up
 mapwin
 MapWindow
 Map

Detailed Description

Manages ground control points for georectifying.

Calculates RMS statics. Calls i.rectify or v.transform to georectify map.

Definition at line 724 of file gcpmanager.py.

Constructor & Destructor Documentation

def gui_modules.gcpmanager.GCP.__init__ (   self,
  parent,
  grwiz = None,
  id = wx.ID_ANY,
  title = _("Manage Ground Control Points"),
  size = (700, 300,
  toolbars = ["gcpdisp"],
  Map = None,
  lmgr = None 
)

Definition at line 731 of file gcpmanager.py.

def gui_modules.gcpmanager.GCP.__del__ (   self)

Disable GCP manager mode.

Definition at line 881 of file gcpmanager.py.

Member Function Documentation

def gui_modules.gcpmanager.GCP.AdjustMap (   self,
  newreg 
)
def gui_modules.gcpmanager.GCP.CheckGCPcount (   self,
  msg = False 
)
Checks to make sure that the minimum number of GCPs have been defined and
are active for the selected transformation order

Definition at line 1298 of file gcpmanager.py.

References gui_modules.gcpmanager.GCP.GCPcount, and gui_modules.gcpmanager.GCP.gr_order.

Referenced by gui_modules.gcpmanager.GCP.GetNewExtent(), gui_modules.gcpmanager.GCP.OnGeorect(), gui_modules.gcpmanager.GCP.ReadGCPs(), and gui_modules.gcpmanager.GCP.RMSError().

def gui_modules.gcpmanager.GCP.ClearGCP (   self,
  event 
)
Clears all values in selected item of GCP list and unchecks it

Definition at line 988 of file gcpmanager.py.

References gui_modules.gcpmanager.GCP.mapcoordlist.

def gui_modules.gcpmanager.GCP.CreateGCPList (   self)

Create GCP List Control.

Definition at line 885 of file gcpmanager.py.

def gui_modules.gcpmanager.GCP.DrawGCP (   self,
  coordtype 
)
def gui_modules.gcpmanager.GCP.GetSortImages (   self)
def gui_modules.gcpmanager.GCP.OnDispResize (   self,
  event 
)
def gui_modules.gcpmanager.GCP.OnFocus (   self,
  event 
)

Definition at line 1282 of file gcpmanager.py.

def gui_modules.gcpmanager.GCP.OnGeorectDone (   self,
  kargs 
)

Print final message.

Definition at line 1463 of file gcpmanager.py.

References gui_modules.gcpmanager.GCP.outname, and gui_modules.gcpmanager.GCP.VectGRList.

def gui_modules.gcpmanager.GCP.OnGROrder (   self,
  event 
)
sets transformation order for georectifying

Definition at line 1550 of file gcpmanager.py.

References gui_modules.gcpmanager.GCP.AddGCP(), and gui_modules.gcpmanager.GCP.gr_order.

Referenced by gui_modules.gcpmanager.GCP.DeleteGCP().

def gui_modules.gcpmanager.GCP.OnHelp (   self,
  event 
)

Show GCP Manager manual page.

Definition at line 1759 of file gcpmanager.py.

Referenced by gui_modules.menuform.mainFrame.OnKeyUp().

def gui_modules.gcpmanager.GCP.OnQuit (   self,
  event 
)

Quit georectifier.

Definition at line 1523 of file gcpmanager.py.

References gui_modules.gcpmanager.GCP.file, and gui_modules.gcpmanager.GCP.SaveGCPs().

def gui_modules.gcpmanager.GCP.OnRMS (   self,
  event 
)
RMS button handler

Definition at line 1286 of file gcpmanager.py.

def gui_modules.gcpmanager.GCP.OnSettings (   self,
  event 
)

GCP Manager settings.

Definition at line 1479 of file gcpmanager.py.

References gui_modules.gcpmanager.GCP.UpdateColours().

def gui_modules.gcpmanager.GCP.OnZoomMenuGCP (   self,
  event 
)
def gui_modules.gcpmanager.GCP.RMSError (   self,
  xygroup,
  order 
)
def gui_modules.gcpmanager.GCP.SetGCPData (   self,
  coordtype,
  coord,
  mapdisp = None,
  confirm = False 
)
Inserts coordinates from file, mouse click on map, or after editing
into selected item of GCP list and checks it for use

Definition at line 1094 of file gcpmanager.py.

References gui_modules.gcpmanager.GCP.mapcoordlist, gui_modules.gcpmanager.GCP.MapWindow, and gui_modules.gcpmapdisp.MapFrame.SrcMapWindow.

Referenced by gui_modules.gcpmanager.GCP.ReadGCPs().

Field Documentation

gui_modules.gcpmanager.GCP.bkw_rmserror

Definition at line 814 of file gcpmanager.py.

Referenced by gui_modules.gcpmanager.GCP.RMSError().

gui_modules.gcpmanager.GCP.clip_to_region

Definition at line 808 of file gcpmanager.py.

Referenced by gui_modules.gcpmanager.GCP.OnGeorect().

gui_modules.gcpmanager.GCP.currentlocation
gui_modules.gcpmanager.GCP.currentmapset
gui_modules.gcpmanager.GCP.extension

Definition at line 762 of file gcpmanager.py.

Referenced by gui_modules.gcpmanager.GCP.OnGeorect().

gui_modules.gcpmanager.GCP.fwd_rmserror

Definition at line 812 of file gcpmanager.py.

Referenced by gui_modules.gcpmanager.GCP.RMSError().

gui_modules.gcpmanager.GCP.GCPcount
gui_modules.gcpmanager.GCP.gr_method

Definition at line 806 of file gcpmanager.py.

Referenced by gui_modules.gcpmanager.GCP.OnGeorect().

gui_modules.gcpmanager.GCP.grwiz

Definition at line 733 of file gcpmanager.py.

gui_modules.gcpmanager.GCP.highest_key
gui_modules.gcpmanager.GCP.highest_only
gui_modules.gcpmanager.GCP.il

Definition at line 839 of file gcpmanager.py.

gui_modules.gcpmanager.GCP.mapwin

Definition at line 847 of file gcpmanager.py.

gui_modules.gcpmanager.GCP.newlocation

Definition at line 755 of file gcpmanager.py.

Referenced by gui_modules.gcpmanager.GCP.SetTarget().

gui_modules.gcpmanager.GCP.newmapset

Definition at line 756 of file gcpmanager.py.

Referenced by gui_modules.gcpmanager.GCP.SetTarget().

gui_modules.gcpmanager.GCP.outname
gui_modules.gcpmanager.GCP.rmsmean

Definition at line 830 of file gcpmanager.py.

Referenced by gui_modules.gcpmanager.GCP.RMSError().

gui_modules.gcpmanager.GCP.rmssd

Definition at line 831 of file gcpmanager.py.

Referenced by gui_modules.gcpmanager.GCP.RMSError().

gui_modules.gcpmanager.GCP.rmsthresh
gui_modules.gcpmanager.GCP.show_unused

Definition at line 827 of file gcpmanager.py.

Referenced by gui_modules.gcpmanager.GCP.DrawGCP().

gui_modules.gcpmanager.GCP.sm_dn
gui_modules.gcpmanager.GCP.sm_up
gui_modules.gcpmanager.GCP.src_maps

Definition at line 761 of file gcpmanager.py.

gui_modules.gcpmanager.GCP.VectGRList
gui_modules.gcpmanager.GCP.xylocation

Definition at line 758 of file gcpmanager.py.

Referenced by gui_modules.gcpmanager.GCP.OnGeorect().

gui_modules.gcpmanager.GCP.xymapset

Definition at line 759 of file gcpmanager.py.

Referenced by gui_modules.gcpmanager.GCP.OnGeorect().


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