File: description.html

package info (click to toggle)
grass 6.0.0-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 38,764 kB
  • ctags: 31,167
  • sloc: ansic: 320,650; tcl: 25,669; cpp: 10,098; sh: 9,695; makefile: 4,714; fortran: 1,846; yacc: 493; lex: 462; perl: 133; sed: 1
file content (61 lines) | stat: -rw-r--r-- 1,677 bytes parent folder | download
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>