[Mapserver-users] Change the thickness of the lines in MapServer

Stepan Kafka stepan.kafka at centrum.cz
Thu Dec 5 07:17:37 EST 2002


This is a multi-part message in MIME format.

------=_NextPart_000_0032_01C29C60.AE667960
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

MensajeYes, it is possible. You can use OVERLAYSYMBOL combined with
OVERLAYOUTLINESIZE Here is an example:

...
CLASS
    SYMBOL "p-diagr" #fill symbol
    SIZE 5
    MAXSIZE 5
    MINSIZE 5
    COLOR 255 180 80
    OVERLAYOUTLINECOLOR 255 0 0 #here is the trick - will force outline
symbol insted of overlay one
    OVERLAYSYMBOL "l-solid" #line symbol
    OVERLAYSIZE 2
    OVERLAYMAXSIZE 3
END
...
Stepan Kafka
Help Service Remote Sensing
tel: +420-327514118
mailto:kafka at email.cz
http://www.bnhelp.cz

  -----Puvodní zpráva-----
  Od: mapserver-users-admin at lists.gis.umn.edu
[mailto:mapserver-users-admin at lists.gis.umn.edu]za uživatele Manuel Marichal
Pérez
  Odesláno: 5. prosince 2002 12:53
  Komu: Lista MapSever
  Predmet: [Mapserver-users] Change the thickness of the lines in MapServer



  Hi all.

  Does anybody know if it's possible to change the thickness of the lines
(in polygons layers) in MapServer?.
  I'm unable to do that.

  If I use a SYMBOL to do that all is right when the layer is not filled.
  But if the layer is filled, then the symbol is used to fill the layer
instead of the border of it.

  Anybody know a way to increase the thickness of a FILLED layer?.

  Thanks,
  Manolo


------=_NextPart_000_0032_01C29C60.AE667960
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Mensaje</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D606540712-05122002><FONT face=3DArial color=3D#0000ff =
size=3D2>Yes,=20
it is possible. You can use&nbsp;OVERLAYSYMBOL combined with =
OVERLAYOUTLINESIZE=20
Here is an example:</FONT></SPAN></DIV>
<DIV><SPAN class=3D606540712-05122002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D606540712-05122002><FONT face=3DArial color=3D#0000ff =

size=3D2>...</FONT></SPAN></DIV>
<DIV><SPAN class=3D606540712-05122002><FONT face=3DArial color=3D#0000ff =

size=3D2>CLASS&nbsp;</FONT></SPAN><SPAN class=3D606540712-05122002><FONT =
face=3DArial=20
color=3D#0000ff size=3D2><BR>&nbsp;&nbsp;&nbsp; SYMBOL "p-diagr" #fill=20
symbol<BR>&nbsp;&nbsp;&nbsp; SIZE 5<BR>&nbsp;&nbsp;&nbsp;&nbsp;MAXSIZE=20
5<BR>&nbsp;&nbsp;&nbsp;&nbsp;MINSIZE 5<BR>&nbsp;&nbsp;&nbsp; COLOR 255 =
180=20
80<BR>&nbsp;&nbsp;&nbsp;&nbsp;<FONT color=3D#ff0000>OVERLAYOUTLINECOLOR =
255 0=20
0</FONT> #here is the trick - will force outline symbol insted of =
overlay=20
one<BR>&nbsp;&nbsp;&nbsp;&nbsp;<FONT color=3D#ff0000>OVERLAYSYMBOL=20
"l-solid"</FONT> #line&nbsp;symbol<BR><FONT=20
color=3D#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;OVERLAYSIZE&nbsp;2<BR>&nbsp;&nbsp=
;&nbsp;=20
OVERLAYMAXSIZE 3<BR></FONT>END</FONT></SPAN></DIV>
<DIV><SPAN class=3D606540712-05122002><FONT face=3DArial color=3D#0000ff =

size=3D2>...</FONT></SPAN></DIV>
<DIV><SPAN class=3D606540712-05122002>
<P><SPAN class=3D606540712-05122002></SPAN><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>S<SPAN class=3D606540712-05122002>tepan Kafka</SPAN><BR>Help =
Service Remote=20
Sensing<BR>tel: +420-327514118<BR></FONT><A =
href=3D"mailto:kafka at email.cz"=20
target=3D_blank><FONT face=3DArial =
size=3D2>mailto:kafka at email.cz</FONT></A><BR><A=20
href=3D"http://www.bnhelp.cz/" target=3D_blank><FONT face=3DArial=20
size=3D2>http://www.bnhelp.cz</FONT></A><FONT face=3DArial =
color=3D#0000ff size=3D2>=20
</FONT></P></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader><FONT face=3D"Times New Roman"=20
  size=3D2>-----P&#367;vodn=ED zpr=E1va-----<BR><B>Od:</B>=20
  mapserver-users-admin at lists.gis.umn.edu=20
  [mailto:mapserver-users-admin at lists.gis.umn.edu]<B>za u=9Eivatele</B> =
Manuel=20
  Marichal P=E9rez<BR><B>Odesl=E1no:</B> 5. prosince 2002 =
12:53<BR><B>Komu:</B>=20
  Lista MapSever<BR><B>P&#345;edm&#283;t:</B> [Mapserver-users] Change =
the thickness of=20
  the lines in MapServer<BR><BR></FONT></DIV>
  <DIV><FONT face=3DTahoma size=3D2></FONT>&nbsp;</DIV>
  <DIV><SPAN class=3D189535811-04122002><FONT face=3DArial size=3D2>Hi=20
  all.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D189535811-04122002><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D189535811-04122002><FONT face=3DArial size=3D2>Does =
anybody know=20
  if it's possible to change the thickness of the lines (in polygons =
layers) in=20
  MapServer?.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D189535811-04122002><FONT face=3DArial><FONT =
size=3D2>I'm unable=20
  to do that.<SPAN class=3D425225111-05122002><FONT=20
  color=3D#0000ff>&nbsp;</FONT></SPAN></FONT></FONT></SPAN></DIV>
  <DIV><SPAN class=3D189535811-04122002><FONT face=3DArial><FONT =
size=3D2><SPAN=20
  class=3D425225111-05122002></SPAN></FONT></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D189535811-04122002><FONT face=3DArial><FONT =
size=3D2><SPAN=20
  class=3D425225111-05122002><FONT color=3D#0000ff>If I use a SYMBOL to =
do that all=20
  is right when the layer is not=20
filled.</FONT></SPAN></FONT></FONT></SPAN></DIV>
  <DIV><SPAN class=3D189535811-04122002><FONT face=3DArial><FONT =
size=3D2><SPAN=20
  class=3D425225111-05122002><FONT color=3D#0000ff>But&nbsp;if the layer =
is filled,=20
  then the symbol&nbsp;is&nbsp;used to fill&nbsp;the layer instead of =
the=20
  </FONT></SPAN></FONT></FONT></SPAN><SPAN =
class=3D189535811-04122002><FONT=20
  face=3DArial><FONT size=3D2><SPAN class=3D425225111-05122002><FONT=20
  color=3D#0000ff>border of&nbsp;it.</FONT>&nbsp;<FONT color=3D#0000ff>=20
  </FONT></SPAN></FONT></FONT></SPAN></DIV>
  <DIV><SPAN class=3D189535811-04122002><FONT face=3DArial><FONT =
color=3D#0000ff=20
  size=3D2><SPAN =
class=3D425225111-05122002></SPAN></FONT></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D189535811-04122002><FONT face=3DArial><FONT =
color=3D#0000ff=20
  size=3D2><SPAN class=3D425225111-05122002>Anybody know a way to =
increase the=20
  thickness of a FILLED layer?.</SPAN></FONT></FONT></SPAN></DIV>
  <DIV><SPAN class=3D189535811-04122002><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D189535811-04122002><FONT face=3DArial=20
  size=3D2>Thanks,</FONT></SPAN></DIV>
  <DIV><SPAN class=3D189535811-04122002><FONT face=3DArial=20
  size=3D2>Manolo</FONT></SPAN></DIV>
  <DIV><SPAN class=3D189535811-04122002><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0032_01C29C60.AE667960--




More information about the mapserver-users mailing list