<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    I am in need of some guidance, I am trying to create an "active
    hatch/Fill" as part of a style im working on. What I want is for a
    hatch to rotate depending on the orientation of a Polygon.<br>
    For example, here is the same entity rotated, with the hatch
    rotating.<br>
    <br>
    <img src="cid:part1.04080909.03070101@opw.ie" alt="" height="386"
      width="210"><br>
    The issue is I am working on a database, onto which I cant add any
    data (additional columns) to the tables, I would like to do this
    from within the styling.<br>
    You can use an expression to denote the angle, so I was hoping to do
    it that way.<br>
    I was looking to utilize the geometry of a bounding box, and
    calculate the angle of the diagonal, using something like<br>
    <br>
    180*atan((ymax - ymin)/(xmax - xmin))/$pi + 90<br>
    <br>
    But I am not having any luck....If there is no way at present to do
    this, Might I put it forward as a possible new feature?<br>
    <br>
    Regards,<br>
    <br>
    Richard.<br>
    <br>
    <br>
    <br>
  <!-- http://www.unicodetools.com/unicode/convert-to-html.php -->
<div style="font-family: Arial; font-size: 8pt;">
OPW - Ag féachaint don am atá le teacht - Ag caomhnú ón am atá thart<br/>
OPW - Looking to the future - Caring for the past<br/>
<a href="http://www.opw.ie/"><img height="76" width="494" src="http://www.opw.ie/en/media/opw-email-banner.png"/></a><br/>
Email Disclaimer: <a href="http://www.opw.ie/en/disclaimer/">http://www.opw.ie/en/disclaimer/</a>
</div>

</body>
</html>