[mapserver-commits] r12606 - trunk/mapserver/mapcache
svn at osgeo.org
svn at osgeo.org
Thu Sep 29 12:37:11 EDT 2011
Author: tbonfort
Date: 2011-09-29 09:37:11 -0700 (Thu, 29 Sep 2011)
New Revision: 12606
Added:
trunk/mapserver/mapcache/mapcache.xml
Log:
add minimal mapcache.xml config file
Added: trunk/mapserver/mapcache/mapcache.xml
===================================================================
--- trunk/mapserver/mapcache/mapcache.xml (rev 0)
+++ trunk/mapserver/mapcache/mapcache.xml 2011-09-29 16:37:11 UTC (rev 12606)
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- see the accompanying mapcache.xml.sample for a fully commented configuration file -->
+
+<mapcache>
+ <cache name="disk" type="disk">
+ <base>/tmp</base>
+ <symlink_blank/>
+ </cache>
+
+ <source name="vmap0" type="wms">
+ <getmap>
+ <params>
+ <FORMAT>image/png</FORMAT>
+ <LAYERS>basic</LAYERS>
+ </params>
+ </getmap>
+
+ <http>
+ <url>http://vmap0.tiles.osgeo.org/wms/vmap0</url>
+ </http>
+ </source>
+
+ <tileset name="test">
+ <source>vmap0</source>
+ <cache>disk</cache>
+ <grid>WGS84</grid>
+ <grid>g</grid>
+ <format>PNG</format>
+ <metatile>5 5</metatile>
+ <metabuffer>10</metabuffer>
+ <expires>3600</expires>
+ </tileset>
+
+
+ <default_format>JPEG</default_format>
+
+ <service type="wms" enabled="true">
+ <full_wms>assemble</full_wms>
+ <resample_mode>bilinear</resample_mode>
+ <format>JPEG</format>
+ <maxsize>4096</maxsize>
+ </service>
+ <service type="wmts" enabled="true"/>
+ <service type="tms" enabled="true"/>
+ <service type="kml" enabled="true"/>
+ <service type="gmaps" enabled="true"/>
+ <service type="ve" enabled="true"/>
+ <service type="demo" enabled="true"/>
+
+ <errors>report</errors>
+ <lock_dir>/tmp</lock_dir>
+
+</mapcache>
More information about the mapserver-commits
mailing list