<html w="urn:schemas-microsoft-com:office:word" v="urn:schemas-microsoft-com:vml" xmlns="#DEFAULT" o="urn:schemas-microsoft-com:office:office" m="http://schemas.microsoft.com/office/2004/12/omml">
  <head>
    <style type="text/css">
      <!--
        a:visited { color: purple; text-decoration: underline }
        span.emailstyle17 { color: black; font-family: Calibri,sans-serif }
        li.msonormal { margin-top: 0cm; margin-left: 0cm; margin-right: 0cm; margin-bottom: 0pt; font-family: Calibri,sans-serif; font-size: 11pt }
        a:link { color: blue; text-decoration: underline }
        p.msonormal { margin-top: 0cm; margin-left: 0cm; margin-right: 0cm; margin-bottom: 0pt; font-family: Calibri,sans-serif; font-size: 11pt }
        span.msohyperlink { color: blue; text-decoration: underline }
        span.msohyperlinkfollowed { color: purple; text-decoration: underline }
        div.msonormal { margin-top: 0cm; margin-left: 0cm; margin-right: 0cm; margin-bottom: 0pt; font-family: Calibri,sans-serif; font-size: 11pt }
      -->
    </style>
    
  </head>
  <body vlink="purple" lang="EN-AU" link="blue" style="margin-top: 4px; font-variant: normal; margin-left: 4px; margin-right: 4px; margin-bottom: 1px; line-height: normal">
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Comic Sans MS" size="3">I&#39;ve done some interesting things by setting a background color&#44; and then removing features &#40;NOT these&#41; by coloring them WHITE&#44; which is then converted to transparent&#44; which then works like a mask.</font>    </p>
<br>      
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Comic Sans MS" size="3">bobb</font>    </p>
<br>      
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
      <br>
      &gt;&gt;&gt; &quot;Rahkonen Jukka&quot; &lt;Jukka.Rahkonen@mmmtike.fi&gt; wrote:<br>    </p>
    <table bgcolor="#f3f3f3" style="margin-top: 0; margin-left: 15px; margin-right: 0; margin-bottom: 0; font-size: 1em" border="0">
      <tr>
        <td>
          <div style="padding-left: 7px; border-left: solid 1px #050505">
            <div align="left" dir="ltr">
              <p style="margin-bottom: 0; margin-top: 0">
                <font size="2" color="#0000ff" face="Arial"><span class="297445511-18022011">Hi&#44;</span></font>              </p>
            </div>
            <div align="left" dir="ltr">
              <p style="margin-bottom: 0; margin-top: 0">
                &#160;              </p>
            </div>
            <div align="left" dir="ltr">
              <p style="margin-bottom: 0; margin-top: 0">
                <font size="2" color="#0000ff" face="Arial"><span class="297445511-18022011">I have been thinking sometimes that there could be a huge polygon&#160;that is always drawn on top of the raster layer.&#160;&#32;&#39;Area of interest&#39; polygons should be converted into holes in the mask polygon.&#160;&#32;I have never tried it in practice&#44; though.</span></font>              </p>
            </div>
            <div align="left" dir="ltr">
              <p style="margin-bottom: 0; margin-top: 0">
                &#160;              </p>
            </div>
            <div align="left" dir="ltr">
              <p style="margin-bottom: 0; margin-top: 0">
                <font size="2" color="#0000ff" face="Arial"><span class="297445511-18022011">-Jukka Rahkonen-</span></font>              </p>
            </div>
            <p style="margin-bottom: 0; margin-top: 0">
              <br>
                          </p>
            <blockquote dir="ltr" style="padding-left: 5px; margin-left: 5px; margin-right: 0px; border-left: #0000ff 2px solid">
              <div align="left" dir="ltr" lang="fi" class="OutlookMessageHeader">
                <p style="margin-bottom: 0; margin-top: 0">
                  <hr tabindex="-1">
                  <font face="Tahoma" size="2"><b>L&#228;hett&#228;j&#228;:</b>&nbsp;mapserver-users-bounces@lists.osgeo.org &#91;mailto:mapserver-users-bounces@lists.osgeo.org&#93; <b>Puolesta </b>Gabe Codina<br style="font-size: 2; font-family: Tahoma"><b>L&#228;hetetty:</b>&nbsp;18. helmikuuta 2011 7:05<br style="font-size: 2; font-family: Tahoma"><b>Vastaanottaja:</b>&nbsp;mapserver-users@lists.osgeo.org<br style="font-size: 2; font-family: Tahoma"><b>Aihe:</b>&nbsp;&#91;mapserver-users&#93; Clip Raster with a Polygon<br style="font-size: 2; font-family: Tahoma"></font><br>                </p>
              </div>
              <div>
<br>                  
              </div>
              <div class="WordSection1">
                <p style="margin-bottom: 0; margin-top: 0" class="MsoNormal">
                  Hi<o p="#DEFAULT"></o>                </p>
                <p style="margin-bottom: 0; margin-top: 0" class="MsoNormal">
                  <o p="#DEFAULT">
                  &#160;</o>                </p>
                <p style="margin-bottom: 0; margin-top: 0" class="MsoNormal">
                  I would like to serve a raster layer that is spatially filtered&#32;&#150;&#32;ie the raster should show through where it overlaps with 1 or more polygons.<o p="#DEFAULT"></o>                </p>
                <p style="margin-bottom: 0; margin-top: 0" class="MsoNormal">
                  <o p="#DEFAULT">
                  &#160;</o>                </p>
                <p style="margin-bottom: 0; margin-top: 0" class="MsoNormal">
                  Is mapserver capable of doing this &#63;<o p="#DEFAULT"></o>                </p>
                <p style="margin-bottom: 0; margin-top: 0" class="MsoNormal">
                  <o p="#DEFAULT">
                  &#160;</o>                </p>
                <p style="margin-bottom: 0; margin-top: 0" class="MsoNormal">
                  Gabe Codina<o p="#DEFAULT"></o>                </p>
                <p style="margin-bottom: 0; margin-top: 0" class="MsoNormal">
                  <o p="#DEFAULT">
                  &#160;</o>
                </p>
              </div>
            </blockquote>
          </div>
        </td>
      </tr>
    </table>
  </body>
</html>