<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi Kreshna,<br>&nbsp; I don't think it is possible to achieve this with the cgi. Possibly some<br>application logic using mapscript could do. I have a simpler idea though,<br>if the map will be used for just presenting the data (not analysing) you could<br>assign an OPACITY parameter to the layers A,B,C and color them with<br>different colors. Thus, the intersection will be mixed with the colors of the layers<br>providing the "effect" you want.<br><br>&gt; Date: Fri, 8 May 2009 08:20:00 -0700<br>&gt; From: kreshna_iceheart@yahoo.com<br>&gt; To: mapserver-users@lists.osgeo.org<br>&gt; Subject: [mapserver-users] Dynamic intersection color with MapServer?<br>&gt; <br>&gt; <br>&gt; Let's say I have three layers: A, B, and C.<br>&gt; <br>&gt; If layer A intersects with layer B, I want the intersection area to be colored with, say, red. Only the intersection area.<br>&gt; <br>&gt; If layer A intersects with layer C, I want the intersection area to be colored with, say, green. Again, only the intersection area.<br>&gt; <br>&gt; Is it possible to do such thing with MapServer? For starter, is it possible for MapServer to dynamically "generate" the intersection area on the fly? And it is possible to assign specific color to the intersection area?<br>&gt; <br>&gt; Many thanks,<br>&gt; -Kresh <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt;       <br>&gt; _______________________________________________<br>&gt; mapserver-users mailing list<br>&gt; mapserver-users@lists.osgeo.org<br>&gt; http://lists.osgeo.org/mailman/listinfo/mapserver-users<br><br /><hr />Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! <a href='http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us' target='_new'>Try it!</a></body>
</html>