<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:"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;}
@font-face
        {font-family:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 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.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.TextedebullesCar
        {mso-style-name:"Texte de bulles Car";
        mso-style-priority:99;
        mso-style-link:"Texte de bulles";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@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>Hi All,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US>I’m using MapServer to generate tiles to overlay on a GoogleMaps base layer.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>My data files are WGS84 shapefiles.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>So my current mapfile was looking like :<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><i><span lang=EN-US style='background:silver;mso-highlight:silver'>MAP<o:p></o:p></span></i></p><p class=MsoNormal style='margin-left:35.4pt'><i><span lang=EN-US style='background:silver;mso-highlight:silver'>…<o:p></o:p></span></i></p><p class=MsoNormal style='margin-left:35.4pt;text-autospace:none'><i><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";background:silver;mso-highlight:silver'>PROJECTION "init=epsg:3785" END<o:p></o:p></span></i></p><p class=MsoNormal style='margin-left:35.4pt'><i><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";background:silver;mso-highlight:silver'>…<o:p></o:p></span></i></p><p class=MsoNormal style='margin-left:35.4pt'><i><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";background:silver;mso-highlight:silver'>LAYER<o:p></o:p></span></i></p><p class=MsoNormal style='margin-left:35.4pt'><i><span lang=EN-US style='background:silver;mso-highlight:silver'>…<o:p></o:p></span></i></p><p class=MsoNormal style='margin-left:35.4pt;text-autospace:none'><i><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";background:silver;mso-highlight:silver'>PROJECTION "init=epsg:4326" END<o:p></o:p></span></i></p><p class=MsoNormal style='margin-left:35.4pt'><i><span lang=EN-US style='background:silver;mso-highlight:silver'>…<o:p></o:p></span></i></p><p class=MsoNormal style='margin-left:35.4pt'><i><span style='font-size:10.0pt;font-family:"Lucida Console";background:silver;mso-highlight:silver'>END<o:p></o:p></span></i></p><p class=MsoNormal style='margin-left:35.4pt'><i><span lang=EN-US style='background:silver;mso-highlight:silver'>…<o:p></o:p></span></i></p><p class=MsoNormal style='margin-left:35.4pt'><i><span style='font-size:10.0pt;font-family:"Lucida Console";background:silver;mso-highlight:silver'>END</span></i><i><span style='font-size:10.0pt;font-family:"Lucida Console"'><o:p></o:p></span></i></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I was wondering about improving response time by disabling on-the-fly projection. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>So I did pre-project my shp into spherical Mercator first.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>And my new mapfile now looks like :<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><i><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";background:silver;mso-highlight:silver'>MAP<o:p></o:p></span></i></p><p class=MsoNormal style='margin-left:35.4pt'><i><span style='font-size:10.0pt;font-family:"Lucida Console";background:silver;mso-highlight:silver'>…<o:p></o:p></span></i></p><p class=MsoNormal style='margin-left:35.4pt'><i><span style='font-size:10.0pt;font-family:"Lucida Console";background:silver;mso-highlight:silver'>PROJECTION    "proj=merc"    "a=6378137"    "b=6378137"    "lat_ts=0.0"    "lon_0=0.0"    "x_0=0.0"    "y_0=0"    "k=1.0"    "units=m"    "nadgrids=@null"    "no_defs" END<o:p></o:p></span></i></p><p class=MsoNormal style='margin-left:35.4pt'><i><span style='font-size:10.0pt;font-family:"Lucida Console";background:silver;mso-highlight:silver'>…<o:p></o:p></span></i></p><p class=MsoNormal style='margin-left:35.4pt'><i><span style='font-size:10.0pt;font-family:"Lucida Console";background:silver;mso-highlight:silver'>LAYER<o:p></o:p></span></i></p><p class=MsoNormal style='margin-left:35.4pt'><i><span style='font-size:10.0pt;font-family:"Lucida Console";background:silver;mso-highlight:silver'>…<o:p></o:p></span></i></p><p class=MsoNormal style='margin-left:35.4pt'><i><span style='font-size:10.0pt;font-family:"Lucida Console";background:silver;mso-highlight:silver'>END<o:p></o:p></span></i></p><p class=MsoNormal style='margin-left:35.4pt'><i><span style='font-size:10.0pt;font-family:"Lucida Console";background:silver;mso-highlight:silver'>…<o:p></o:p></span></i></p><p class=MsoNormal style='margin-left:35.4pt'><i><span style='font-size:10.0pt;font-family:"Lucida Console";background:silver;mso-highlight:silver'>END<o:p></o:p></span></i></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I do get the same  tiles.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>But when asking a single tile using both mapfile, I noticed that the response time was higher (about +10%) when the second mapfile was used !<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Do you have any idea about what’s going on ?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Thanks  & Regards<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Clément<o:p></o:p></span></p></div></body></html>