<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Created a documentation ticket:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
<a href="https://github.com/mapserver/mapserver/issues/4332">https://github.com/mapserver/mapserver/issues/4332</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Steve<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> mapserver-users-bounces@lists.osgeo.org [mailto:mapserver-users-bounces@lists.osgeo.org]
<b>On Behalf Of </b>Denis Rykov<br>
<b>Sent:</b> Tuesday, May 29, 2012 10:39 AM<br>
<b>To:</b> thomas bonfort<br>
<b>Cc:</b> mapserver-users@lists.osgeo.org<br>
<b>Subject:</b> Re: [mapserver-users] Border style of polygon<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Awesome! It is works now in my 6.1-dev. Unfortunatly I can't find any reference about this feature in docs.<o:p></o:p></p>
<div>
<p class="MsoNormal">On Tue, May 29, 2012 at 4:09 PM, thomas bonfort <<a href="mailto:thomas.bonfort@gmail.com" target="_blank">thomas.bonfort@gmail.com</a>> wrote:<o:p></o:p></p>
<p class="MsoNormal">No, this is currently not possible.<br>
<a href="http://mapserver.org/fr/development/rfc/ms-rfc-72.html" target="_blank">http://mapserver.org/fr/development/rfc/ms-rfc-72.html</a> addresses your<br>
issue, with that you could do:<o:p></o:p></p>
<div>
<p class="MsoNormal"><br>
style<br>
outlinecolor 255 0 0<o:p></o:p></p>
</div>
<p class="MsoNormal"> geomtransform (buffer([shape], -1))<br>
end<o:p></o:p></p>
<div>
<p class="MsoNormal">style<br>
outlinecolor 255 0 0<o:p></o:p></p>
</div>
<p class="MsoNormal"> width 1<br>
geomtransform (buffer([shape], 1))<br>
end<br>
<br>
I have no idea of the timeframe expected for rfc72's implementation,<br>
maybe Steve can give you some info on that.<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
On Tue, May 29, 2012 at 10:58 AM, Denis Rykov <<a href="mailto:rykovd@gmail.com">rykovd@gmail.com</a>> wrote:<br>
> Thanks for quick response!<br>
><br>
> Are any ways to draw internal line (255 255 255 color in your example) with<br>
> transparency (-1 -1 -1 doesnt work, in this case I see red line, but I would<br>
> like to see underlying layer).<br>
><br>
><br>
> On Tue, May 29, 2012 at 3:49 PM, thomas bonfort <<a href="mailto:thomas.bonfort@gmail.com">thomas.bonfort@gmail.com</a>><br>
> wrote:<br>
>><br>
>> something like this should work, with no "symbol"<br>
>><br>
>> style<br>
>> outlinecolor 255 0 0<br>
>> width 3<br>
>> end<br>
>> style<br>
>> outlinecolor 255 255 255<br>
>> width 1<br>
>> end<br>
>><br>
>> --<br>
>> thomas<br>
>><br>
>> On Tue, May 29, 2012 at 10:45 AM, Denis Rykov <<a href="mailto:rykovd@gmail.com">rykovd@gmail.com</a>> wrote:<br>
>> > I have WMS polygonal layer and want to draw polygon's border with the<br>
>> > following style:<br>
>> ><br>
>> > <a href="http://i.stack.imgur.com/J2A7x.png" target="_blank">http://i.stack.imgur.com/J2A7x.png</a><br>
>> ><br>
>> > My symbol's description:<br>
>> ><br>
>> > SYMBOL<br>
>> > NAME "double_line"<br>
>> > TYPE vector<br>
>> > POINTS<br>
>> > 0 0 1 0 -99 -99 0 1 1 1<br>
>> > END<br>
>> > END<br>
>> ><br>
>> > CLASS section in mapfile:<br>
>> ><br>
>> > CLASS<br>
>> > STYLE<br>
>> > OUTLINECOLOR 255 0 0<br>
>> > SYMBOL 'double_line'<br>
>> > SIZE 3<br>
>> > WIDTH 1<br>
>> > END<br>
>> ><br>
>> > But in this case you can see self intersection in polygon's edge:<br>
>> ><br>
>> > <a href="http://i.stack.imgur.com/5Etem.png" target="_blank">http://i.stack.imgur.com/5Etem.png</a><br>
>> ><br>
>> > What is the righ way to get correct border style?<br>
>> ><br>
>> > _______________________________________________<br>
>> > mapserver-users mailing list<br>
>> > <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
>> > <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">
http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
>> ><br>
><br>
><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>