Sample Raster Values
sample_raster_valuesExtract pixel values from a raster at given points, reprojecting coordinates if a CRS is provided. Optionally sample a specific band; flags indicate off-raster or transform failures.
Instructions
Sample raster pixel values at points. 'points' is a list of [x, y] in crs when given (reprojected to the raster), else in the raster's CRS. Omit 'band' to sample all bands. A null value is nodata when outside_extent is false; outside_extent true means the point is off the raster (often a CRS mix-up); transform_failed marks a point the raster's CRS cannot express.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crs | No | ||
| band | No | ||
| points | Yes | ||
| raster_layer | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||