geo-registry

v.to.points

How GRASS runs Extract Vertices: v.to.points.

About this implementation
Engine GRASS
Tool name v.to.points
Interface cli
Implements Extract Vertices
Variant of grass-v-to-points
Preset {"use":"vertex"}
Documentation Not stated
Effects modifies input: no, network: no
Notes Not stated
Status active

Parameters

Name Type Required Default Choices Note
input string yes Not stated Not stated vector name
layer string no 1 Not stated layer name
type string no point,line,boundary,centroid,face point, line, boundary, centroid, area, face, kernel multiple values
output string yes Not stated Not stated output vector
use string no Not stated node, start, end, vertex Not stated
dmax float no 100 Not stated Not stated
flag_i boolean no Not stated Not stated flag -i
flag_p boolean no Not stated Not stated flag -p
flag_r boolean no Not stated Not stated flag -r
flag_t boolean no Not stated Not stated flag -t
flag_overwrite boolean no Not stated Not stated flag --overwrite

How it maps to the operation

Operation parameter Parameter here Note
layer input Not stated
output output Not stated

Differences from the operation

  • Polygon outlines are boundaries without a category, which are skipped unless layer = -1, so a polygon gives only its centroid; with layer = -1 the vertices come out with categories in layer 2 only.
  • use = node outputs only the ends of each line; start and end one of them.

Harvested by the grass harvester from engine version 8.5.0. Names can change when an engine is harvested again.