소스 검색

Replaced i.rectify with i.ortho.rectify

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@71068 15284696-431f-4ddb-bdfa-cd5b030d7da7
Yann Chemin 8 년 전
부모
커밋
813b0ab7d9
1개의 변경된 파일7개의 추가작업 그리고 4개의 파일을 삭제
  1. 7 4
      gui/wxpython/iimage2target/ii2t_manager.py

+ 7 - 4
gui/wxpython/iimage2target/ii2t_manager.py

@@ -165,6 +165,9 @@ class GCPWizard(object):
         self.source_gisrc = ''
         self.src_maps = []
 
+        # Raster map with camera angle relative to ground surface (i.ortho.rectify)
+        self.cam_angle = ''
+
         #
         # define wizard pages
         #
@@ -940,7 +943,7 @@ class DispMapPage(TitledPage):
 class GCP(MapFrame, ColumnSorterMixin):
     """
     Manages ground control points for georectifying. Calculates RMS statistics.
-    Calls i.rectify or v.rectify to georectify map.
+    Calls i.ortho.rectify or v.rectify to georectify map.
     """
 
     def __init__(self, parent, giface, grwiz=None, id=wx.ID_ANY,
@@ -1639,7 +1642,7 @@ class GCP(MapFrame, ColumnSorterMixin):
 
     def OnGeorect(self, event):
         """
-        Georectifies map(s) in group using i.rectify or v.transform
+        Georectifies map(s) in group using i.ortho.rectify or v.rectify
         """
         global maptype
         self.SaveGCPs(None)
@@ -1659,14 +1662,14 @@ class GCP(MapFrame, ColumnSorterMixin):
                                parent=self)
             wx.Yield()
 
-            ret, msg = RunCommand('i.rectify',
+            ret, msg = RunCommand('i.ortho.rectify',
                                   parent=self,
                                   getErrorMsg=True,
                                   quiet=True,
                                   group=self.xygroup,
                                   extension=self.extension,
-                                  order=self.gr_order,
                                   method=self.gr_method,
+                                  angle=self.cam_angle,
                                   flags=flags)
 
             busy.Destroy()