Commit a8be64e
committed
Raster layer properties : use/save default pyramid resampling method
Currently when you build raster pyramids from the Pyramids tab in raster layer
properties, the default method proposed is the first one in the combobox, i.e. nearest
neighbour. This is generally a poor choice for quality.
This changeset uses the settings gdal/driverOptions/_pyramids/resampling already
used by the Options dialog to select the resampling method (and AVERAGE if not yet
defined), and it saves the user choice when generating them.1 parent 0ac285d commit a8be64e
2 files changed
Lines changed: 23 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
186 | 196 | | |
187 | 197 | | |
188 | 198 | | |
| |||
988 | 998 | | |
989 | 999 | | |
990 | 1000 | | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
991 | 1008 | | |
992 | 1009 | | |
993 | 1010 | | |
| |||
996 | 1013 | | |
997 | 1014 | | |
998 | 1015 | | |
999 | | - | |
| 1016 | + | |
1000 | 1017 | | |
1001 | 1018 | | |
1002 | 1019 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
| 55 | + | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
0 commit comments