rasterio.features.shapes
How Rasterio runs Raster To Polygons: rasterio.features.shapes.
| Engine | Rasterio |
|---|---|
| Tool name | rasterio.features.shapes |
| Interface | python |
| Implements | Raster To Polygons |
| Documentation | Not stated |
| Effects | modifies input: no, network: no |
| Notes | Not stated |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
source | any | yes | Not stated | Not stated | Not stated |
mask | any | no | Not stated | Not stated | Not stated |
connectivity | integer | no | 4 | Not stated | Not stated |
transform | any | no | Not stated | Not stated | default Affine(1.0, 0.0, 0.0, 0.0, 1.0, 0.0) |
How it maps to the operation
| Operation parameter | Parameter here | Note |
|---|---|---|
raster | source | Not stated |
eight_connected | connectivity | false = 4; true = 8 |
Differences from the operation
- A generator of (GeoJSON geometry, value) pairs from an array; pass the raster's transform to get map coordinates.
Harvested by the python-packages harvester from engine version
1.5.2. Names can change when an engine is harvested again.