[mapserver-users] Make points Transparent?

Doyon, Jean-Francois Jean-Francois.Doyon@ccrs.nrcan.gc.ca
Mon, 26 Aug 2002 17:14:16 -0400


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C24D45.890A48F0
Content-Type: text/plain;
	charset="ISO-8859-1"

Hello,
 
You shoulde able to achieve this using the "TRANSPARENCY" keyword I just
added to the 3.6 documentation ... Adding this in your layer definition
should solve your problem :)
 
J.F.

-----Original Message-----
From: Eric L. Blevins [mailto:eblevins@insight.rr.com]
Sent: Sunday, August 25, 2002 4:24 PM
To: mapserver-users@lists.gis.umn.edu
Subject: [mapserver-users] Make points Transparent?


Here is my layer that puts some points in the map.
 
Is there any way to make the points somewhat transparent so you can see
things behind them?
 
Sometimes there are so many points in an area they completely cover previous
layers and I would like to make the points somewhat "see-through" so I can
see the layers underneath.
 
LAYER   NAME signal
        TYPE POINT
        STATUS off
        DATA "nettry/signalwepoff"
        maxscale 15000
        CLASS
                EXPRESSION ([SIGNAL] <= 100 && [SIGNAL] > 70)
                NAME "Open - Signal Strong"
                SYMBOL "circle"
                SIZE 8
                COLOR 100 0 0
                END
        CLASS
                EXPRESSION ([SIGNAL] <= 70 && [SIGNAL] > 60)
                NAME "Open - Signal medium"
                SYMBOL "circle"
                SIZE 8
                COLOR 150 0 0
                END
        CLASS
                EXPRESSION ([SIGNAL] <= 60 && [SIGNAL] > 40)
                NAME "Open - Signal low"
                SYMBOL "circle"
                SIZE 8
                COLOR 200 0 0
                END
        CLASS
                EXPRESSION ([SIGNAL] <= 40 && [SIGNAL] >= 0)
                NAME "Open - Signal weak"
                SYMBOL "circle"
                SIZE 8
                COLOR 255 0 0
                END
END



------_=_NextPart_001_01C24D45.890A48F0
Content-Type: text/html;
	charset="ISO-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">


<META content="MSHTML 6.00.2716.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=726531121-26082002><FONT face=Arial color=#0000ff 
size=2>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=726531121-26082002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=726531121-26082002><FONT face=Arial color=#0000ff size=2>You 
shoulde able to achieve this using the "TRANSPARENCY" keyword I just added to 
the 3.6 documentation ... Adding this in your layer definition should solve your 
problem :)</FONT></SPAN></DIV>
<DIV><SPAN class=726531121-26082002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=726531121-26082002><FONT face=Arial color=#0000ff 
size=2>J.F.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Eric L. Blevins 
  [mailto:eblevins@insight.rr.com]<BR><B>Sent:</B> Sunday, August 25, 2002 4:24 
  PM<BR><B>To:</B> mapserver-users@lists.gis.umn.edu<BR><B>Subject:</B> 
  [mapserver-users] Make points Transparent?<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial size=2>Here is my layer that puts some points in the 
  map.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Is there any way to make the points somewhat 
  transparent so you can see things behind them?</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Sometimes there are so many points in an area 
  they completely cover previous layers and I would like to make the points 
  somewhat "see-through" so I can see the layers underneath.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>LAYER&nbsp;&nbsp; NAME 
  signal<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbs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