GRASS logo

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: Monday Jan 30 19:52:26 2023 in commit: cac8d9d848299297977d1315b7e90cc3f7698730


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

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