geocube.api.core.make_geocube
How geocube runs Rasterize: geocube.api.core.make_geocube.
| Engine | geocube |
|---|---|
| Tool name | geocube.api.core.make_geocube |
| Interface | python |
| Implements | Rasterize |
| Documentation | Not stated |
| Effects | modifies input: no, network: no |
| Notes | Not stated |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
vector_data | Union | yes | Not stated | Not stated | Not stated |
measurements | Optional | no | Not stated | Not stated | Not stated |
datetime_measurements | Optional | no | Not stated | Not stated | Not stated |
output_crs | Any | no | Not stated | Not stated | Not stated |
resolution | Union | no | Not stated | Not stated | Not stated |
align | Optional | no | Not stated | Not stated | Not stated |
geom | Union | no | Not stated | Not stated | Not stated |
like | Union | no | Not stated | Not stated | Not stated |
fill | float | no | Not stated | Not stated | default nan |
group_by | Optional | no | Not stated | Not stated | Not stated |
interpolate_na_method | Optional | no | Not stated | Not stated | Not stated |
categorical_enums | Optional | no | Not stated | Not stated | Not stated |
rasterize_function | Optional | no | Not stated | Not stated | Not stated |
How it maps to the operation
| Operation parameter | Parameter here | Note |
|---|---|---|
layer | vector_data | Not stated |
resolution | Not stated | A pair, (-res, res). |
field | measurements | A list of columns to rasterize. |
value | Not stated | Rasterizes columns; add a constant column for a fixed value. |
Differences from the operation
- Returns an xarray Dataset with one variable per column.
Harvested by the python-packages harvester from engine version
0.7.1. Names can change when an engine is harvested again.