1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
<h2>DESCRIPTION</h2>
<em>v.category</em> attaches, deletes or reports vector categories to map
geometry.
<h2>NOTES</h2>
Use <em>v.to.db</em> to upload the related categories a linked attribute
table.
<h2>EXAMPLES</h2>
<em>1) Report vector categories</em><br>
<b>v.category in=</b><em>testmap</em> <b>option=</b><em>report</em>
<pre>
FIELD 1:
type count min max
point 0 0 0
line 1379 1 1379
boundary 0 0 0
centroid 0 0 0
area 0 0 0
all 1379 1 1379
</pre>
<P>
<em>2) Delete all vector categories in field 1</em><br>
<b>v.category in=</b><em>testmap</em> out=</b><em>outmap</em>
<b>option=</b><em>del</em>
<p>
<em>3) Add vector categories in field 1 with step=2</em><br>
<b>v.category in=</b><em>outmap</em> out=</b><em>stepmap</em>
<b>option=</b><em>add</em> <b>step=</b><em>2</em>
<pre>
FIELD 1:
type count min max
point 0 0 0
line 1379 1 2757
boundary 0 0 0
centroid 0 0 0
area 0 0 0
all 1379 1 2757
</pre>
<P>
<em>4) Add categories/centroids to a vector map without categories</em><br>
<b>v.category in=</b><em>wkt</em> out=</b><em>wktnew</em>
<b>option=</b><em>add</em>
<P>
Results can be tested using <em><a HREF="d.what.vect.html">d.what.vect</a></em>.
<h2>SEE ALSO</h2>
<em><a href="v.to.db.html">v.to.db</a></em>
<h2>AUTHOR</h2>
Radim Blazek, ITC-Irst, Trento, Italy
<p><i>Last changed: $Date: 2005/02/20 04:20:33 $</i>
|