The rasterio.transform module has several methods for generating an instance of affine.Affine. I don't think these methods are specific to rasterio, and given that they just call Affine class methods, I think it would be useful to define these here.
If you think this is a good idea I'm happy to write up a PR!
@geospatial-jeff thanks for the suggestion. I'm going to decline your offer because I want to keep this module free of GIS concepts like pixels and raster data georeferencing.
The
rasterio.transform
module has several methods for generating an instance ofaffine.Affine
. I don't think these methods are specific to rasterio, and given that they just callAffine
class methods, I think it would be useful to define these here.If you think this is a good idea I'm happy to write up a PR!