terra::as.polygons
How terra runs Raster To Polygons: terra::as.polygons.
| Engine | terra |
|---|---|
| Tool name | terra::as.polygons |
| Interface | r |
| Implements | Raster To Polygons |
| Documentation | Not stated |
| Effects | modifies input: no, network: no |
| Notes | S4 generic: parameters gathered from all its methods; each method takes a subset. |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
x | any | yes | Not stated | Not stated | Not stated |
... | dots | no | Not stated | Not stated | further arguments passed on |
crs | any | no | "" | Not stated | Not stated |
round | any | no | TRUE | Not stated | Not stated |
aggregate | any | no | TRUE | Not stated | Not stated |
values | any | no | TRUE | Not stated | Not stated |
na.rm | any | no | TRUE | Not stated | Not stated |
na.all | any | no | FALSE | Not stated | Not stated |
extent | any | no | FALSE | Not stated | Not stated |
digits | any | no | 0 | Not stated | Not stated |
How it maps to the operation
| Operation parameter | Parameter here | Note |
|---|---|---|
raster | x | Not stated |
eight_connected | Not stated | always no |
Differences from the operation
- With aggregate = TRUE (the default) all cells with the same value become one polygon, connected or not.
Harvested by the r-packages harvester from engine version
1.9.50. Names can change when an engine is harvested again.