Parcourir la source

rename g.transform as m.transform, part 2

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@48535 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman il y a 14 ans
Parent
commit
567d059514

+ 1 - 1
gui/wxpython/docs/wxGUI.GCP_Manager.html

@@ -309,7 +309,7 @@ Other wxGUI components:<br>
 <p>
 <em>
   <a href="i.rectify.html">i.rectify</a>,
-  <a href="g.transform.html">g.transform</a>
+  <a href="m.transform.html">m.transform</a>
 </em>
 
 <h2>AUTHORS</h2>

+ 6 - 6
gui/wxpython/gui_modules/gcpmanager.py

@@ -1577,7 +1577,7 @@ class GCP(MapFrame, wx.Frame, ColumnSorterMixin):
     
     def RMSError(self, xygroup, order):
         """
-        Uses g.transform to calculate forward and backward error for each used GCP
+        Uses m.transform to calculate forward and backward error for each used GCP
         in POINTS file and insert error values into GCP list.
         Calculates total forward and backward RMS error for all used points
         """
@@ -1591,7 +1591,7 @@ class GCP(MapFrame, wx.Frame, ColumnSorterMixin):
         # get list of forward and reverse rms error values for each point
         self.grwiz.SwitchEnv('source')
         
-        ret = gcmd.RunCommand('g.transform',
+        ret = gcmd.RunCommand('m.transform',
                               parent = self,
                               read = True,
                               group = xygroup,
@@ -1604,7 +1604,7 @@ class GCP(MapFrame, wx.Frame, ColumnSorterMixin):
         else:
             gcmd.GError(parent = self,
                         message=_('Could not calculate RMS Error.\n'
-                                  'Possible error with g.transform.'))
+                                  'Possible error with m.transform.'))
             return
         
         # insert error values into GCP list for checked items
@@ -1702,7 +1702,7 @@ class GCP(MapFrame, wx.Frame, ColumnSorterMixin):
         self.grwiz.SwitchEnv('source')
         
         if map == 'source':
-            ret = gcmd.RunCommand('g.transform',
+            ret = gcmd.RunCommand('m.transform',
                                   parent = self,
                                   read = True,
                                   group = self.xygroup,
@@ -1711,7 +1711,7 @@ class GCP(MapFrame, wx.Frame, ColumnSorterMixin):
                                   coords = coord_file)
 
         elif map == 'target':
-            ret = gcmd.RunCommand('g.transform',
+            ret = gcmd.RunCommand('m.transform',
                                   parent = self,
                                   read = True,
                                   group = self.xygroup,
@@ -1729,7 +1729,7 @@ class GCP(MapFrame, wx.Frame, ColumnSorterMixin):
         else:
             gcmd.GError(parent = self,
                         message=_('Could not calculate new extends.\n'
-                                  'Possible error with g.transform.'))
+                                  'Possible error with m.transform.'))
             return
 
         # fist corner

+ 1 - 1
misc/m.transform/Makefile

@@ -1,6 +1,6 @@
 MODULE_TOPDIR = ../..
 
-PGM = g.transform
+PGM = m.transform
 
 LIBES = $(IMAGERYLIB) $(GISLIB) $(MATHLIB)
 DEPENDENCIES = $(IMAGERYDEP) $(GISDEP)

+ 1 - 1
misc/m.transform/g.transform.html

@@ -1,6 +1,6 @@
 <H2>DESCRIPTION</H2>
 
-<EM>g.transform</EM> is an utility to compute transformation
+<EM>m.transform</EM> is an utility to compute transformation
 based upon GCPs and output error measurements.
 
 

+ 1 - 1
misc/m.transform/main.c

@@ -1,7 +1,7 @@
 
 /****************************************************************************
  *
- * MODULE:       g.transform
+ * MODULE:       m.transform   (nee g.transform)
  * AUTHOR(S):    Brian J. Buckley
  *               Glynn Clements
  *               Hamish Bowman