PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ PG_FUNCTION_INFO_V1() [26/26]

PG_FUNCTION_INFO_V1 ( RASTER_setRotation  )

Set the rotation of the raster.

This method will change the X Scale, Y Scale, X Skew and Y Skew properties all at once to keep the rotations about the X and Y axis uniform.

This method will set the rotation about the X axis and Y axis based on the pixel size. This pixel size may not be uniform if rasters have different skew values (the raster cells are diamond-shaped). If a raster has different skew values has a rotation set upon it, this method will remove the diamond distortions of the cells, as each axis will have the same rotation.