<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=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:"Lucida Grande";}
@font-face
{font-family:Menlo;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
p.p1, li.p1, div.p1
{mso-style-name:p1;
margin:0in;
margin-bottom:.0001pt;
font-size:8.5pt;
font-family:Menlo;
color:black;}
p.p2, li.p2, div.p2
{mso-style-name:p2;
margin:0in;
margin-bottom:.0001pt;
font-size:8.5pt;
font-family:Menlo;
color:black;}
span.s1
{mso-style-name:s1;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
span.EmailStyle26
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@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="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Names aren’t valid (or useful) at the style-level. If you remove those lines it should work and you’ll get stacked styles for each feature. --Steve<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt">From:</span></b><span style="font-size:11.0pt"> Cechini, Matthew F. (GSFC-423.0)[Science Systems & Applications, Inc.] <matthew.f.cechini@nasa.gov>
<br>
<b>Sent:</b> Monday, September 14, 2020 7:27 AM<br>
<b>To:</b> Lime, Steve D (MNIT) <steve.lime@state.mn.us>; mapserver-users@lists.osgeo.org<br>
<b>Subject:</b> Re: [EXTERNAL] RE: Multiple Styles for a LAYER/CLASS<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:11.0pt">
<hr size="2" width="100%" align="center">
</span></div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">We’re using 7.0.1… admittedly a bit of an older version. Mapserver balks on NAME in the STYLE element in that version.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">Matt<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;color:black">.................................................................</span><span style="font-size:11.0pt;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Lucida Grande";color:black">Matthew Cechini</span><span style="font-size:11.0pt;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Lucida Grande";color:black">Contractor, Science Systems and Applications, Inc.</span><span style="font-size:11.0pt;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Lucida Grande";color:black">NASA GIBS Systems/Software Engineer</span><span style="font-size:11.0pt;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Lucida Grande";color:black">410.205.6272</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt"><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="color:black">From: </span></b><span style="color:black">"Lime, Steve D (MNIT)" <<a href="mailto:steve.lime@state.mn.us">steve.lime@state.mn.us</a>><br>
<b>Date: </b>Friday, September 11, 2020 at 5:17 PM<br>
<b>To: </b>Matthew Cechini <<a href="mailto:matthew.f.cechini@nasa.gov">matthew.f.cechini@nasa.gov</a>>, "<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>" <<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>><br>
<b>Subject: </b>[EXTERNAL] RE: Multiple Styles for a LAYER/CLASS<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Matt: Actually that syntax is supported (except for the style NAME attribute) and you can have multiple styles inside a class. What version are you using? --Steve</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt">From:</span></b><span style="font-size:11.0pt"> mapserver-users <<a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a>>
<b>On Behalf Of </b>Cechini, Matthew F. (GSFC-423.0)[Science Systems & Applications, Inc.]<br>
<b>Sent:</b> Friday, September 11, 2020 2:37 PM<br>
<b>To:</b> <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<b>Subject:</b> [mapserver-users] Multiple Styles for a LAYER/CLASS</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:11.0pt">
<hr size="2" width="100%" align="center">
</span></div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">Greetings,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> I would like to provide multiple styles for the same LAYER/CLASS in our mapserver configuration. Ideally that looks something like this, though of course this syntax isn’t currently supported.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"><span style="font-size:10.0pt;font-family:Consolas">
</span></span><span class="s1"><span style="font-size:10.0pt;font-family:Consolas">CLASS</span></span><o:p></o:p></p>
<p class="p1" style="text-indent:.5in"><span class="s1"><span style="font-size:10.0pt;font-family:Consolas"> NAME "Thermal Anomalies"</span></span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"><span style="font-size:10.0pt;font-family:Consolas">
</span></span><span class="s1"><span style="font-size:10.0pt;font-family:Consolas">STYLE
</span></span><span class="apple-converted-space"><span style="font-size:10.0pt;font-family:Consolas"> </span></span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"><span style="font-size:10.0pt;font-family:Consolas"> NAME
</span></span><span class="s1"><span style="font-size:10.0pt;font-family:Consolas">'default'</span></span><span class="apple-converted-space"><span style="font-size:10.0pt;font-family:Consolas"> </span></span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"><span style="font-size:10.0pt;font-family:Consolas"> </span></span><span class="s1"><span style="font-size:10.0pt;font-family:Consolas">SYMBOL 'circle'</span></span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"><span style="font-size:10.0pt;font-family:Consolas">
</span></span><span class="s1"><span style="font-size:10.0pt;font-family:Consolas">COLOR</span></span><span class="apple-converted-space"><span style="font-size:10.0pt;font-family:Consolas">
</span></span><span class="s1"><span style="font-size:10.0pt;font-family:Consolas">240 40 40</span></span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"><span style="font-size:10.0pt;font-family:Consolas"> </span></span><span class="s1"><span style="font-size:10.0pt;font-family:Consolas">OUTLINECOLOR</span></span><span class="apple-converted-space"><span style="font-size:10.0pt;font-family:Consolas">
</span></span><span class="s1"><span style="font-size:10.0pt;font-family:Consolas">240 40 40</span></span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"><span style="font-size:10.0pt;font-family:Consolas"> </span></span><span class="s1"><span style="font-size:10.0pt;font-family:Consolas">SIZE 3</span></span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"><span style="font-size:10.0pt;font-family:Consolas">
</span></span><span class="s1"><span style="font-size:10.0pt;font-family:Consolas">END</span></span><o:p></o:p></p>
<p class="p2"><span style="font-size:10.0pt;font-family:Consolas"> </span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"><span style="font-size:10.0pt;font-family:Consolas">
</span></span><span class="s1"><span style="font-size:10.0pt;font-family:Consolas">STYLE
</span></span><span class="apple-converted-space"><span style="font-size:10.0pt;font-family:Consolas"> </span></span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"><span style="font-size:10.0pt;font-family:Consolas"> NAME
</span></span><span class="s1"><span style="font-size:10.0pt;font-family:Consolas">'blue'</span></span><span class="apple-converted-space"><span style="font-size:10.0pt;font-family:Consolas">
</span></span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"><span style="font-size:10.0pt;font-family:Consolas"> </span></span><span class="s1"><span style="font-size:10.0pt;font-family:Consolas">SYMBOL 'circle'</span></span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"><span style="font-size:10.0pt;font-family:Consolas">
</span></span><span class="s1"><span style="font-size:10.0pt;font-family:Consolas">COLOR</span></span><span class="apple-converted-space"><span style="font-size:10.0pt;font-family:Consolas">
</span></span><span class="s1"><span style="font-size:10.0pt;font-family:Consolas">0 0 255</span></span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"><span style="font-size:10.0pt;font-family:Consolas"> </span></span><span class="s1"><span style="font-size:10.0pt;font-family:Consolas">OUTLINECOLOR</span></span><span class="apple-converted-space"><span style="font-size:10.0pt;font-family:Consolas">
</span></span><span class="s1"><span style="font-size:10.0pt;font-family:Consolas">0 0 255</span></span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"><span style="font-size:10.0pt;font-family:Consolas"> </span></span><span class="s1"><span style="font-size:10.0pt;font-family:Consolas">SIZE 3</span></span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"><span style="font-size:10.0pt;font-family:Consolas">
</span></span><span class="s1"><span style="font-size:10.0pt;font-family:Consolas">END</span></span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"><span style="font-size:10.0pt;font-family:Consolas">
</span></span><span class="s1"><span style="font-size:10.0pt;font-family:Consolas">END</span></span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> How would I accomplish this given existing functionality?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">Thanks,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">Matt</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.5pt;color:black">.................................................................</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Lucida Grande";color:black">Matthew Cechini</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Lucida Grande";color:black">Contractor, Science Systems and Applications, Inc.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Lucida Grande";color:black">NASA GIBS Systems/Software Engineer</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Lucida Grande";color:black">410.205.6272</span><o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>