rasterio.warp.reproject
How Rasterio runs Reproject raster: rasterio.warp.reproject.
| Engine | Rasterio |
|---|---|
| Tool name | rasterio.warp.reproject |
| Interface | python |
| Implements | Reproject raster |
| 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 |
destination | any | no | Not stated | Not stated | Not stated |
src_transform | any | no | Not stated | Not stated | Not stated |
gcps | any | no | Not stated | Not stated | Not stated |
rpcs | any | no | Not stated | Not stated | Not stated |
src_crs | any | no | Not stated | Not stated | Not stated |
src_nodata | any | no | Not stated | Not stated | Not stated |
dst_transform | any | no | Not stated | Not stated | Not stated |
dst_crs | any | no | Not stated | Not stated | Not stated |
dst_nodata | any | no | Not stated | Not stated | Not stated |
dst_resolution | any | no | Not stated | Not stated | Not stated |
src_alpha | integer | no | 0 | Not stated | Not stated |
dst_alpha | integer | no | 0 | Not stated | Not stated |
masked | boolean | no | no | Not stated | Not stated |
resampling | integer | no | Not stated | Not stated | default <Resampling.nearest: 0> |
num_threads | integer | no | 1 | Not stated | Not stated |
init_dest_nodata | boolean | no | yes | Not stated | Not stated |
tolerance | number | no | 0.125 | Not stated | Not stated |
warp_mem_limit | integer | no | 0 | Not stated | Not stated |
src_geoloc_array | any | no | Not stated | Not stated | Not stated |
How it maps to the operation
| Operation parameter | Parameter here | Note |
|---|---|---|
raster | source | Not stated |
output | destination | Not stated |
crs | dst_crs | Not stated |
resampling | resampling | nearest = 0; bilinear = 1; cubic = 2; average = 5; mode = 6. A rasterio.enums.Resampling member; the numbers are its values. |
resolution | dst_resolution | Not stated |
Differences from the operation
- Works on arrays; the caller passes the source transform and CRS (src_transform, src_crs) and writes the result.
Harvested by the python-packages harvester from engine version
1.5.2. Names can change when an engine is harvested again.