<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=iso-8859-1"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@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:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texte de bulles Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.TextedebullesCar
        {mso-style-name:"Texte de bulles Car";
        mso-style-priority:99;
        mso-style-link:"Texte de bulles";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
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=FR link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>No response&#8230;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>I&#8217;m going to add an issue report inside the Mapserver bug tracker.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:FR'>De&nbsp;:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:FR'> mapserver-users-bounces@lists.osgeo.org [mailto:mapserver-users-bounces@lists.osgeo.org] <b>De la part de</b> Clément MONIER<br><b>Envoyé&nbsp;:</b> mercredi 21 décembre 2011 11:57<br><b>À&nbsp;:</b> mapserver-users@lists.osgeo.org<br><b>Objet&nbsp;:</b> [mapserver-users] RE: [WMS] Styles not working with mode=tile<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Up&nbsp;!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Any hint on this issue&nbsp;??<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Below are exactly the 2 same map&#8217;s requests : one with bbox, one with tile.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>But the 2 output displays are not identical.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><a href="http://mapserver-dev/cgi-bin/mapserv.exe?map=/ms4w/apps/gmap/htdocs/test.map&amp;SERVICE=WMS&amp;REQUEST=GetMap&amp;VERSION=1.3.0&amp;LAYERS=layer1&amp;STYLES=red_style&amp;FORMAT=image/png&amp;BGCOLOR=0xFFFFFF&amp;TRANSPARENT=TRUE&amp;CRS=EPSG:4326&amp;BBOX=47.99,1.40625,48.9225,2.8125&amp;WIDTH=256&amp;HEIGHT=256"><span lang=EN-US>http://mapserver-dev/cgi-bin/mapserv.exe?map=/ms4w/apps/gmap/htdocs/test.map&amp;SERVICE=WMS&amp;REQUEST=GetMap&amp;VERSION=1.3.0&amp;LAYERS=layer1&amp;STYLES=red_style&amp;FORMAT=image/png&amp;BGCOLOR=0xFFFFFF&amp;TRANSPARENT=TRUE&amp;CRS=EPSG:4326&amp;BBOX=47.99,1.40625,48.9225,2.8125&amp;WIDTH=256&amp;HEIGHT=256</span></a><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><a href="http://mapserver-dev/cgi-bin/mapserv.exe?map=/ms4w/apps/gmap/htdocs/test.map&amp;SERVICE=WMS&amp;REQUEST=GetMap&amp;VERSION=1.3.0&amp;LAYERS=layer1&amp;STYLES=red_style&amp;FORMAT=image/png&amp;BGCOLOR=0xFFFFFF&amp;TRANSPARENT=TRUE&amp;CRS=EPSG:4326&amp;tile=129+88+8&amp;mode=tile&amp;WIDTH=256&amp;HEIGHT=256">http://mapserver-dev/cgi-bin/mapserv.exe?map=/ms4w/apps/gmap/htdocs/test.map&amp;SERVICE=WMS&amp;REQUEST=GetMap&amp;VERSION=1.3.0&amp;LAYERS=layer1&amp;STYLES=red_style&amp;FORMAT=image/png&amp;BGCOLOR=0xFFFFFF&amp;TRANSPARENT=TRUE&amp;CRS=EPSG:4326&amp;tile=129+88+8&amp;mode=tile&amp;WIDTH=256&amp;HEIGHT=256</a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>You&#8217;ll find mapfile &amp; shp attached to run the same testcase.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>Thanks &amp; Regards<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>Clément<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:FR'>De&nbsp;:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:FR'> <a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a> <a href="mailto:[mailto:mapserver-users-bounces@lists.osgeo.org]">[mailto:mapserver-users-bounces@lists.osgeo.org]</a> <b>De la part de</b> Clément MONIER<br><b>Envoyé&nbsp;:</b> vendredi 16 décembre 2011 12:36<br><b>À&nbsp;:</b> <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br><b>Objet&nbsp;:</b> [mapserver-users] [WMS] Styles not working with mode=tile<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Hi,<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span lang=EN-US>I&#8217;m applying styles to my list of layers inside a WMS request, using the classgroup/class/group system in the mapfile.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>It works fine when no &#8220;tile mode&#8221; is used (bbox instead) :<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>If I launch this request <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><a href="http://mapserver/cgi-bin/mapserv.exe?map=mymapfile.map&amp;SERVICE=WMS&amp;REQUEST=GetMap&amp;VERSION=1.3.0&amp;LAYERS=layer1&amp;STYLES=style2&amp;FORMAT=image/png&amp;BGCOLOR=0xFFFFFF&amp;TRANSPARENT=TRUE&amp;CRS=EPSG:4326&amp;bbox=-35,10,52,15&amp;WIDTH=600&amp;HEIGHT=600">http://mapserver/cgi-bin/mapserv.exe?map=mymapfile.map&amp;SERVICE=WMS&amp;REQUEST=GetMap&amp;VERSION=1.3.0&amp;LAYERS=layer1&amp;STYLES=style2&amp;FORMAT=image/png&amp;BGCOLOR=0xFFFFFF&amp;TRANSPARENT=TRUE&amp;CRS=EPSG:4326&amp;bbox=-35,10,52,15&amp;WIDTH=600&amp;HEIGHT=600</a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>style2 is applied to layer1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>But it doesn&#8217;t work if the request uses tile mode :<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><a href="http://mapserver/cgi-bin/mapserv.exe?map=mymapfile.map&amp;SERVICE=WMS&amp;REQUEST=GetMap&amp;VERSION=1.3.0&amp;LAYERS=layer1&amp;STYLES=style2&amp;FORMAT=image/png&amp;BGCOLOR=0xFFFFFF&amp;TRANSPARENT=TRUE&amp;CRS=EPSG:4326&amp;tile=0+0+0&amp;tilemode=gmap&amp;mode=tile&amp;WIDTH=600&amp;HEIGHT=600">http://mapserver/cgi-bin/mapserv.exe?map=mymapfile.map&amp;SERVICE=WMS&amp;REQUEST=GetMap&amp;VERSION=1.3.0&amp;LAYERS=layer1&amp;STYLES=style2&amp;FORMAT=image/png&amp;BGCOLOR=0xFFFFFF&amp;TRANSPARENT=TRUE&amp;CRS=EPSG:4326&amp;tile=0+0+0&amp;tilemode=gmap&amp;mode=tile&amp;WIDTH=600&amp;HEIGHT=600</a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>style2 is not applied (default style is applied)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>Is there a way to apply styles in tile mode ?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>Thanks &amp; Regards<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><b><span style='color:#262626;mso-fareast-language:FR'>Clément </span></b><span style='mso-fareast-language:FR'><o:p></o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span lang=EN-US>ps&nbsp;: config <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>MS4W<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>MapServer v5.6<o:p></o:p></span></p></div></div></div></body></html>