Advertisement
TomTom35

With cache

Oct 24th, 2017
136
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.71 KB | None
  1. services:
  2.   wms:
  3.     srs: ['EPSG:4326']
  4.     image_formats: ['image/png']
  5.  
  6. layers:
  7.   - name: persons
  8.     title: Person layer
  9.     sources: [persons_cache]
  10.  
  11. caches:
  12.   persons_cache:
  13.     grids: [GLOBAL_GEODETIC]
  14.     sources: [persons_wms]
  15.     format: image/png
  16.     request_format: image/png
  17.     disable_storage: true
  18.     meta_size: [4, 4]
  19.     meta_buffer: 256
  20.  
  21. sources:
  22.   persons_wms:
  23.     type: wms
  24.     wms_opts:
  25.       version: 1.3.0
  26.     forward_req_params: ['key', 'env']
  27.     req:
  28.       url: http://foo.com/mapserver/cgi-bin/mapserv.fcgi?
  29.       layers: persons
  30.       map: /var/maps/persons.map
  31.       supported_srs: ['EPSG:4326']
  32.  
  33. globals:
  34.   cache:
  35.     meta_size: [4, 4]
  36.     meta_buffer: 256
Advertisement
RAW Paste Data Copied
Advertisement