[GRASS-dev] [GRASS GIS] #2485: v.segment: add options for a fixed distance (enhacement)

GRASS GIS trac at osgeo.org
Thu Jun 11 10:31:09 PDT 2015


#2485: v.segment: add options for a fixed distance (enhacement)
--------------------------+---------------------------------
  Reporter:  hellik       |      Owner:  grass-dev@…
      Type:  enhancement  |     Status:  new
  Priority:  major        |  Milestone:  7.0.0
 Component:  Vector       |    Version:  svn-releasebranch70
Resolution:               |   Keywords:  v.segment
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+---------------------------------

Comment (by mlennert):

 Replying to [comment:3 hellik]:
 > Replying to [ticket:2485 hellik]:
 > > v.segment - Creates points/segments from input vector lines and
 positions.
 > >
 > > v.segment with an option for a fixed distance for points/segments
 (e.g. every 100m) would be nice.
 > >
 > > the last segment may be shorter than the fixed distance.
 >
 > to explain it a bit more: at the moment you can define points/segments
 by stdin input or a text file; that's nice.
 >
 > the enhancement (two options: point or line, fixed distance) would be so
 that no stdin or a text file input is needed.

 I just posted in #2231 a diff to v.split that implements a flag allowing
 to split lines according to a fixed distance. Combining this with
 v.to.points use=node should give you the points as well.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2485#comment:6>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list