Oops!  Correction:   My map services typically look like:  (forgot the cgi-bin path)<div><br></div><div><div><a href="http://servername/fcgi-bin/myservice?LAYERS=layer1,layer2,...&amp;REQUEST=GetMap&amp;SERVICE=WMS&amp;..">http://servername/fcgi-bin/myservice?LAYERS=layer1,layer2,...&amp;REQUEST=GetMap&amp;SERVICE=WMS&amp;..</a>..</div>
<div><br></div><div><div>- John</div><div><br></div><br>
<br><br><div class="gmail_quote">On Tue, Feb 7, 2012 at 4:41 PM, John Callahan <span dir="ltr">&lt;<a href="mailto:john.callahan@udel.edu">john.callahan@udel.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Thanks for the help but I think I&#39;m misunderstanding mapcache at a more basic level.</div><div><br></div><div>What is the mapcachealias?  In the apache httpd.conf file (using the latest MS4W), there is</div><div>
<br>
</div><div><div>MapCacheAlias /mapcache &quot;C:/ms4w/apps/mapcache/mapcache.xml&quot;</div></div><div><br></div><div>How does that relate to my own mapservices?   What changes do I need to make to have them cached?  My mapservices typically look like</div>

<div><br></div><div><a href="http://servername/myservice?LAYERS=layer1,layer2,...&amp;REQUEST=GetMap&amp;SERVICE=WMS&amp;..">http://servername/myservice?LAYERS=layer1,layer2,...&amp;REQUEST=GetMap&amp;SERVICE=WMS&amp;..</a>..</div>

<div><br></div><div><br></div><div>Something else that seems strange is when looking at the demo (<a href="http://servername/mapcache/dem/wms" target="_blank">http://servername/mapcache/dem/wms</a>), it makes available additional layers based on entries in the current mapcache.xml file.  When I try to select my own service through the demo interface, I see that it makes a GetMap request with LAYERS = tileset name.  Does the name I define for the tileset in mapcache.xml have to be specific to my map service?  or any special requirements?</div>

<div><br></div><div>Thanks for your help.</div><div><br></div><font color="#888888"><div>- John</div></font><div><div></div><div class="h5"><div><br></div><div><br></div><br>
<br><br><div class="gmail_quote">On Wed, Feb 1, 2012 at 6:56 AM, thomas bonfort <span dir="ltr">&lt;<a href="mailto:thomas.bonfort@gmail.com" target="_blank">thomas.bonfort@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>On Thu, Jan 26, 2012 at 19:30, John Callahan &lt;<a href="mailto:john.callahan@udel.edu" target="_blank">john.callahan@udel.edu</a>&gt; wrote:<br>
&gt; I&#39;m giving mapcache a try but with no luck.  Well, some luck.  The module<br>
&gt; loads fine and the demo (vmap0, <a href="http://127.0.0.1/mapcache/demo/wms" target="_blank">http://127.0.0.1/mapcache/demo/wms</a>) also<br>
&gt; works fine.  I see the tiles being generated on disk.  Great.  However, the<br>
&gt; problem comes in with my own data/services.  A few questions may help me<br>
&gt; determine the problem.<br>
&gt;<br>
&gt; - in the source element, how do you define multiple layers?  Comma separated<br>
&gt; or separate &lt;layers&gt; entries?<br>
<br>
</div>&lt;layers&gt;layer1,layer2&lt;/layers&gt;<br>
<div><br>
&gt;<br>
&gt; - in the tileset element, can you have multiple grid entries?  It doesn&#39;t<br>
&gt; seem like it from reading the documentation but the sample tileset shows<br>
&gt; both the &quot;g&quot; and &quot;WGS84&quot; grids.<br>
</div>which doc part does not show this?<br>
<a href="http://www.mapserver.org/trunk/mapcache/config.html#tileset" target="_blank">http://www.mapserver.org/trunk/mapcache/config.html#tileset</a><br>
<div><br>
&gt;<br>
&gt; - for cache type attributes, what are the possible values?  The docs show<br>
&gt; several possibilities (disk, sqllite, memcache) but the sample shows<br>
&gt; type=&quot;tiff&quot; which is not listed on the doc page.  Can other file extensions<br>
&gt; be used here?<br>
</div><a href="http://www.mapserver.org/trunk/mapcache/caches.html" target="_blank">http://www.mapserver.org/trunk/mapcache/caches.html</a><br>
<div><br>
&gt;<br>
&gt; - when I define a FORMAT with name and type, how does that get used?  I see<br>
&gt; that is called in the tileset but how does that relate to the image type<br>
&gt; under getmap/params/format?<br>
<br>
</div>The format is used when recompressing individual tiles after having<br>
cut a larger metatile. It is also used when combining multiple tiles<br>
into a single image for a getmap request. If you want to force a<br>
specific format to be sent to the source wms server when creating a<br>
tile, you can add a &lt;format&gt;foobar&lt;/format&gt; to your source definition<br>
(at the same level as the &lt;layers&gt; parameter). Both formats don&#39;t have<br>
to be equivalent, it is actually a good idea to request the images in<br>
png from the source wms server even when using a jpeg format for the<br>
the tileset, as this will avoid a double jpeg compression (once on the<br>
wms server, once on the mapcache server) when storing an individual<br>
tile to the caches.<br>
<br>
regards,<br>
thomas<br>
<div><br>
&gt;<br>
&gt;<br>
&gt; The doc page I am referring to is<br>
&gt; at <a href="http://www.mapserver.org/trunk/mapcache/config.html" target="_blank">http://www.mapserver.org/trunk/mapcache/config.html</a>.  I&#39;m sure I&#39;ll have<br>
&gt; other questions as I work my way through.  Thanks for this awesome addition<br>
&gt; to Mapserver!<br>
&gt;<br>
&gt; - John<br>
&gt;<br>
&gt; ***********************************************<br>
&gt; John Callahan, Research Scientist<br>
&gt; Delaware Geological Survey, University of Delaware<br>
&gt; URL: <a href="http://www.dgs.udel.edu" target="_blank">http://www.dgs.udel.edu</a><br>
&gt; *************************************************<br>
&gt;<br>
&gt;<br>
</div>&gt; _______________________________________________<br>
&gt; mapserver-users mailing list<br>
&gt; <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
&gt;<br>
</blockquote></div><br>
</div></div></blockquote></div><br></div></div>