<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-7"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
If you are indeed using MapServer 5.4, you should be able to control
the width of a polygon's outline by specifying an OUTLINECOLOUR and a
WIDTH. I just tested with the 5.4 svn branch and had no trouble.<br>
<br>
I'm not sure what you mean by it seems that MapServer cannot read a
symbol file for polygons - I have no problem using it to specify a fill
pattern, but I don't think it can be used to specify an outline style.<br>
<br>
Christy<br>
<br>
On 01/05/2010 02:59 PM, Andreas Douvalis wrote:
<blockquote cite="mid:296751.35897.qm@web23708.mail.ird.yahoo.com"
type="cite">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td
style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit; -x-system-font: none;"
valign="top">
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB">I test chameleon 2.6 with Mapserver 5.4 and I have
problem with Polygons Symbols.<o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB"> <o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB">I have already altered my Symbol.sym file to start
with "SYMBOLSET" and finish with "END".<o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB"> <o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB"> In fact I have problem only with polygons and their
WIDTH. Lines and points works perfect.<o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB"> <o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB">it seems like mapserver can not read Symbol.sym for
polygons.<o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB"> <o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB">Here is a part of Layer section in map file: <o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB"> <o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB">//------------------------------------------------------------------------------------------<o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB"> <o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB">LAYER<br>
NAME "Perifereies"<br>
GROUP "</span><span style="font-family: Arial; font-size: 10pt;">Διοικητικά</span><span
style="font-family: Arial; font-size: 10pt;"> </span><span
style="font-family: Arial; font-size: 10pt;">Όρια</span><span
style="font-family: Arial; font-size: 10pt;" lang="EN-GB">"<br>
STATUS OFF<br>
DATA
"C:\ms4w\apps\chameleon\samples\dataGreek\Dioikitika\Perifereies"<br>
TYPE POLYGON<br>
UNITS METERS<br>
LABELITEM "NAME" <br>
METADATA<br>
wms_name "</span><span
style="font-family: Arial; font-size: 10pt;">Περιφέρειες</span><span
style="font-family: Arial; font-size: 10pt;" lang="EN-GB">"<br>
wms_title "</span><span
style="font-family: Arial; font-size: 10pt;">Περιφέρειες</span><span
style="font-family: Arial; font-size: 10pt;" lang="EN-GB">"<br>
SPATIALSEARCH "NAME,</span><span
style="font-family: Arial; font-size: 10pt;">Έδρα</span><span
style="font-family: Arial; font-size: 10pt;" lang="EN-GB">_</span><span
style="font-family: Arial; font-size: 10pt;">Περιφ</span><span
style="font-family: Arial; font-size: 10pt;" lang="EN-GB">,POP_1991_,POP_2001_,Embad_km2"<br>
SPATIALSEARCHLIST "NAME,</span><span
style="font-family: Arial; font-size: 10pt;">Έδρα</span><span
style="font-family: Arial; font-size: 10pt;" lang="EN-GB">_</span><span
style="font-family: Arial; font-size: 10pt;">Περιφ</span><span
style="font-family: Arial; font-size: 10pt;" lang="EN-GB">,POP_1991_,POP_2001_,Embad_km2"
<br>
END <br>
TEMPLATE "Perifereies.dbf"<br>
CLASS<br>
NAME "Perifereies"<br>
STYLE<br>
SYMBOL "circle"<br>
SIZE 3 <o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB"> COLOR 12 112 255 <br>
OUTLINECOLOR 0 112 255 <br>
WIDTH 5 <br>
END<br>
END<br>
END<o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB"> <o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB">//------------------------------------------------------------------------------------------<o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB"> <o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB">If I dont use '..........SYMBOL "circle".........' and I
write :<o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB"> <o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB"> STYLE<br>
COLOR 12 112 255 <br>
OUTLINECOLOR 0 112 255 <br>
WIDTH 5 <br>
END<o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB"></span> </div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB"> everything is ok but then I cannot control outline
width.<o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB"> </span><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB"><span style=""> </span><o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB"><o:p> </o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB">Regarding the outputformat here is the part of my map
file: <o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB"><o:p> </o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB">OUTPUTFORMAT<o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB"><span style=""> </span>NAME 'AGG_Q'<o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB"><span style=""> </span>DRIVER AGG/PNG<o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB"><span style=""> </span>IMAGEMODE RGB<o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB"><span style=""> </span>FORMATOPTION
"QUANTIZE_FORCE=ON"<o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB"><span style=""> </span>FORMATOPTION
"QUANTIZE_DITHER=OFF"<o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB"><span style=""> </span>FORMATOPTION
"QUANTIZE_COLORS=256"<o:p></o:p></span></div>
<div><span style="font-family: Arial; font-size: 10pt;"
lang="EN-GB">END<o:p></o:p></span></div>
<p style="margin: 0cm 0cm 0pt;" class="MsoNormal"><span style=""
lang="EN-GB"><o:p><font face="Times New Roman" size="3"> </font></o:p></span>
</p>
<p style="margin: 0cm 0cm 0pt;" class="MsoNormal"><span style=""
lang="EN-GB"><o:p><font face="Times New Roman" size="3">I HAVE ALREADY
CHECK THE ABOVE LINK BUT THERE IS NO CHANGE REGARDING THE OUTLINE WIDTH</font></o:p></span>
</p>
<p style="margin: 0cm 0cm 0pt;" class="MsoNormal"><span style=""
lang="EN-GB"><o:p></o:p></span>
</p>
<p style="margin: 0cm 0cm 0pt;" class="MsoNormal"><span style=""
lang="EN-GB"><o:p><a moz-do-not-send="true"
href="http://mapserver.org/faq.html#how-do-i-have-a-polygon-that-has-both-a-fill-and-an-outline-with-a-width">http://mapserver.org/faq.html#how-do-i-have-a-polygon-that-has-both-a-fill-and-an-outline-with-a-width</a></o:p></span>
</p>
<p style="margin: 0cm 0cm 0pt;" class="MsoNormal"><span style=""
lang="EN-GB"><o:p><font face="Times New Roman" size="3"> </font></o:p></span>
</p>
<p style="margin: 0cm 0cm 0pt;" class="MsoNormal"><span style=""
lang="EN-GB"><font size="3"><font face="Times New Roman">ANY HELP
PLEASE<o:p></o:p></font></font></span></p>
</td>
</tr>
</tbody>
</table>
<br>
<hr size="1"><font face="Arial" size="-1"> Χρησιμοποιείτε Yahoo!<br>
Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την
καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων <br>
<a moz-do-not-send="true"
href="http://login.yahoo.com/config/mail?.intl=gr">http://login.yahoo.com/config/mail?.intl=gr</a>
</font>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
</body>
</html>