<div dir="ltr">Thanks for the suggestion, Scott. I think the seeder is optional, right? <div><br></div><div>Anyway, I ended up figuring out that my <source> was wrong in a couple of ways in mapcache.xml. I misunderstood the</div><div><getmap> parameters. Now I have this:</div><div><br></div><div><div style="color:rgb(0,0,0);font-size:14px;line-height:19px;white-space:pre"><div style="font-family:Consolas,"Courier New",monospace"> <span style="color:rgb(128,0,0)"><source</span> <span style="color:rgb(255,0,0)">name</span>=<span style="color:rgb(0,0,255)">"faa"</span> <span style="color:rgb(255,0,0)">type</span>=<span style="color:rgb(0,0,255)">"wms"</span><span style="color:rgb(128,0,0)">></span></div><div style="font-family:Consolas,"Courier New",monospace"> <span style="color:rgb(128,0,0)"><getmap></span></div><div style="font-family:Consolas,"Courier New",monospace"> <span style="color:rgb(128,0,0)"><params></span></div><div style="font-family:Consolas,"Courier New",monospace"> <span style="color:rgb(128,0,0)"><FORMAT></span>image/png<span style="color:rgb(128,0,0)"></FORMAT></span></div><div style="font-family:Consolas,"Courier New",monospace"> <span style="color:rgb(128,0,0)"><LAYERS></span>FAA_Sectional_Charts<span style="color:rgb(128,0,0)"></LAYERS></span></div><div style="font-family:Consolas,"Courier New",monospace"> <span style="color:rgb(128,0,0)"><SRS></span>EPSG:3857<span style="color:rgb(128,0,0)"></SRS></span></div><div style="font-family:Consolas,"Courier New",monospace"> <span style="color:rgb(128,0,0)"></params></span></div><div style="font-family:Consolas,"Courier New",monospace"> <span style="color:rgb(128,0,0)"></getmap></span></div><div style="font-family:Consolas,"Courier New",monospace"> <span style="color:rgb(128,0,0)"><http></span></div><div style="font-family:Consolas,"Courier New",monospace"> <span style="color:rgb(128,0,0)"><url></span><a href="http://localhost:8080/wms">http://localhost:8080/wms</a><span style="color:rgb(128,0,0)"></url></span></div><div style="font-family:Consolas,"Courier New",monospace"> <span style="color:rgb(128,0,0)"></http></span></div><div style="font-family:Consolas,"Courier New",monospace"> <span style="color:rgb(128,0,0)"></source></span></div><div style="font-family:Consolas,"Courier New",monospace"><span style="color:rgb(128,0,0)"><br></span></div><div style=""><span style="color:rgb(128,0,0)"><font face="arial, sans-serif">I wrote a tiny little leaflet test and, after making every possible mistake, finally</font></span></div><div style=""><span style="color:rgb(128,0,0)"><font face="arial, sans-serif">got it all to work so I'm all set. Thanks,</font></span></div><div style=""><span style="color:rgb(128,0,0)"><font face="arial, sans-serif"><br></font></span></div><div style=""><span style="color:rgb(128,0,0)"><font face="arial, sans-serif">carl</font></span></div><div style="font-family:Consolas,"Courier New",monospace"><span style="color:rgb(128,0,0)"><br></span></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 25, 2021 at 3:24 PM Scott <<a href="mailto:public@postholer.com">public@postholer.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Try using mapcache seeder. That will create some cached images to work <br>
with. It will also test your mapcache config:<br>
<br>
<a href="https://mapserver.org/mapcache/seed.html" rel="noreferrer" target="_blank">https://mapserver.org/mapcache/seed.html</a><br>
<br>
How you use those tiles is a whole different subject.<br>
<br>
<br>
<br>
On 10/25/21 2:54 PM, Carl Godkin wrote:<br>
> Hi again,<br>
> <br>
> Is there a way to search through the mapserver-users mailing list <br>
> archive except month-by-month? If so, I can't find it. (I usually use <br>
> my Gmail archives for GDAL and PROJ since I've subscribed forever to <br>
> those but I'm a mapserver newbie.) Anyway...<br>
> <br>
> I am trying to configure mapcache to serve from my (local and AFAICT <br>
> fully working) WMS server on my MS4W 4.0.5 installation. I am following <br>
> the directions at <a href="https://mapserver.org/mapcache/index.html" rel="noreferrer" target="_blank">https://mapserver.org/mapcache/index.html</a> <br>
> <<a href="https://mapserver.org/mapcache/index.html" rel="noreferrer" target="_blank">https://mapserver.org/mapcache/index.html</a>> as well as the steps listed <br>
> from the local MS4W page (#mapcache-apache-module).<br>
> <br>
> I think I understand the basic principles and have added a new source <br>
> that looks like this:<br>
> <br>
> <source name="faa" type="wms"><br>
> <getmap><br>
> <params><br>
> <FORMAT>image/geotiff</FORMAT><br>
> <LAYERS>FAA_Sectional_Charts</LAYERS><br>
> <TRANSPARENT>TRUE</TRANSPARENT><br>
> <SRS>EPSG:4326</SRS><br>
> <BBOX>-125,24,-61,49</BBOX><br>
> </params><br>
> </getmap><br>
> <http><br>
> <url><a href="http://localhost:8080/wms" rel="noreferrer" target="_blank">http://localhost:8080/wms</a> <<a href="http://localhost:8080/wms" rel="noreferrer" target="_blank">http://localhost:8080/wms</a>></url><br>
> </http><br>
> </source><br>
> <br>
> and a new tileset that looks like this:<br>
> <br>
> <tileset name="faa"><br>
> <source>faa</source><br>
> <cache>disk</cache><br>
> <grid>WGS84</grid><br>
> <format>PNG</format><br>
> <metatile>5 5</metatile><br>
> <metabuffer>10</metabuffer><br>
> <expires>3600</expires><br>
> </tileset><br>
> (This is the same as the "test" tileset with a different source.)<br>
> <br>
> But how do I test this? The query<br>
> <br>
> <a href="http://localhost:8080/mapcache/wmts?service=wmts&request=getcapabilities&version=1.0.0" rel="noreferrer" target="_blank">http://localhost:8080/mapcache/wmts?service=wmts&request=getcapabilities&version=1.0.0</a> <br>
> <<a href="http://localhost:8080/mapcache/wmts?service=wmts&request=getcapabilities&version=1.0.0" rel="noreferrer" target="_blank">http://localhost:8080/mapcache/wmts?service=wmts&request=getcapabilities&version=1.0.0</a>><br>
> <br>
> lists my new source as a layer. The docs say<br>
> <br>
> 5.<br>
> <br>
> Test your MapCache configuration by following steps in the<br>
> associated MapCache testing docs<br>
> <<a href="https://mapserver.org/mapcache/install.html#test-your-mapcache-module" rel="noreferrer" target="_blank">https://mapserver.org/mapcache/install.html#test-your-mapcache-module</a>><br>
> <br>
> but that seems to be about testing the mapcache/demo. I don't see how <br>
> to add something to the mapcache/demo if that's possible. What am I <br>
> overlooking?<br>
> <br>
> Thanks a lot,<br>
> carl<br>
> <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> _______________________________________________<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://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
> <br>
</blockquote></div>