[mapserver-users] mapcache - rendering higher level tiles from lower level tilesets

thomas bonfort thomas.bonfort at gmail.com
Wed Nov 14 00:54:21 PST 2012


Should be possible, although you'll be more than doubling your cache size
without actually providing new information. Setup a source that references
the wms service offerered by your seeded mapcache:

in pseudo code:

<source name="s19">
 <url>localhost/mapcache</url>
 <layers>Fully_Seeded_to_19_cache</layers>
</source>

<tileset name="Memcache_greater_than_19_cache">
      <source>s19</source>
      <cache>memcache</cache>
      <grid>gmaps</grid>
      <format>mixed</format>
      <metatile>1 1</metatile>
      <metabuffer>0</metabuffer>
</tileset>

<tileset name="Fully_Seeded_to_19_cache">
      <!--source>layer</source-->
      <cache>disk</cache>
      <grid>gmaps</grid>
      <format>mixed</format>
      <metatile>1 1</metatile>
      <metabuffer>0</metabuffer>
    </tileset>

--
thomas


On Mon, Nov 12, 2012 at 9:09 PM, Travis Kirstine
<traviskirstine at gmail.com>wrote:

> I have a fully seeded cache of tiles to level 19 and no longer can access
> the original WMS source. Is it possible to generate a tileset using a
> memcache for layer above level 19 using the seeded cache as source?
>
> Something like this
>
>
>  <cache name="disk" type="disk">
>     <base>/home/caches</base>
>     <symlink_blank/>
>  </cache>
>
>   <cache name="memcache" type="memcache">
>     <server>
>      <host>localhost</host>
>      <port>11211</port>
>      </server>
>    </cache>
>
>
>     <tileset name="Fully_Seeded_to_19_cache">
>       <!--source>layer</source-->
>       <cache>disk</cache>
>       <grid>gmaps</grid>
>       <format>mixed</format>
>       <metatile>1 1</metatile>
>       <metabuffer>0</metabuffer>
>     </tileset>
>
>     <tileset name="Memcache_greater_than_19_cache">
>       <source></source>
>       <cache>memcache</cache>
>       <grid>gmaps</grid>
>       <format>mixed</format>
>       <metatile>1 1</metatile>
>       <metabuffer>0</metabuffer>
>     </tileset>
>
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20121114/47f6f3a0/attachment.html>


More information about the mapserver-users mailing list