Set Raster Style
set_raster_styleApply raster symbology styles including singleband pseudocolor, grayscale, RGB multiband, and hillshade. Configure color ramps, classification, and contrast to enhance raster visualization.
Instructions
Set raster symbology. style_type: 'singleband_pseudocolor' (color ramp over one band), 'singleband_gray', 'multiband_color' (RGB), 'hillshade'. min_value/max_value default to the band statistics. color_ramp: QGIS ramp name (e.g. 'Viridis', 'Spectral', 'RdYlGn'). classification: continuous|equal_interval|quantile. interpolation: interpolated|discrete|exact. gradient (gray): black_to_white|white_to_black. contrast: none|stretch|clip|stretch_clip. hillshade uses band, azimuth, altitude, z_factor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| band | No | ||
| azimuth | No | ||
| classes | No | ||
| altitude | No | ||
| contrast | No | stretch | |
| gradient | No | black_to_white | |
| layer_id | Yes | ||
| red_band | No | ||
| z_factor | No | ||
| blue_band | No | ||
| max_value | No | ||
| min_value | No | ||
| color_ramp | No | Viridis | |
| green_band | No | ||
| style_type | Yes | ||
| interpolation | No | interpolated | |
| classification | No | continuous |