style_set_raster_renderer
Set a raster layer's renderer to singleband pseudocolor, hillshade, or multiband color with custom bands and color ramps.
Instructions
Set a raster layer's renderer.
renderer_type is one of:
"singleband_pseudocolor":
parametersmay include band (default 1), color_ramp (QGIS style ramp name, default "Spectral"), min, max (default to the band's actual min/max)."hillshade":
parametersmay include band (default 1), azimuth (default 315), altitude (default 45)."multiband_color":
parametersmay include red_band, green_band, blue_band (default 1/2/3).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer_id | Yes | ||
| parameters | No | ||
| renderer_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||