[mapserver-users] Dynamic intersection color with MapServer?

Steve Lime Steve.Lime at dnr.state.mn.us
Fri May 8 11:33:45 EDT 2009


You have to use a tool like PostgreSQL/PostGIS to do such a thing. It can create true
geometries based on the intersection of other geometries. You'd have to do this as
two separate layers though, AB intersections and AC intersections since the intersections
would be defined in the connection string for PostGIS.

Steve

>>> On 5/8/2009 at 10:20 AM, in message
<107901.78725.qm at web110606.mail.gq1.yahoo.com>, "kreshna_iceheart at yahoo.com"
<kreshna_iceheart at yahoo.com> wrote:

> Let's say I have three layers: A, B, and C.
> 
> If layer A intersects with layer B, I want the intersection area to be 
> colored with, say, red. Only the intersection area.
> 
> If layer A intersects with layer C, I want the intersection area to be 
> colored with, say, green. Again, only the intersection area.
> 
> 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?
> 
> Many thanks,
> -Kresh 
> 
> 
> 
> 
>       
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org 
> http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the mapserver-users mailing list