v.parallel
How GRASS runs Offset Curve: v.parallel.
| Engine | GRASS |
|---|---|
| Tool name | v.parallel |
| Interface | cli |
| Implements | Offset Curve |
| Preset | {"side":"left"} |
| 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_all name |
output | string | yes | Not stated | Not stated | output vector |
distance | float | yes | Not stated | 0-100000000 | Not stated |
minordistance | float | no | Not stated | 0-100000000 | Not stated |
angle | float | no | 0 | Not stated | Not stated |
side | string | yes | right | left, right, both | Not stated |
tolerance | float | no | Not stated | 0-100000000 | Not stated |
flag_r | boolean | no | Not stated | Not stated | flag -r |
flag_b | boolean | no | Not stated | Not stated | flag -b |
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 | distance | Not stated |
unit | Not stated | always crs-units. The distance is in the map units of the GRASS project. |
Differences from the operation
- GRASS 8.5's v.parallel returns a line of one vertex for a straight two-vertex line; lines of three or more vertices come out right.
- The distance must be positive: side chooses left, right (the default) or both; this mapping sets side = left to match a positive canonical distance.
- flag r makes rounded corners; flag b a buffer-like loop around the line.
Harvested by the grass harvester from engine version
8.5.0. Names can change when an engine is harvested again.