[GRASS-SVN] r34765 - grass/trunk/vector/v.category
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Dec 6 22:48:44 EST 2008
Author: hamish
Date: 2008-12-06 22:48:44 -0500 (Sat, 06 Dec 2008)
New Revision: 34765
Modified:
grass/trunk/vector/v.category/v.category.html
Log:
explain cat=, linewraps, links (merge from devbr6)
Modified: grass/trunk/vector/v.category/v.category.html
===================================================================
--- grass/trunk/vector/v.category/v.category.html 2008-12-07 03:47:14 UTC (rev 34764)
+++ grass/trunk/vector/v.category/v.category.html 2008-12-07 03:48:44 UTC (rev 34765)
@@ -4,36 +4,44 @@
map geometry. These categories (IDs) are used to link geometry
object(s) to attribute records (from attribute table linked to vector map).
+
<h2>NOTES</h2>
-Use <em><a href="v.to.db.html">v.to.db</a></em> to upload related categories to
-a linked attribute table.
+Use <em><a href="v.to.db.html">v.to.db</a></em> to upload related categories
+to a linked attribute table.
<p>
-The <b>type</b> parameter specifies the type of geometry objects to which the category is added;
-it is similar to an input filter - only the geometry specified in 'type' is processed.
-
+The <b>type</b> parameter specifies the type of geometry objects to which
+the category is added; it is similar to an input filter - only the
+geometry specified in 'type' is processed.
<p>
If the <b>type</b> parameter is set to <b>centroid</b> and
the <b>option</b> parameter set to <b>add</b>, new categories will be
added to existing centroids. Note however, that new centroids cannot
be created this way. To do so, they must be added manually
using <em><a href="v.digit.html">v.digit</a></em> or by
-running <em>v.category</em> with the type parameter set to area (see
-below also).
+running <em>v.category</em> with the type parameter set to area.
+<p>
+Areas are a special case because it is impossible to attach a cat to
+an area without a centroid; in this case, the module places new
+centroids in areas automatically.
<p>
-Areas are a special case because it is impossible to attach a cat to an area without a centroid;
-in this case, the module places new centroids in areas automatically.
+The <b>cat</b> parameter is only used with <b>option</b>=<i>add</i> and
+<b>option</b>=<i>sum</i>.
<p>
-The <b>id</b> parameter specifies the list of feature ids to which the
+The <b>ids</b> parameter specifies the list of feature IDs to which the
operation is performed; by default, all vector feature ids are processed.
-The <b>id</b> is an internal (unique) geometry id that all vector primitives possess,
-and is separate from any category the feature may also possess.
-Use <div class="code"><pre><em><a href="v.edit.html">v.edit</a></em> map=inputname tool=select</pre></div>
+The <i>feature ID</i> is an internal (unique) geometry ID that all vector
+primitives possess, and is separate from any category the feature may
+also possess.
+Use <div class="code"><pre>
+ <em><a href="v.edit.html">v.edit</a></em> map=inputname tool=select
+</pre></div>
to find out the geometry ids of certain features.
+
<h2>EXAMPLES</h2>
<h3>Report vector categories</h3>
@@ -91,17 +99,22 @@
v.category input=roads option=print layer=1 id=1-50
</pre></div>
+
<h2>SEE ALSO</h2>
<em>
+<a href="v.centroids.html">v.centroids</a>,
<a href="v.db.connect.html">v.db.connect</a>,
+<a href="v.edit.html">v.edit</a>,
<a href="v.to.db.html">v.to.db</a>
</em>
+
<h2>AUTHOR</h2>
Radim Blazek, ITC-irst, Trento, Italy<br>
-Modified (the id parameter) by Martin Landa, FBK-irst (formerly ITC-irst), Trento, Italy, 2008/02
+Modified (the id parameter) by Martin Landa,
+ FBK-irst (formerly ITC-irst), Trento, Italy, 2008/02
<p>
<i>Last changed: $Date$</i>
More information about the grass-commit
mailing list