You can do this using an Affine transform. GDAL Python API solution is at 
https://gis.stackexchange.com/questions/408386/rotating-raster-using-python
[https://mailtrack.io/trace/link/3421685d0fc5341428d4aec3575450a45132f703?url=https%3A%2F%2Fgis.stackexchange.com%2Fquestions%2F408386%2Frotating-raster-using-python&userId=8747767&signature=ad33731e269a50d0]

---
Ujaval Gandhi
Spatial Thoughts
www.spatialthoughts.com
[https://mailtrack.io/trace/link/8a3e8e7a8c5d14be3dd980b240946403e1f8024c?url=http%3A%2F%2Fwww.spatialthoughts.com&userId=8747767&signature=9b2a49a0cd6960e4]




[data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=3D]
On Sun, Jul 16, 2023 at 3:57 AM Scott <pub...@postholer.com> wrote:


> Someone over on reddit.com/r/gis [http://reddit.com/r/gis] asked a seemingly
> simple question, "How
> to rotate a raster by some value using xmin/ymax as the center of rotation?"
> 
> The poster was trying to do this using C++, GDAL libs. Any thoughts on
> how to do this with code or gdal utils?
> 
> Thanks!
> 
> _______________________________________________
> gdal-dev mailing list
> gdal-dev@lists.osgeo.org [gdal-dev@lists.osgeo.org]
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
> [https://lists.osgeo.org/mailman/listinfo/gdal-dev]
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to