浏览代码

GCP Manager update

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@43364 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 14 年之前
父节点
当前提交
130ff51900

+ 7 - 5
gui/wxpython/gui_modules/gcpmanager.py

@@ -19,9 +19,9 @@ Classes:
 This program is free software under the GNU General Public License
 (>=v2). Read the file COPYING that comes with GRASS for details.
 
-@author Markus Metz
 @author Michael Barton
 @author Updated by Martin Landa <landa.martin gmail.com>
+@author Markus Metz redesign georectfier -> GCP Manager
 """
 
 import os
@@ -1519,6 +1519,9 @@ class GCP(MapFrame, wx.Frame, ColumnSorterMixin):
             if os.path.exists(self.file['points_bak']):
                 os.unlink(self.file['points_bak'])
 
+            self.SrcMap.Clean()
+            self.TgtMap.Clean()
+
             self.grwiz.Cleanup()
 
             self.Destroy()
@@ -1746,10 +1749,9 @@ class GCP(MapFrame, wx.Frame, ColumnSorterMixin):
 
     def OnHelp(self, event):
         """!Show GCP Manager manual page"""
-        gcmd.RunCommand('g.manual',
-                        quiet = True,
-                        parent = None,
-                        entry = 'wxGUI.GCP_Manager')
+        cmdlist = ['g.manual', 'entry=wxGUI.GCP_Manager']
+        self.parent.goutput.RunCmd(cmdlist, compReg=False,
+                                       switchPage=False)
 
     def OnUpdateActive(self, event):
 

文件差异内容过多而无法显示
+ 210 - 1376
gui/wxpython/gui_modules/gcpmapdisp.py


二进制
gui/wxpython/images/small_down_arrow.png


二进制
gui/wxpython/images/small_up_arrow.png