Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "dynamic elevation range per band" mode for rasters (Request in QGIS) #8979

Open
qgis-bot opened this issue Mar 21, 2024 · 0 comments
Open
Labels
3.38 QGIS 3.38 new features
Milestone

Comments

@qgis-bot
Copy link
Collaborator

Request for documentation

From pull request qgis/QGIS#56900
Author: @nyalldawson
QGIS version: 3.38

**Add "dynamic elevation range per band" mode for rasters **

PR Description:

This accompanies qgis/QGIS#56889, and exposes a new mode where the elevation range for raster bands are calculated using a pair of qgis expressions (for the lower and upper elevation range).

image

In this mode, the user can specify a QGIS expression for the lower and upper value corresponding to raster bands, using variables like @band, @band_name and @band_description.

E.g

@band * 100

Can be used when each band represents a 100 m vertical slice of data. (You can mix these with all the other standard qgis global/project/layer variables and expression functions)

The expression will be evaluated when required to determine the actual elevation range corresponding to each band.

This differs from the other "Fixed Elevation Range Per Band" mode in that "Fixed Elevation Range Per Band" requires users to manually enter an elevation for each band separately, and these values are then treated as constants. That mode works best for rasters with non-regular steps in the band elevation values, while this new mode is better for regular band elevation steps.

Commits tagged with [need-docs] or [FEATURE]

@github-actions github-actions bot added the 3.38 QGIS 3.38 new features label Mar 21, 2024
@github-actions github-actions bot added this to the QGIS 3.40 milestone Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.38 QGIS 3.38 new features
Projects
None yet
Development

No branches or pull requests

1 participant