Convert vector types: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''Q:''' I want to change closed lines into areas. I tried to convert lines into boundaries with v.type, but now, how to add centroids to turn them into areas? The lines look as follows. In v.digit:
'''Q:''' I want to change closed lines into areas. I tried to convert lines into boundaries with {{cmd|v.type}}, but now, how to add centroids to turn them into areas? The lines look as follows. In {{cmd|v.digit}}:
 
 
[[Image:V_digit.png]]
[[Image:V_digit.png]]


'''GRASS 6:'''


* Run v.category:
'''A:''' Run {{cmd|v.centroids}} to add centroid(s).
 
== See also ==


    v.category in=boundaries out=areas option=add
* [[Convert points to lines]]
* [[Convert lines to areas]]


[[Category:FAQ]]
[[Category:FAQ]]
[[Category:Vector]]

Latest revision as of 16:59, 29 December 2011

Q: I want to change closed lines into areas. I tried to convert lines into boundaries with v.type, but now, how to add centroids to turn them into areas? The lines look as follows. In v.digit:



A: Run v.centroids to add centroid(s).

See also