Sample Raster Values
sample_raster_valuesExtract pixel values from a raster layer at specified point coordinates. Supports selecting a single band or all bands. For points in a different CRS, transform coordinates first.
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 | |||