Skip to content

Fully remove the use of the rasterio affine property #155

@perrygeo

Description

@perrygeo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions