Sample Raster Values
sample_raster_valuesExtract pixel values from a raster at given points. Specify a band or sample all bands. Points must be in the raster's CRS; transform coordinates first if needed.
Instructions
Sample raster pixel values at points. 'points' is a list of [x, y] in the raster's CRS. Omit 'band' to sample all bands. Use transform_coordinates first if your points are in a different CRS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| band | No | ||
| points | Yes | ||
| raster_layer | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||