weiji14 / cog3pio

Cloud-optimized GeoTIFF ... Parallel I/O 🦀
Apache License 2.0
29 stars 0 forks source link

:sparkles: Get affine transformation from GeoTIFF #8

Closed weiji14 closed 6 months ago

weiji14 commented 6 months ago

Implement transform method in CogReader struct to get affine transformation matrix from GeoTIFF via ModelPixelScaleTag and ModelTiepointTag.

Uses the AffineTransform struct from the geo crate. Note that the fields in the struct (a, b, xoff, c, d, yoff) are not made public, but it might be useful if it was!

TODO:

TODO in the future:

References: