New answers tagged

2

You are mistaken about test2; it is working, you are only looking at 1 image, in a small region where that image has roughly the same value. If you zoom out, or inspect the entire collection, you'll see variation. However, your math is equivalent to dividing by -100 and taking the ceiling; that would be much faster & easier. return img.multiply(-1)....


0

You can use python to create the classes to use in reclassifybytable: import math rlayer = QgsProject.instance().mapLayersByName('nh_67_4')[0] stats = rlayer.dataProvider().bandStatistics(1, QgsRasterBandStats.All) MIN, MAX = stats.minimumValue, stats.maximumValue #142.04449462890625 920.567626953125 n = 100 bins = [math.floor(r/100)*100 for r in range(...


Top 50 recent answers are included