added on-the-fly raster calculator idea

Martin Dobias 2021-02-12 11:58:15 +01:00
parent 1bb6d5bb66
commit d85175793f

@ -5,6 +5,18 @@ QGIS project would like to participate in Google Summer of Code 2021 under the u
# Project ideas # Project ideas
## On-the-fly Raster Calculator
* Expected outcome: a new type of styling for raster layers defined by an expression
* Skills required: Qt/C++
* Mentors: Martin Dobias (@wonder-sk), Peter Petrik (@PeterPetrik)
* Difficulty: easy-medium
* Test for student: write a python script that could be run in QGIS, which will load a raster file, create QgsRasterCalculator object and use it to write a new raster file after applying a simple expression to the source raster.
QGIS already has an integrated raster calculator, where user can enter an expression that will apply raster algebra functions to one or more input rasters and produce a new raster file. It would be useful to have the raster calculator available also as a new renderer for raster layers. The calculation would be run on the fly when map gets rendered. This would avoid the need to create derived raster files and it would also allow users quickly see the preview of raster algebra expressions they have entered. An example would be on-the-fly calculation of NDVI (https://en.wikipedia.org/wiki/Normalized_difference_vegetation_index).
There are already two similar raster renderers (hillshading, contours) that work in a similar way and could be used for inspiration.
## QGIS 3D: support for 3D Tiles and I3S ## QGIS 3D: support for 3D Tiles and I3S
* Expected outcome: QGIS can consume remote 3D datasets (e.g. 3D buildings) * Expected outcome: QGIS can consume remote 3D datasets (e.g. 3D buildings)