| 17 | ---- |
| 18 | == '''Objective 2.0.01 - Being able to get and set the rotation of a raster''' == |
| 19 | |
| 20 | '''ST_SetRotation(raster, angle)''' |
| 21 | |
| 22 | Set the rotation of the raster. This method actually derive values for pixelsizex, pixelsizey, skewx and skewy based on the provided rotation angle. |
| 23 | |
| 24 | '''Open Question:''' |
| 25 | PR: The angle should be provided in radian or in degree? |
| 26 | |
| 27 | '''ST_Rotation(raster) -> float64''' |
| 28 | Return the georeference's rotation angle in (degree or radiant?) derived from the pixel size and the skew. |
| 29 | |
| 30 | PR: I think getting the rotation get no sence since the result of pixelsizes and skew is not necessarily a rotation. It make sence to set it though. |
| 31 | |
| 32 | ---- |
| 33 | == '''Objective 2.0.02 - Being able to create a raster as the expression of another raster''' == |
| 34 | |
| 35 | |
| 36 | |
100 | | |
101 | | ---- |
102 | | == '''Objective 2.0.01 - Being able to get and set the rotation of a raster''' == |
103 | | |
104 | | '''ST_SetRotation(raster, angle)''' |
105 | | |
106 | | Set the rotation of the raster. This method actually derive values for pixelsizex, pixelsizey, skewx and skewy based on the provided rotation angle. |
107 | | |
108 | | '''Open Question:''' |
109 | | PR: The angle should be provided in radian or in degree? |
110 | | |
111 | | '''ST_Rotation(raster) -> float64''' |
112 | | Return the georeference's rotation angle in (degree or radiant?) derived from the pixel size and the skew. |
113 | | |
114 | | PR: I think getting the rotation get no sence since the result of pixelsizes and skew is not necessarily a rotation. It make sence to set it though. |
115 | | |