sf::st_length
How sf runs Measure Length: sf::st_length.
| Engine | sf |
|---|---|
| Tool name | sf::st_length |
| Interface | r |
| Implements | Measure Length |
| Documentation | Not stated |
| Effects | modifies input: no, network: no |
| Notes | Not stated |
| 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 |
How it maps to the operation
| Operation parameter | Parameter here | Note |
|---|---|---|
layer | x | Not stated |
unit | Not stated | always crs-units. CRS units (metres in a metric CRS); convert afterwards for other units. |
Differences from the operation
- Returns a units object; 0 for polygons (st_perimeter measures outlines).
Harvested by the r-packages harvester from engine version
1.1.3. Names can change when an engine is harvested again.