Closed metasim closed 9 months ago
@lnicola
should we also change rasterband and the histogram APIs to return an error?
My apologies, but I'm not following your question... 🤔
We panic there if the index is too large.
ooooh, yeah... let me fix that. Given the option, I think passing the error up is better.
@lnicola Do I still have your approval after this additional change?
https://github.com/georust/gdal/pull/497/commits/75b4c122fbd2e6c487c6647f0bc8fe65ba08f321
[X] I added an entry to
CHANGES.md
if knowledge of this change could be valuable to users.Scope:
Driver::create.*
Rasterband::overview
Dataset::{layer|into_layer|layer_count}
Closes #495