v.generalize
How GRASS runs Simplify: v.generalize.
| Engine | GRASS |
|---|---|
| Tool name | v.generalize |
| Interface | cli |
| Implements | Simplify |
| Preset | {"method":"douglas"} |
| 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 |
type | string | no | line,boundary,area | line, boundary, area | multiple values |
output | string | yes | Not stated | Not stated | output vector |
error | string | no | Not stated | Not stated | output vector |
method | string | yes | Not stated | douglas, douglas_reduction, lang, reduction, reumann, boyle, sliding_averaging, distance_weighting, chaiken, hermite, snakes, network, displacement | Not stated |
threshold | float | yes | Not stated | 0-1000000000 | Not stated |
look_ahead | integer | no | 7 | Not stated | Not stated |
reduction | float | no | 50 | 0-100 | Not stated |
slide | float | no | 0.5 | 0-1 | Not stated |
angle_thresh | float | no | 3 | 0-180 | Not stated |
degree_thresh | integer | no | 0 | Not stated | Not stated |
closeness_thresh | float | no | 0 | 0-1 | Not stated |
betweeness_thresh | float | no | 0 | Not stated | Not stated |
alpha | float | no | 1 | Not stated | Not stated |
beta | float | no | 1 | Not stated | Not stated |
iterations | integer | no | 1 | Not stated | Not stated |
cats | string | no | Not stated | Not stated | cats name |
where | string | no | Not stated | Not stated | sql_query name |
flag_l | boolean | no | Not stated | Not stated | flag -l |
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 |
tolerance | threshold | Not stated |
unit | Not stated | always crs-units. Threshold is in the map units of the GRASS project. |
Differences from the operation
- Offers many other methods (reduction, Lang, Reumann-Witkam, smoothing); this mapping uses Douglas-Peucker.
Harvested by the grass harvester from engine version
8.5.0. Names can change when an engine is harvested again.