Convert vector types: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
No edit summary
(v.centroids)
Line 4: Line 4:
[[Image:V_digit.png]]
[[Image:V_digit.png]]


'''GRASS 6:'''
'''GRASS 6.0:'''


* Run v.category:
* Run v.category:


     v.category in=boundaries out=areas option=add
     v.category in=boundaries out=areas option=add
'''GRASS 6.2 and more recent:'''
* Run [http://grass.itc.it/grass63/manuals/html63_user/v.centroids.html v.centroids] to add centroid(s)


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

Revision as of 09:41, 4 October 2006

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: