<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 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Courier;
        panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
        {font-family:Courier;
        panose-1:2 7 4 9 2 2 5 2 4 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.apple-tab-span
        {mso-style-name:apple-tab-span;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</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=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>What happens if you use </span><span style='font-size:10.0pt;
font-family:Courier;color:black'>zgb:rrop08_mosaic@ESPG:900913@png as the layername</span><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>

<div>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Ralph Dell<o:p></o:p></span></p>

</div>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<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"'>
users-bounces@geoext.org [mailto:users-bounces@geoext.org] <b>On Behalf Of </b>Robert
Buckley<br>
<b>Sent:</b> Wednesday, November 02, 2011 3:48 AM<br>
<b>To:</b> users@openlayers.org; users@geoext.org<br>
<b>Subject:</b> [Users] TMS problem with geowebcache<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:"Courier New";color:black'>Hi,<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:"Courier New";color:black'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:"Courier New";color:black'>I´m trying to implement a tms service
through geowebcache (running inside Geoserver2.1.2 on Linux/tomcat6)<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:"Courier New";color:black'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:"Courier New";color:black'>The layer in question in fine runnning
as a normal WMS geowebcache service as defined below, but the layer doesn´t
print.<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:"Courier New";color:black'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:"Courier New";color:black'>reading this post (<a
href="http://www.mail-archive.com/users@geoext.org/msg01973.html"><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>http://www.mail-archive.com/users@geoext.org/msg01973.html</span></a>)I
thought I´d try the tms service<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:"Courier New";color:black'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:"Courier New";color:black'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span class=apple-tab-span><span
style='font-size:10.0pt;font-family:"Courier New";color:black'>      </span></span><span
style='font-size:10.0pt;font-family:"Courier New";color:black'>// gwc/wms
service<o:p></o:p></span></p>

</div>

<div>

<div>

<p class=MsoNormal style='background:white'><span class=apple-tab-span><span
style='font-size:10.0pt;font-family:Courier;color:black'>      <o:p></o:p></span></span></p>

<p class=MsoNormal style='background:white'><span class=apple-tab-span><span
style='font-size:10.0pt;font-family:Courier;color:black'>      </span></span><span
style='font-size:10.0pt;font-family:Courier;color:black'>var GWC_Layer = new
OpenLayers.Layer.WMS(&quot;GWC Layer&quot;,&nbsp;</span><span style='font-size:
10.0pt;font-family:"Courier New";color:black'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span class=apple-tab-span><span
style='font-size:10.0pt;font-family:Courier;color:black'>            </span></span><span
style='font-size:10.0pt;font-family:Courier;color:black'>&quot;http://maps.zgb.de/geoserver/gwc/service/wms&quot;,
{</span><span style='font-size:10.0pt;font-family:"Courier New";color:black'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:Courier;color:black'>&nbsp; &nbsp; &nbsp; &nbsp; <span
class=apple-tab-span>    </span>layers: 'zgb:rrop08_mosaic',</span><span
style='font-size:10.0pt;font-family:"Courier New";color:black'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:Courier;color:black'>&nbsp; &nbsp; &nbsp; &nbsp;<span
class=apple-tab-span>     </span> <span class=apple-tab-span>     </span>projection:
epsg900913,</span><span style='font-size:10.0pt;font-family:"Courier New";
color:black'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:Courier;color:black'>&nbsp; &nbsp; &nbsp; <span
class=apple-tab-span>      </span>&nbsp; <span class=apple-tab-span>    </span>format:
'image/png',</span><span style='font-size:10.0pt;font-family:"Courier New";
color:black'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:Courier;color:black'>&nbsp; &nbsp; &nbsp; &nbsp; <span
class=apple-tab-span>    </span>transparent: true,</span><span
style='font-size:10.0pt;font-family:"Courier New";color:black'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:Courier;color:black'>&nbsp; &nbsp; &nbsp; &nbsp; <span
class=apple-tab-span>    </span>singleTile: true</span><span style='font-size:
10.0pt;font-family:"Courier New";color:black'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:Courier;color:black'>&nbsp; &nbsp; <span class=apple-tab-span>        </span>},
{'buffer': 0,</span><span style='font-size:10.0pt;font-family:"Courier New";
color:black'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:Courier;color:black'>&nbsp; &nbsp; &nbsp; &nbsp; <span
class=apple-tab-span>    </span>'opacity': 1,</span><span style='font-size:
10.0pt;font-family:"Courier New";color:black'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:Courier;color:black'>&nbsp; &nbsp; &nbsp; &nbsp; <span
class=apple-tab-span>    </span>'isBaseLayer': true,</span><span
style='font-size:10.0pt;font-family:"Courier New";color:black'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:Courier;color:black'>&nbsp; &nbsp; &nbsp; &nbsp; <span
class=apple-tab-span>    </span>visibility: true</span><span style='font-size:
10.0pt;font-family:"Courier New";color:black'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:Courier;color:black'>&nbsp; &nbsp; <span class=apple-tab-span>  </span>});&nbsp;</span><span
style='font-size:10.0pt;font-family:"Courier New";color:black'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:"Courier New";color:black'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span class=apple-tab-span><span
style='font-size:10.0pt;font-family:Courier;color:black'>      </span></span><span
style='font-size:10.0pt;font-family:Courier;color:black'>// GWC TMS Service</span><span
style='font-size:10.0pt;font-family:"Courier New";color:black'><o:p></o:p></span></p>

</div>

<div>

<div>

<p class=MsoNormal style='background:white'><span class=apple-tab-span><span
style='font-size:10.0pt;font-family:Courier;color:black'>      </span></span><span
style='font-size:10.0pt;font-family:Courier;color:black'>var TMS_Layer = new
OpenLayers.Layer.TMS(<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span class=apple-tab-span><span
style='font-size:10.0pt;font-family:Courier;color:black'>                  </span></span><span
style='font-size:10.0pt;font-family:Courier;color:black'>'TMS_Layer','http://maps.zgb.de/geoserver/gwc/service/tms/',{<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span class=apple-tab-span><span
style='font-size:10.0pt;font-family:Courier;color:black'>                  </span></span><span
style='font-size:10.0pt;font-family:Courier;color:black'>serviceVersion:
'1.0.0',<span class=apple-tab-span>                  </span><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span class=apple-tab-span><span
style='font-size:10.0pt;font-family:Courier;color:black'>                  </span></span><span
style='font-size:10.0pt;font-family:Courier;color:black'>layername:'http://maps.zgb.de/geoserver/gwc/service/tms/1.0.0/zgb:rrop08_mosaic@ESPG:900913@png',<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span class=apple-tab-span><span
style='font-size:10.0pt;font-family:Courier;color:black'>                  </span></span><span
style='font-size:10.0pt;font-family:Courier;color:black'>type:'png',<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span class=apple-tab-span><span
style='font-size:10.0pt;font-family:Courier;color:black'>                  </span></span><span
style='font-size:10.0pt;font-family:Courier;color:black'>visibility:true,<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span class=apple-tab-span><span
style='font-size:10.0pt;font-family:Courier;color:black'>                  </span></span><span
style='font-size:10.0pt;font-family:Courier;color:black'>isBaseLayer: false,<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span class=apple-tab-span><span
style='font-size:10.0pt;font-family:Courier;color:black'>                  </span></span><span
style='font-size:10.0pt;font-family:Courier;color:black'>serverResolutions:[156543.03390625,
78271.516953125, 39135.7584765625, 19567.87923828125,&nbsp;<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span class=apple-tab-span><span
style='font-size:10.0pt;font-family:Courier;color:black'>                  </span></span><span
style='font-size:10.0pt;font-family:Courier;color:black'>9783.939619140625,
4891.9698095703125, 2445.9849047851562, 1222.9924523925781, 611.4962261962891,
305.74811309814453,&nbsp;<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span class=apple-tab-span><span
style='font-size:10.0pt;font-family:Courier;color:black'>                  </span></span><span
style='font-size:10.0pt;font-family:Courier;color:black'>152.87405654907226,
76.43702827453613, 38.218514137268066, 19.109257068634033, 9.554628534317017,
4.777314267158508,&nbsp;<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span class=apple-tab-span><span
style='font-size:10.0pt;font-family:Courier;color:black'>                  </span></span><span
style='font-size:10.0pt;font-family:Courier;color:black'>2.388657133579254,
1.194328566789627, 0.5971642833948135, 0.29858214169740677]<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span class=apple-tab-span><span
style='font-size:10.0pt;font-family:Courier;color:black'>            </span></span><span
style='font-size:10.0pt;font-family:Courier;color:black'>}<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span class=apple-tab-span><span
style='font-size:10.0pt;font-family:Courier;color:black'>      </span></span><span
style='font-size:10.0pt;font-family:Courier;color:black'>);<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:Courier;color:black'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:Courier;color:black'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:Courier;color:black'>All I get are 404 errors.<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:Courier;color:black'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:Courier;color:black'>The map is in EPSG:900913 and so is the
TileCache, so I´m guessing the gridset is &nbsp;ok???..but it´s my first time
so I can´t say for sure.<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:Courier;color:black'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:Courier;color:black'>any help would be great,<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:Courier;color:black'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:Courier;color:black'>Cheers,<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:Courier;color:black'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span style='font-size:10.0pt;
font-family:Courier;color:black'>Rob&nbsp;<o:p></o:p></span></p>

</div>

</div>

</div>

</div>

</div>

</body>

</html>