Przeglądaj źródła

v.db.renamecol renamed to v.db.renamecolumn (part 1)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@38096 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 16 lat temu
rodzic
commit
d0eab31297

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

@@ -31,7 +31,7 @@
   <a href="v.db.addcol.html">v.db.addcol</a>,
   <a href="v.db.connect.html">v.db.connect</a>,
   <a href="v.db.dropcolumn.html">v.db.dropcolumn</a>,
-  <a href="v.db.renamecol.html">v.db.renamecol</a>,
+  <a href="v.db.renamecolumn.html">v.db.renamecolumn</a>,
   <a href="v.what.html">v.what</a>
 </em>
 

+ 1 - 1
gui/wxpython/gui_modules/dbm.py

@@ -1494,7 +1494,7 @@ class AttributeManager(wx.Frame):
                 else:
                     list.SetItemText(item, nameTo)
 
-                    self.listOfCommands.append(('v.db.renamecol',
+                    self.listOfCommands.append(('v.db.renamecolumn',
                                                 { 'map'    : self.vectorName,
                                                   'layer'  : self.layer,
                                                   'column' : '%s,%s' % (name, nameTo) }

+ 1 - 1
gui/wxpython/xml/menudata.xml

@@ -2626,7 +2626,7 @@
 	      <help>Renames a column in the attribute table connected to a given vector map.</help>
 	      <keywords>vector,database,attribute table</keywords>
               <handler>self.OnMenuCmd</handler>
-	      <command>v.db.renamecol</command>
+	      <command>v.db.renamecolumn</command>
 	    </menuitem>
 	    <separator />
 	    <menuitem>

+ 1 - 1
raster/r.watershed/front/r.watershed.html

@@ -413,7 +413,7 @@ Create watershed basins map and convert to a vector polygon map
   r.watershed elev=elevation.dem basin=rwater.basin thresh=15000
   r.to.vect -s in=rwater.basin out=rwater_basins feature=area
   v.db.dropcolumn map=rwater_basins column=label
-  v.db.renamecol map=rwater_basins column=value,catchment
+  v.db.renamecolumn map=rwater_basins column=value,catchment
 </pre></div>
 <br>
 

+ 1 - 1
scripts/Makefile

@@ -44,7 +44,7 @@ SUBDIRS = \
 	v.db.join \
 	v.db.dropcolumn \
 	v.db.droptable \
-	v.db.renamecol \
+	v.db.renamecolumn \
 	v.db.reconnect.all \
 	v.db.univar \
 	v.db.update \

+ 1 - 1
scripts/v.db.renamecol/Makefile

@@ -1,6 +1,6 @@
 MODULE_TOPDIR = ../..
 
-PGM = v.db.renamecol
+PGM = v.db.renamecolumn
 
 include $(MODULE_TOPDIR)/include/Make/Script.make
 

+ 2 - 2
scripts/v.db.renamecol/v.db.renamecol.html

@@ -1,6 +1,6 @@
 <h2>DESCRIPTION</h2>
 
-<em>v.db.renamecol</em> renames a column in the attribute table connected
+<em>v.db.renamecolumn</em> renames a column in the attribute table connected
 to a given vector map. It automatically checks the connection for the specified
 layer.
 
@@ -27,7 +27,7 @@ column to an intermediary name, then rename the intermediary to the final name.
 Renaming a column:<br>
 <div class="code"><pre>
 v.info -c myroads
-v.db.renamecol myroads column=label,roadtype
+v.db.renamecolumn myroads column=label,roadtype
 v.info -c myroads
 </pre></div>
 

+ 1 - 1
scripts/v.db.renamecol/v.db.renamecol.py

@@ -2,7 +2,7 @@
 
 ############################################################################
 #
-# MODULE:       v.db.renamecol
+# MODULE:       v.db.renamecolumn
 # AUTHOR(S):    Markus Neteler
 #               Converted to Python by Glynn Clements
 # PURPOSE:      interface to db.execute to drop a column from the 

+ 2 - 2
scripts/v.out.gps/v.out.gps.html

@@ -25,7 +25,7 @@ column matches the name it will be used in that field. Otherwise the
 attribute will be placed within the <tt>&lt;extensions&gt;</tt> metadata
 section of the record. Not all fields names are used with all feature
 types (e.g. DOP fix error is not meaningful for route lines). You can
-use the <em>v.db.renamecol</em> module to rename columns.
+use the <em>v.db.renamecolumn</em> module to rename columns.
 <P>
 These are the standard GPX data fields known to OGR:
 <div class="code"><pre>
@@ -87,7 +87,7 @@ v.out.gps -r input=routes format=garmin output=/dev/ttyUSB0
 <A HREF="v.out.ascii.html">v.out.ascii</A><BR>
 <A HREF="v.in.garmin.html">v.in.garmin</A><BR>
 <A HREF="v.in.gpsbabel.html">v.in.gpsbabel</A><BR>
-<A HREF="v.db.renamecol.html">v.db.renamecol</A><BR>
+<A HREF="v.db.renamecolumn.html">v.db.renamecolumn</A><BR>
 <A HREF="v.extract.html">v.extract</A>
 </EM>
 <BR>

+ 1 - 1
vector/vectorintro.html

@@ -199,7 +199,7 @@ However, this can be performed in a single step using <a href="v.db.addtable.htm
 along with the definition of table column types. Column adding and dropping
 can be done with <a HREF="v.db.addcol.html">v.db.addcol</a> and
 <a HREF="v.db.dropcolumn.html">v.db.dropcolumn</a>. A table column can be renamed with
-<a HREF="v.db.renamecol.html">v.db.renamecol</a>. To drop a table from a map, use
+<a HREF="v.db.renamecolumn.html">v.db.renamecolumn</a>. To drop a table from a map, use
 <a HREF="v.db.droptable.html">v.db.droptable</a>. Values in a table can be updated
 with <a HREF="v.db.update.html">v.db.update</a>. Tables can be joined with with
 <a HREF="v.db.join.html">v.db.join</a>.