[gdal-dev] Rotating a raster?

Scott public at postholer.com
Mon Jul 17 07:42:15 PDT 2023


Thanks! I'll pass that along.

On 7/17/23 04:26, Ujaval Gandhi wrote:
> 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?w=cHVibGljQHBvc3Rob2xlci5jb20&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?w=cHVibGljQHBvc3Rob2xlci5jb20&url=http%3A%2F%2Fwww.spatialthoughts.com&userId=8747767&signature=9b2a49a0cd6960e4>
> 
> 
> 
> On Sun, Jul 16, 2023 at 3:57 AM Scott <public at 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 at lists.osgeo.org <mailto:gdal-dev at lists.osgeo.org>
>     https://lists.osgeo.org/mailman/listinfo/gdal-dev
>     <https://lists.osgeo.org/mailman/listinfo/gdal-dev>
> 


More information about the gdal-dev mailing list