GRASS logo

Note: This addon document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade your GRASS GIS installation, and read the current addon manual page.

NAME

v.fixed.segmentpoints - segment points along a vector line with fixed distances

KEYWORDS

vector, geometry

SYNOPSIS

v.fixed.segmentpoints
v.fixed.segmentpoints --help
v.fixed.segmentpoints vector=name cat=integer dir=name prefix=prefix [distance=integer] [--help] [--verbose] [--quiet] [--ui]

Flags:

--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--ui
Force launching GUI dialog

Parameters:

vector=name [required]
Name of input vector map
Or data source for direct OGR access
cat=integer [required]
Category of a vector line
dir=name [required]
Directory where the output will be found
prefix=prefix [required]
output prefix (must start with a letter)
distance=integer
fixed distance between segment points
Default: 100

Table of contents

DESCRIPTION

v.fixed.segmentpoints creates segment points along a vector line with fixed distances by using the v.segment module. A category of one line has to be given. Start and end point of the line will be considered. The distance option is limited to an integer number. As a prefix (starting with a letter) has to be given, resulting vectors are prefix_singleline and prefix_segmentpoints, resulting external files are prefix_segmentpoints and prefix_segmentpoints.csv.

The next to last point may be closer to the last point as the given distance. Distance information for every point is added to the vector attribute table. The attribute is then exported as CSV file.

The category (cat) of the input line is stored in the column cat_line of the prefix_segmentpoints attribute table.

EXAMPLE

  # NC sample data set
  v.fixed.segmentpoints vector=streams@PERMANENT cat=40102 dir=C:\tmp distance=25
 

DEPENDENCIES

SEE ALSO

v.segment

AUTHOR

Helmut Kudrnovsky

SOURCE CODE

Available at: v.fixed.segmentpoints source code (history)

Latest change: Mon Jun 28 07:54:09 2021 in commit: 1cfc0af029a35a5d6c7dae5ca7204d0eb85dbc55


Note: This addon document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade your GRASS GIS installation, and read the current addon manual page.

Main index | Vector index | Topics index | Keywords index | Graphical index | Full index

© 2003-2023 GRASS Development Team, GRASS GIS 7.8.8dev Reference Manual