Convert vector types: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
m (use template)
mNo edit summary
Line 13: Line 13:


* Run {{cmd|v.centroids}} to add centroid(s)
* Run {{cmd|v.centroids}} to add centroid(s)
== See also ==
* [[Convert points to lines]]


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

Revision as of 14:21, 30 June 2010

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:


GRASS 6.0:

  • Run v.category:
   v.category in=boundaries out=areas option=add

GRASS 6.2 and more recent:

See also