How to interact with GRASS GIS vector map topology "level/layers" from terminal/comma

المشرف العام

Administrator
طاقم الإدارة
How to interact with GRASS GIS vector map topology "level/layers" from terminal/comma

Is there anybody out there that can maybe assist in the most simplest form of code to call on command line to "export topology" (which is level 2 information in GRASS) as separate spatial data, as explained below?

So I have imported cad lines via dxf file containing only lines (a network of pipelines connected in a geographic pattern) into GRASS GIS via command line. This data I convert to polylines via GRASS v.build.polylines combining individual line segments into polylines in between the connection points. (All "joined" lines that do not intersect with other lines are "concatenated" into a single polyline, thus the network only consists of connected polylines)

The resultant vector map has three "layers" (in GRASS only first "layer", other two as "level") reported by QGis GRASS Plugin (seemingly only in QGis GUI?) The "names" assigned to the "level" or "layer" is given by the QGis GRASS Plugin as 1:"Line", 2:"line_topo" and 3:"point_topo" and more elaborately,

<ol> Line -> polylines as expected
 
أعلى