[GRASS-user] Build boundary/area from polyline

Rich Shepard rshepard at appl-ecosys.com
Wed Jun 7 10:57:53 PDT 2017


On Wed, 7 Jun 2017, Helmut Kudrnovsky wrote:

> https://grass.osgeo.org/grass73/manuals/v.type.html

Helmut,

   I did overlook that.

   What I did instead was
v.edit map=anal_area type=line tool=chtype cats=1
v.centroids in=anal_area out=anal
g.rename vector=anal,anal_area

   v.info suggests the results are equivalent to v.type:

Type of map: vector (level: 2)                                           |
Number of points:       0               Number of centroids:  1
Number of lines:        0               Number of boundaries: 1
Number of areas:        1               Number of islands:    1

Thanks,

Rich




More information about the grass-user mailing list