[mapserver-users] Mapcache Minimal Usage

Lime, Steve D (MNIT) Steve.Lime at state.mn.us
Fri Sep 18 11:37:01 PDT 2015


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: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Marco Afonso
Sent: Friday, September 18, 2015 5:23 AM
To: mapserver <mapserver-users at lists.osgeo.org>
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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20150918/41ce893c/attachment.html>


More information about the mapserver-users mailing list