[GRASS-user] Build boundary/area from polyline

   I've done this in the past but cannot find my notes, and I'm not seeing
the proper vector module to convert a polyine to an area. I've looked at all
vector module descriptions and have not found the proper tool.

   The analytical area vector map consisted of two lines; v.build.polylines
connected the two into a single line. v.centroids did not add a centroid to
the map because I've not found the module that converts the polyline to a
boundary. 'v.build map=anal_area option=build' does not do this.

   Please show me what I'm not seeing.

TIA,

Rich

Rich Shepard wrote

I've done this in the past but cannot find my notes, and I'm not seeing
the proper vector module to convert a polyine to an area. I've looked at
all
vector module descriptions and have not found the proper tool.

   The analytical area vector map consisted of two lines;
v.build.polylines
connected the two into a single line. v.centroids did not add a centroid
to
the map because I've not found the module that converts the polyline to a
boundary. 'v.build map=anal_area option=build' does not do this.

   Please show me what I'm not seeing.

TIA,

Rich

_______________________________________________
grass-user mailing list

grass-user@.osgeo

https://lists.osgeo.org/mailman/listinfo/grass-user

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

?

-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Build-boundary-area-from-polyline-tp5323398p5323401.html
Sent from the Grass - Users mailing list archive at Nabble.com.

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