[MapProxy] Map Proxy for Serving Tiles Offline

Alejandro Bulgaris Carranza AlejandroCarranza at consunet.com.au
Sun Mar 22 14:51:22 PDT 2026


Hi Map Proxy mailing list,

First of all thank you in advance for your help, please see below my questions:

I am using latest version of kartoza/mapproxy docker container.  For the moment this is just a demo proptotype but I want to check my understanding about how Map Proxy is meant to work. First please see below snippet of my configuration below:

  wms:
    srs: ['EPSG:4326']
    image_formats: ['image/png']
    versions: ['1.1.1']

layers:
  - name: osm
    title: OSM
    sources: [osm_cache]

caches:
  osm_3857_cache:
    sources: [osm_wms]
    grids: [webmercator]
    format: image/png
    disable_storage: true

  osm_cache:
    sources: [osm_3857_cache]
    grids: [osm_grid]
    format: image/png
    cache:
      type: file
      directory: '/home/cache/tiles_4326'
      directory_layout: tms
      image:
        resampling_method: bilinear

sources:
  osm_wms:
    type: tile
    url: file:///home/base/tiles/%(z)s/%(x)s/%(y)s.png
    grid: GLOBAL_WEBMERCATOR

grids:
  webmercator:
    base: GLOBAL_WEBMERCATOR
  osm_grid:
    srs: 'EPSG:4326'
    origin: sw


Please see the following questions below:

  1.
Is there anything against using a source type tile directly from the file system for a production application that will work in offline mode? Note that the configuration for the source is using file:///
  2.
If using directly file:/// in url property for production is not recommended what is the best alternative for running in offline mode?



Thank you in advance,
Alejandro



NOTICE: This email, including any attachments, is confidential and intended only for the named recipients. If you are not the intended recipient, please contact the sender and delete the email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20260322/35e7a55e/attachment-0001.htm>


More information about the MapProxy mailing list