157 | | Pros: Hypothetically less overhead.[[BR]] |
158 | | Cons: Every functions implying access to a band should then have this parameter when in most case it would be equal to 1. In many cases it makes no sence to have to specify a band parameter since it is the whole raster that we want to export, including all the bands. |
159 | | |
160 | | Pierre: More I think about it more I think that the first option is the best one... |
161 | | |
162 | | mloskot: Perhaps there is a compromise in form of two sets of functions: 1) RT_As* which always burn the whole raster (all bands) 2) RT_BandAs* which takes number of band as a parameter and return only this requested band. |
| 157 | Pros: Hypothetically less overhead.[[BR]] |
| 158 | Cons: Every functions implying access to a band should then have this parameter when in most case it would be equal to 1. In many cases it makes no sence to have to specify a band parameter since it is the whole raster that we want to export, including all the bands. |
| 159 | |
| 160 | Pierre: More I think about it more I think that the first option is the best one... |
| 161 | |
| 162 | mloskot: Perhaps there is a compromise in form of two sets of functions: 1) RT_As* which always burn the whole raster (all bands) 2) RT_BandAs* which takes number of band as a parameter and return only this requested band. |