<div class="gmail_quote">Greetings raster devs,<br><br>I took a day to implement the outstanding tickets that I had for some of the accessors related to rotated rasters:<br><ul><li><a href="http://trac.osgeo.org/postgis/ticket/928" target="_blank">#928 - Implement ST_PixelWidth<br>

</a></li><li><a href="http://trac.osgeo.org/postgis/ticket/929" target="_blank">#929 - Implement ST_PixelHeight<br></a></li><li><a href="http://trac.osgeo.org/postgis/ticket/936" target="_blank">#936 - Implement ST_Rotation<br>
</a></li><li><a href="http://trac.osgeo.org/postgis/ticket/482" target="_blank">#482 - Implement ST_SetRotation</a><br>
</li></ul>If someone could take a moment to review the patches attached to those tickets, that would be helpful. One of the things that I did not do was to limit the rotation amount in ST_SetRotation. I was reading more on the world file, and it sounds like a raster shouldn't be rotated more than 90 degrees -- should that be a hard limit in ST_Rotation?  If the rotation exceeds 90 degrees, does the affine transformation go haywire? In addition, the UpperLeft position should realistically be changed. Otherwise, you could technically define different rasters that cover the same area, but with different UpperLeft coordinates (imagine if the geotransform put the UpperLeft pixel at the lower right, and applied a 180 degree rotation).<br>

<br>Thanks,<br>David<br></div>