New answers tagged


my problem is the following: i have 130 raster in a folder and i would like to create a new raster containing the sum of the 130 raster cell values. someone could help?


In the labeling-dialogue, go to the placement-tab and check if "repeat" is set to 0 (no repetition) - based on QGIS 3.8, but if I remember well it was the same back in version 2.18


I found out a solution to the problem of overwrite block values in the original provider. It is necessary to use two additional QgsRasterDataProvider methods: 'setEditable' and 'writeBlock'. However, following code (with only two additional lines including above methods) modify original raster as expected resulting raster and written raster has the values of ...


Tested with QGIS 3.6.1 As mentioned in the documentation, you can create a label and insert this code to get the current scale for the map with the item name Map 0: map_get( item_variables('Map 0'), 'map_scale')

Top 50 recent answers are included