[Mapserver-users] Fw: Setting outline width of polygons ?

Michael Smith msmith at sanangelompo.org
Thu Sep 18 10:21:59 EDT 2003


This is a multi-part message in MIME format.

------=_NextPart_000_002F_01C37DC6.4FE4D7E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Lars,

I am using mapserver 3.6 on windows 2000 IIS 5.0.  I use the same method as
the other listers to widen the outline of my city limits polygon and my
school boundary polygon shapefiles.

SYMBOL
   NAME "circle"
   TYPE ellipse
   FILLED true
   POINTS
     1 1
   END
END

LAYER
  NAME "City Limits"
  GROUP "citylimit"
  STATUS DEFAULT
  DATA "limit97_region"
  TYPE POLYGON
  CLASS
    NAME "City Limits"
    SYMBOL 'circle'
    SIZE 5 #changes size of line
    OUTLINECOLOR 254 177 25
    COLOR -1 -1 -1 #fills inside of circle
  END # Class
END # Layer

This works for me.  Hope this helps.
  -----Original Message-----
  From: mapserver-users-admin at lists.gis.umn.edu
[mailto:mapserver-users-admin at lists.gis.umn.edu]On Behalf Of Lars V. Nielsen
  Sent: Thursday, September 18, 2003 8:34 AM
  To: mapserver-users at lists.gis.umn.edu
  Subject: [Mapserver-users] Fw: Setting outline width of polygons ?


  List,

  Maybe I needed to specify that I'm (still) using MapScript 3.6.3 on
Win2000 ?

  I've implemented a work-around, inserting the same layer twice, both as a
polygon layer and as a line layer.
  Apparently I still can't set the line width, though ?

  But it did solve another problem, being that the polygon layer was set to
50% transparency, yielding a weak perimeter line too.

  Best regards / Med venlig hilsen
  Lars V. Nielsen
  --------------------------------------------------------
  Hvenegaard & Meklenborg
  Rugaardsvej 55, DK-5000 Odense C
  Denmark
  http://www.hvm.dk
  ----- Original Message -----
  From: Lars V. Nielsen
  To: mapserver-users at lists.gis.umn.edu
  Sent: Thursday, September 18, 2003 10:54 AM
  Subject: Setting outline width of polygons ?


  List,

  Is it possible to set the width of a polygon outline in the MAP file ?

  I've tried using the SIZE setting (in a CLASS object), but it doesn't seem
to work.
  And I can't seem to find any reference to such a feature in the online
docs.

  Am I missing something basic here ?

  Best regards / Med venlig hilsen
  Lars V. Nielsen
  --------------------------------------------------------
  Hvenegaard & Meklenborg
  Rugaardsvej 55, DK-5000 Odense C
  Denmark
  http://www.hvm.dk

------=_NextPart_000_002F_01C37DC6.4FE4D7E0
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>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1226" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D546541814-18092003>Lars,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D546541814-18092003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D546541814-18092003>I am=20
using mapserver 3.6 on windows 2000 IIS 5.0.&nbsp; I use the same method =
as the=20
other listers to widen the outline of my city limits polygon and my =
school=20
boundary polygon shapefiles.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D546541814-18092003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D546541814-18092003>SYMBOL<BR>&nbsp;&nbsp; NAME =
"circle"<BR>&nbsp;&nbsp;=20
TYPE ellipse<BR>&nbsp;&nbsp; FILLED true<BR>&nbsp;&nbsp;=20
POINTS<BR>&nbsp;&nbsp;&nbsp;&nbsp; 1 1<BR>&nbsp;&nbsp;=20
END<BR>END</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D546541814-18092003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D546541814-18092003>LAYER<BR>&nbsp; NAME "City Limits"<BR>&nbsp; =
GROUP=20
"citylimit"<BR>&nbsp; STATUS DEFAULT<BR>&nbsp; DATA =
"limit97_region"<BR>&nbsp;=20
TYPE POLYGON<BR>&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp; NAME "City=20
Limits"<BR>&nbsp;&nbsp;&nbsp; SYMBOL 'circle'<BR>&nbsp;&nbsp;&nbsp; SIZE =
5=20
#changes size of line<BR>&nbsp;&nbsp;&nbsp; OUTLINECOLOR 254 177=20
25<BR>&nbsp;&nbsp;&nbsp; COLOR -1 -1 -1 #fills inside of =
circle<BR>&nbsp; END #=20
Class<BR>END # Layer</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D546541814-18092003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D546541814-18092003>This=20
works for me.&nbsp; Hope this helps.</SPAN></FONT></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B>=20
  mapserver-users-admin at lists.gis.umn.edu=20
  [mailto:mapserver-users-admin at lists.gis.umn.edu]<B>On Behalf Of =
</B>Lars V.=20
  Nielsen<BR><B>Sent:</B> Thursday, September 18, 2003 8:34 =
AM<BR><B>To:</B>=20
  mapserver-users at lists.gis.umn.edu<BR><B>Subject:</B> [Mapserver-users] =
Fw:=20
  Setting outline width of polygons ?<BR><BR></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>List,</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Maybe I needed to specify that I'm =
(still) using=20
  MapScript 3.6.3 on Win2000 ?</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>I've implemented a work-around, =
inserting the=20
  same layer twice, both as a polygon layer and as a line =
layer.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>Apparently I still can't set the line =
width,=20
  though ?</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>But it did solve another problem, =
being that the=20
  polygon layer was set to 50% transparency, yielding a weak perimeter =
line=20
  too.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV>Best regards / Med venlig hilsen<BR>Lars V.=20
  =
Nielsen<BR>--------------------------------------------------------<BR>Hv=
enegaard=20
  &amp; Meklenborg<BR>Rugaardsvej 55, DK-5000 Odense C<BR>Denmark<BR><A=20
  href=3D"http://www.hvm.dk">http://www.hvm.dk</A></DIV>
  <DIV style=3D"FONT: 10pt arial">----- Original Message -----=20
  <DIV style=3D"BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A=20
  title=3DLVN at hvm.dk href=3D"mailto:LVN at hvm.dk">Lars V. Nielsen</A> =
</DIV>
  <DIV><B>To:</B> <A title=3Dmapserver-users at lists.gis.umn.edu=20
  =
href=3D"mailto:mapserver-users at lists.gis.umn.edu">mapserver-users at lists.g=
is.umn.edu</A>=20
  </DIV>
  <DIV><B>Sent:</B> Thursday, September 18, 2003 10:54 AM</DIV>
  <DIV><B>Subject:</B> Setting outline width of polygons ?</DIV></DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=3DArial size=3D2>List,</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Is it possible to set the width of a =
polygon=20
  outline in the MAP file ?</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>I've tried using the SIZE setting (in =
a CLASS=20
  object), but it doesn't seem to work.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>And I can't seem to find any =
reference to such a=20
  feature&nbsp;in the online docs.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Am I missing something basic here =
?</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Best regards / Med venlig =
hilsen<BR>Lars V.=20
  =
Nielsen<BR>--------------------------------------------------------<BR>Hv=
enegaard=20
  &amp; Meklenborg<BR>Rugaardsvej 55, DK-5000 Odense C<BR>Denmark<BR><A=20
  =
href=3D"http://www.hvm.dk">http://www.hvm.dk</A></FONT></DIV></BLOCKQUOTE=
></BODY></HTML>

------=_NextPart_000_002F_01C37DC6.4FE4D7E0--





More information about the mapserver-users mailing list