[GRASS-user] specifying length of segments to v.out.vtk

Markus Neteler neteler at osgeo.org
Tue Oct 7 08:27:42 PDT 2014


On Tue, Oct 7, 2014 at 4:32 PM, Jitendra Kumar <jitendra.ncsu at gmail.com> wrote:
> When using v.out.vtk to export a vector map with boundary GRASS breaks and
> writes out the segments in file. Is there a way to control the nominal size
> of the segments when exporting it to VTK format. For example, I want to be
> able to specify it to creates segments that are 1m in legth, or 5m. In other
> words some way to control the resolution (number of points) to define the
> lines/boundary in a vector. Is there any other export routine I can use to
> achieve that?

(untested)

Perhaps you split them prior to export?
http://grass.osgeo.org/grass70/manuals/v.split.html

If they are too short, then
http://grass.osgeo.org/grass70/manuals/v.build.polylines.html

Markus


More information about the grass-user mailing list