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

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?

Would appreciate any tips.

Thanks,

Jitu

On Tue, Oct 7, 2014 at 4:32 PM, Jitendra Kumar <jitendra.ncsu@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

Thanks. I was able to use v.to.points with ‘dmax’ option for my purpose.

Jitu

···

On Tue, Oct 7, 2014 at 11:27 AM, Markus Neteler <neteler@osgeo.org> wrote:

On Tue, Oct 7, 2014 at 4:32 PM, Jitendra Kumar <jitendra.ncsu@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