The src.affine property of Rasterio datasets is deprecated.
We do the right thing in rasterstats.io
|
self.affine = guard_transform(self.src.transform) |
But elsewhere, in main and in the tests, we access the affine property directly.
Also we use the affine argument name everywhere - this should be changed (in a backwards compatible way) to transform