I believe you also need a tileset that references the source, grid(s), cache, format, etc… This is also where you set things like metatiling and metabuffer so as to minimize edge effects. The name of the tileset is what you refer to from you client apps…
It’s easiest to see how to call mapcache from examples I think. Mapcache comes configured with a demo that uses either open layers or Google Maps. You can access at http://host/mapcache/demo. You should see a list of services and then can see how they can be used (view-source). Here’s a simple example for Google maps: http://maps1.dnr.state.mn.us/lakefinder/map.html Steve From: [email protected] [mailto:[email protected]] On Behalf Of Marco Afonso Sent: Friday, September 18, 2015 5:23 AM To: mapserver <[email protected]> Subject: [mapserver-users] Mapcache Minimal Usage Hi all, I would like to start using mapcache but I found the documentation a little confusing. Sorry for the noob question. Currently, I have a mapserver that answers to HTTP requests for WMS, like: http://host/cgi-bin/mapserv.exe?map=bla&SERVICE=WMS&bla bla bla... I have created a mapcache file with: 1. <source> matching the above request, 2. <cache> specifying the disk cache 3. <format> specifying the PNG format 4. <service> specifying the WMS servisse What else configuration is mandatory? I just need this configuration for now. Finally, how do I make a request to mapcache, so it can start filling the cache and serving the cached data? -- Best regards, Marco Afonso http://goo.gl/ZDtQjm [https://dl.dropboxusercontent.com/u/17607469/qr.png]
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
