| 1 |
<h2>DESCRIPTION</h2> |
| 2 |
|
| 3 |
<em>v.type</em> changes the type of geometry primitives. |
| 4 |
|
| 5 |
<p> |
| 6 |
The following vector object types are defined in GRASS: |
| 7 |
|
| 8 |
<ul> |
| 9 |
<li> point: a point;</li> |
| 10 |
<li> line: a directed sequence of connected vertices with two endpoints called nodes;</li> |
| 11 |
<li> boundary: the border line describing an area;</li> |
| 12 |
<li> centroid: a point within a closed ring of boundaries;</li> |
| 13 |
<li> area: the topological composition of a closed ring of boundaries and a centroid;</li> |
| 14 |
<li> face: a 3D area;</li> |
| 15 |
<li> kernel: a 3D centroid in a volume (not yet implemented);</li> |
| 16 |
<li> volume: a 3D corpus, the topological composition of faces and kernel (not yet implemented).</li> |
| 17 |
</ul> |
| 18 |
<p> |
| 19 |
Lines and boundaries can be composed of multiple vertices. |
| 20 |
<p> |
| 21 |
Area topology also holds information about isles. These isles are located |
| 22 |
within that area, not touching the boundaries of the outer area. Isles |
| 23 |
are holes inside the area, and can consist of one or more areas. They are |
| 24 |
used internally to maintain correct topology for areas. |
| 25 |
|
| 26 |
<h2>EXAMPLES</h2> |
| 27 |
|
| 28 |
<em>Convert lines to area boundaries</em><br> |
| 29 |
<div class="code"><pre> |
| 30 |
v.type input=map_l output=map_b from_type=line to_type=boundary |
| 31 |
</pre></div> |
| 32 |
|
| 33 |
In order to create areas, centroids must be added with <b>v.centroids</b>. |
| 34 |
|
| 35 |
<h2>SEE ALSO</h2> |
| 36 |
|
| 37 |
<em> |
| 38 |
<a href="v.centroids.html">v.centroids</a>, |
| 39 |
<a href="v.to.points.html">v.to.points</a> |
| 40 |
</em> |
| 41 |
|
| 42 |
<h2>AUTHOR</h2> |
| 43 |
|
| 44 |
Radim Blazek, ITC-Irst, Trento, Italy |