showing lines of overlapping polygons

John Fletcher jfletcher at LATITUDEGEO.COM
Wed Feb 9 09:13:14 PST 2005


Erwin,

Something like the following might give you the result you're after -
like Frank mentioned, it's difficult to do this in one layer, but you
can group a couple:

  LAYER
    GROUP 'poly'
    NAME 'poly_test_outline'
    TYPE POLYGON
    STATUS ON
    DATA 'poly23939'
    CLASS
      STYLE
        OUTLINECOLOR 0 0 0
      END
    END
  END

  LAYER
    GROUP 'poly'
    NAME 'poly_test'
    TRANSPARENCY 60
    TYPE POLYGON
    STATUS ON
    DATA 'poly23939'
    CLASS
      STYLE
        COLOR 225 225 185
      END
    END
  END

You can change the order of the layers based on whether or not you want
the poly outlines in front of or behind the transparent poly fill.

John 

> -----Original Message-----
> From: UMN MapServer Users List 
> [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Erwin v.d. Bij
> Sent: Wednesday, February 09, 2005 4:26 AM
> To: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: [UMN_MAPSERVER-USERS] showing lines of overlapping polygons
> 
> Hello,
> 
> I want to see the lines of 2 or more polygons which do 
> overlap. Polygons are in the same layer. Polygons are filled 
> with a style. Currently, I see only all the lines of the 
> polygon which is obvious on top. I've experienced with the 
> TRANSPARANCY attribute, but that did not help. Do you have any ideas?
> 



More information about the MapServer-users mailing list