<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)"><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:"Calibri Light";
        panose-1:2 15 3 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.E-MailFormatvorlage19
        {mso-style-type:personal-reply;
        font-family:"Calibri Light",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 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=DE link=blue vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-family:"Calibri Light",sans-serif;mso-fareast-language:EN-US'>Hello, thanks for the Answer, <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Calibri Light",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Calibri Light",sans-serif;mso-fareast-language:EN-US'>I tried using botton-left but it’s the same behavior. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Calibri Light",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Calibri Light",sans-serif;mso-fareast-language:EN-US'>Best regards<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Calibri Light",sans-serif;mso-fareast-language:EN-US'>Andy<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Calibri Light",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b>Von:</b> Travis Kirstine <traviskirstine@gmail.com> <br><b>Gesendet:</b> Dienstag, 11. April 2023 20:44<br><b>An:</b> STEINER Andreas <asteiner@EUROFUNK.COM>; mapserver-users <mapserver-users@lists.osgeo.org><br><b>Betreff:</b> [EXTERN]Re: [MapServer-users] WG: mapcache tms it not working properly<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 align=left width="100%" style='width:100.0%'><tr><td style='background:#A6A6A6;padding:5.25pt 1.5pt 5.25pt 1.5pt'></td><td width="100%" style='width:100.0%;background:#EAEAEA;padding:5.25pt 3.75pt 5.25pt 11.25pt'><div><p class=MsoNormal style='mso-element:frame;mso-element-frame-hspace:2.25pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:column;mso-height-rule:exactly'><span style='font-size:9.0pt;font-family:"Segoe UI",sans-serif;color:#212121'>Sie erhalten nicht oft eine E-Mail von <a href="mailto:traviskirstine@gmail.com">traviskirstine@gmail.com</a>. <a href="https://aka.ms/LearnAboutSenderIdentification">Erfahren Sie, warum dies wichtig ist</a><o:p></o:p></span></p></div></td><td width=75 style='width:56.25pt;background:#EAEAEA;padding:5.25pt 3.75pt 5.25pt 3.75pt;align:left'></td></tr></table><div><div><div><p class=MsoNormal>My guess <span lang=EN-US style='font-family:Consolas;color:black'><origin>top-left</origin></span><span lang=EN-US> </span>is your issue, I believe the tms standard is for bottom-left<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Tue, 11 Apr 2023 at 08:44, STEINER Andreas <<a href="mailto:asteiner@eurofunk.com">asteiner@eurofunk.com</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Calibri Light",sans-serif'>Hello everyone, </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Calibri Light",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri Light",sans-serif'>I set up a mapcache layer for a customer of mine. <br>The layer looks like this: <br><br><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F59861665%2F231165591-1fb8d097-70e1-487d-91c6-152291b3ae43.png&data=05%7C01%7Casteiner%40eurofunk.com%7Cbec421cd442c4b17a87f08db3b186bec%7C6d4fa94918de4214a28c3e8c7fa9c25b%7C0%7C0%7C638168748300394319%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=iV79UT%2B1ZVSOVeZVN2Sii0wbTNmdNlNyM5whU3wD%2F9Y%3D&reserved=0" target="_blank">https://user-images.githubusercontent.com/59861665/231165591-1fb8d097-70e1-487d-91c6-152291b3ae43.png</a></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri Light",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri Light",sans-serif'>When requesting the layer via wmts or wms everything works fine. <br>My customer requires TMS – when I request the tiles with tms the tiles are not at the right place.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri Light",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri Light",sans-serif'>Z0: At Z0 the tiles match: </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri Light",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri Light",sans-serif'><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F59861665%2F231165657-742f7944-f2a4-444c-9a82-24c10574bdc8.png&data=05%7C01%7Casteiner%40eurofunk.com%7Cbec421cd442c4b17a87f08db3b186bec%7C6d4fa94918de4214a28c3e8c7fa9c25b%7C0%7C0%7C638168748300394319%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=bXlLrDp%2BKMSyATD8fq675Ch8g6ZMtU2RZMiorgUXr0M%3D&reserved=0" target="_blank">https://user-images.githubusercontent.com/59861665/231165657-742f7944-f2a4-444c-9a82-24c10574bdc8.png</a></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri Light",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri Light",sans-serif'>At Z1 they are not at the same place: <br><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F59861665%2F231165693-29e2399a-04cd-4df0-b63a-1ab3f606ce92.png&data=05%7C01%7Casteiner%40eurofunk.com%7Cbec421cd442c4b17a87f08db3b186bec%7C6d4fa94918de4214a28c3e8c7fa9c25b%7C0%7C0%7C638168748300394319%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=GV5eE9yGbSdSg0RjNlOAubjpAuQKOxMgDkPE6Ba175o%3D&reserved=0" target="_blank">https://user-images.githubusercontent.com/59861665/231165693-29e2399a-04cd-4df0-b63a-1ab3f606ce92.png</a></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri Light",sans-serif'>And e.g. at Z6 it looks like this: <br><br><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F59861665%2F231165727-a638e7d8-8803-4c81-a2bd-7ff70ed04020.png&data=05%7C01%7Casteiner%40eurofunk.com%7Cbec421cd442c4b17a87f08db3b186bec%7C6d4fa94918de4214a28c3e8c7fa9c25b%7C0%7C0%7C638168748300394319%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Cdu9ZTIog0K75%2BoabkexCREen5zIqWW%2Berxw3rcwBvM%3D&reserved=0" target="_blank">https://user-images.githubusercontent.com/59861665/231165727-a638e7d8-8803-4c81-a2bd-7ff70ed04020.png</a></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri Light",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><span lang=EN-US style='font-family:"Calibri Light",sans-serif'>That’s the configuration for the GRID: </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:Consolas;color:black'>  <grid name="WORLD"></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:Consolas;color:black'>      <metadata></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:Consolas;color:black'>        <title>GoogleMapsCompatible</title></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:Consolas;color:black'>        <WellKnownScaleSet>urn:ogc:def:wkss:OGC:1.0:GoogleMapsCompatible</WellKnownScaleSet></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:Consolas;color:black'>      </metadata></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:Consolas;color:black'>      <extent>-20037508.3427892480 -20037508.3427892480 20037508.3427892480 20037508.3427892480</extent></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:Consolas;color:black'>      <srs>EPSG:3857</srs></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:Consolas;color:black'>      <size>256 256</size></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:Consolas;color:black'>      <srsalias>EPSG:900913</srsalias></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:Consolas;color:black'>      <origin>top-left</origin></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:Consolas;color:black'>      </span><span style='font-family:Consolas;color:black'><resolutions>156543.03392800014 78271.51696399994 39135.75848200009 19567.87924099992 9783.93962049996 4891.96981024998 2445.98490512499 1222.992452562495 611.4962262813797 305.74811314055756 152.87405657041106 76.43702828507324 38.21851414253662 19.10925707126831 9.554628535634155 4.77731426794937 2.388657133974685 1.1943285668550503 0.5971642835598172</resolutions></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:Consolas;color:black'>  </grid></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri Light",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri Light",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri Light",sans-serif'>I also tried to use a EPSG:4326 with a extend -180 -180 180 180 but it’s the same result. </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri Light",sans-serif'>The url I used looks like this: <a href="http://XX%20/mapcache/tms/1.0.0/%3ctileset%3e@WORLD/%7bz%7d/%7bx%7d/%7by%7d.png" target="_blank">http://XX /mapcache/tms/1.0.0/<tileset>@WORLD/{z}/{x}/{y}.png</a></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri Light",sans-serif'>Maybe someone has an idea why it doesn’t work. </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri Light",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri Light",sans-serif'>Thanks in advance. </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri Light",sans-serif'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri Light",sans-serif'>Best regards</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><span lang=EN-US style='font-family:"Calibri Light",sans-serif'>Andy</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><o:p> </o:p></p></div></div><p class=MsoNormal>_______________________________________________<br>MapServer-users mailing list<br><a href="mailto:MapServer-users@lists.osgeo.org" target="_blank">MapServer-users@lists.osgeo.org</a><br><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fmapserver-users&data=05%7C01%7Casteiner%40eurofunk.com%7Cbec421cd442c4b17a87f08db3b186bec%7C6d4fa94918de4214a28c3e8c7fa9c25b%7C0%7C0%7C638168748300394319%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=I3dQi7Oxibr10adwIOlPj340ftP6QMQ3aknsVxHj03w%3D&reserved=0" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><o:p></o:p></p></div></blockquote></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><br><br>Email secured by Check Point<o:p></o:p></p></div></body></html>