[MapProxy] format of cache file

omid omidan o.omidan at gmail.com
Tue Jun 28 13:52:46 PDT 2016


Hi list

I use mapproxy 1.8.2 and config a cache with this configuration.
the problem is I expect to tile images save in cache directory with .jpg
file extention but they save with .png extension.
the source tiles is jpg format and the format parameter also set to jpg
whay it still save file with .png?

*caches:*
  my_cache:
    sources: [mymap]
    grids: [GLOBAL_MERCATOR]
    # use a custom image format defined below
    format: jpg
    cache:
      type: file
      directory: /media/disk2/mycache/
      directory_layout: tms

*sources:*
  mymap:
    type: tile
    url:
http://192.168.0.100/wmts?service=wmts&request=gettile&version=1.0.0&layer=mylayer&tilematrixset=webmercator&tilematrix=%(z)s&tilerow=%(y)s&tilecol=%(x)s&format=image%%2fjpg

omid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20160629/47fee300/attachment.html>


More information about the MapProxy mailing list