Difference between revisions of "Convert vector types"

From GRASS-Wiki
Jump to: navigation, search
(v.category)
 
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?
+
'''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:
 +
[[Image:V_digit.png]]
  
 
'''GRASS 6:'''
 
'''GRASS 6:'''

Revision as of 07:00, 10 August 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: V digit.png

GRASS 6:

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