Note: This document is for an older version of GRASS GIS that is outdated. You should upgrade, 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
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.
# NC sample data set
v.fixed.segmentpoints vector=streams@PERMANENT cat=40102 dir=C:\tmp distance=25
v.segment
Helmut Kudrnovsky
SOURCE CODE
Available at:
v.fixed.segmentpoints source code
(history)
Latest change: Sun Apr 24 13:39:25 2022 in commit: ccb017d268c67f09d998402456a1355a89c42459
Main index |
Vector index |
Topics index |
Keywords index |
Graphical index |
Full index
© 2003-2022
GRASS Development Team,
GRASS GIS 8.0.3dev Reference Manual