Welcome, guest! Login / Register - Why register?

Paste

N/A
Pasted as Plain Text by . ( 6 years ago )
<?xml version="1.0" encoding="UTF-8"?>
<mapcache>

   <cache name="disk-simple-demo" type="disk">
      <base>/home/sysadmin/mapserver-simple/mapcache/cache</base>
      <symlink_blank/>
   </cache>

   <source name="simple-map" type="wms">
      <getmap>
         <params>
            <FORMAT>image/png</FORMAT>
            <LAYERS>countries</LAYERS>
                <MAP>/home/foo/mapserver-simple/simple.map</MAP>
         </params>
      </getmap>
      <http>
         <url>http://localhost/cgi-bin/mapserv?</url>
      </http>
   </source>

   <tileset name="tileset-simple-demo">
      <metadata>
         <title>Simple Map - Tiled</title>
          <abstract>A simple demo map</abstract>
      </metadata>
      <source>simple-map</source>
      <cache>disk-simple-demo</cache>
      <grid>WGS84</grid>
      <grid>g</grid>
      <format>PNG</format>
      <metatile>5 5</metatile>
      <metabuffer>10</metabuffer>
      <expires>10000</expires>
      <auto_expire>86400</auto_expire>
   </tileset>


   <default_format>PNG</default_format>

   <service type="wms" enabled="true">
      <full_wms>assemble</full_wms>
      <resample_mode>bilinear</resample_mode>
      <format>PNG</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>

 

Revise this Paste

Your Name: Code Language: