v.to.points
How GRASS runs Points Along Lines: v.to.points.
| Engine | GRASS |
|---|---|
| Tool name | v.to.points |
| Interface | cli |
| Implements | Points Along Lines |
| Preset | {"flag_i":true,"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 |
distance | dmax | Not stated |
unit | Not stated | always crs-units. dmax is in the map units of the GRASS project. |
Differences from the operation
- Spaces the points evenly between vertices, both ends included, so a 95 m line at 10 m gets 11 points 9.5 m apart; with one more step than needed when the length is an exact multiple of dmax (a 100 m line at 10 m gets 12 points, 9.09 m apart).
- Keeps every vertex of the line and adds points between them so that none is further apart than dmax; flag i (set by this mapping) does the interpolation, without it only the vertices are output.
Harvested by the grass harvester from engine version
8.5.0. Names can change when an engine is harvested again.