Im attempting to configure mapcache.
I assume that this is covered in this mailing list as well.  Mapcache is
returning images of the map for me but the cache files are not being
written.  Its strange because I can use the seeding command with the same
xml file and its populating the expected directory but when I go through
the mapcache script its not writing to that cache directory.

Any guidance would be appreciated.

The URL Im testing with is this.
http://192.168.112.225/mapcache?service=WMS&request=GetMap&layers=default&styles=&format=image%2Fpng&transparent=true&version=1.1.1&width=2048&height=2048&srs=EPSG%3A3857&bbox=-10018754.171394622,0,0,10018754.171394628



mapcache.xml is as follows:
<mapcache mode="combined_mirror">
   <cache name="disk" type="disk">
           <base>/tmp/mapcache</base>
      <symlink_blank/>
   </cache>
<format name="png" type="PNG">
   <compression>fast</compression>
   <colors>256</colors>
</format>
   <source name="vmap0" type="wms">
      <getmap>
         <params>
            <FORMAT>image/jpeg</FORMAT>
            <LAYERS>default</LAYERS>
            <map>/usr/lib/cgi-bin/osm-bw.map</map>
            <transparent>true</transparent>
         </params>
      </getmap>
      <http>
         <url>http://192.168.112.225/cgi-bin/mapserv?</url>
      </http>
   </source>
   <tileset name="mirror">
      <source>vmap0</source>
      <cache>disk</cache>
      <grid>WGS84</grid>
      <grid>g</grid>
      <format>png</format>
              <expires>3600</expires>
   </tileset>
   <default_format>png</default_format>

   <service type="wms" enabled="true">
      <format allow_client_override="true/false">png</format>
      <full_wms>assemble</full_wms>
      <resample_mode>bilinear</resample_mode>
      <maxsize>4096</maxsize>
      <forwarding_rule name="catch all">
            <http>
              <url>
http://192.168.112.225/cgi-bin/mapserv?transparent=true&map=/usr/lib/cgi-bin/osm-bw.map
</url>
            </http>
      </forwarding_rule>
   </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>
   <log_level>debug</log_level>
</mapcache>
-- 
http://www.atlantageek.com
_______________________________________________
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to