viz.raster_histogram_plot
Draw the distribution of a raster band's values.
- Kind:
standard - Network: no
- Memory: 8Gi
| Name | Type | Required | Default | Description |
|---|
raster | file (GeoTIFF) | yes | | Raster to summarise. |
band | number | no | 1 | Band. |
bins | number | no | 50 | Number of bins. |
log_y | boolean | no | False | Logarithmic count axis. |
max_pixels | number | no | 4096 | Longest edge, in pixels, the raster is read at. |
title | string | no | blank | Chart title. ${item.key} labels each chart inside a map. |
format | string | no | png | Image format. html is a static, self-contained page. One of png, svg, html. |
Outputs🔗
| Name | Type | Description |
|---|
chart | file (PNG) | The histogram. |
Example🔗
- id: "@raster_histogram_plot"
name: viz.raster_histogram_plot
inputs: [{block: "@dem", output: raster, as: raster}]
args:
bins: 40