Forráskód Böngészése

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 13 éve
szülő
commit
567d059514

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

@@ -309,7 +309,7 @@ Other wxGUI components:<br>
 <p>
 <p>
 <em>
 <em>
   <a href="i.rectify.html">i.rectify</a>,
   <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>
 </em>
 
 
 <h2>AUTHORS</h2>
 <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):
     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.
         in POINTS file and insert error values into GCP list.
         Calculates total forward and backward RMS error for all used points
         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
         # get list of forward and reverse rms error values for each point
         self.grwiz.SwitchEnv('source')
         self.grwiz.SwitchEnv('source')
         
         
-        ret = gcmd.RunCommand('g.transform',
+        ret = gcmd.RunCommand('m.transform',
                               parent = self,
                               parent = self,
                               read = True,
                               read = True,
                               group = xygroup,
                               group = xygroup,
@@ -1604,7 +1604,7 @@ class GCP(MapFrame, wx.Frame, ColumnSorterMixin):
         else:
         else:
             gcmd.GError(parent = self,
             gcmd.GError(parent = self,
                         message=_('Could not calculate RMS Error.\n'
                         message=_('Could not calculate RMS Error.\n'
-                                  'Possible error with g.transform.'))
+                                  'Possible error with m.transform.'))
             return
             return
         
         
         # insert error values into GCP list for checked items
         # insert error values into GCP list for checked items
@@ -1702,7 +1702,7 @@ class GCP(MapFrame, wx.Frame, ColumnSorterMixin):
         self.grwiz.SwitchEnv('source')
         self.grwiz.SwitchEnv('source')
         
         
         if map == 'source':
         if map == 'source':
-            ret = gcmd.RunCommand('g.transform',
+            ret = gcmd.RunCommand('m.transform',
                                   parent = self,
                                   parent = self,
                                   read = True,
                                   read = True,
                                   group = self.xygroup,
                                   group = self.xygroup,
@@ -1711,7 +1711,7 @@ class GCP(MapFrame, wx.Frame, ColumnSorterMixin):
                                   coords = coord_file)
                                   coords = coord_file)
 
 
         elif map == 'target':
         elif map == 'target':
-            ret = gcmd.RunCommand('g.transform',
+            ret = gcmd.RunCommand('m.transform',
                                   parent = self,
                                   parent = self,
                                   read = True,
                                   read = True,
                                   group = self.xygroup,
                                   group = self.xygroup,
@@ -1729,7 +1729,7 @@ class GCP(MapFrame, wx.Frame, ColumnSorterMixin):
         else:
         else:
             gcmd.GError(parent = self,
             gcmd.GError(parent = self,
                         message=_('Could not calculate new extends.\n'
                         message=_('Could not calculate new extends.\n'
-                                  'Possible error with g.transform.'))
+                                  'Possible error with m.transform.'))
             return
             return
 
 
         # fist corner
         # fist corner

+ 1 - 1
misc/m.transform/Makefile

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

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

@@ -1,6 +1,6 @@
 <H2>DESCRIPTION</H2>
 <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.
 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
  * AUTHOR(S):    Brian J. Buckley
  *               Glynn Clements
  *               Glynn Clements
  *               Hamish Bowman
  *               Hamish Bowman