globals:
  cache:
    base_dir: cache_data/
    meta_size: [1, 1]
    meta_buffer: 0
    tile_lock_dir: defaulttilelockdir

  image:
    # resampling: 'bicubic'
    paletted: False
    formats:
      custom:
        format: image/jpeg
      png8:
        format: 'image/png; mode=8bit'
        colors: 256
services:
  tms:
  kml:
  wmts:
  wms:
    image_formats: ['image/png', 'image/jpeg', 'png8']
    srs: ['EPSG:4326', 'EPSG:4258', 'CRS:84', 'EPSG:900913', 'EPSG:3857', 'EPSG:31466', 'EPSG:31467', 'EPSG:31468', 'EPSG:25831', 'EPSG:25832', 'EPSG:25833']
    bbox_srs:
        - bbox: [2750000, 5000000, 4250000, 6500000]
          srs: 'EPSG:31467'
        - 'EPSG:3857'
    md:
      title: MapProxy test fixture ☃
      abstract: This is MapProxy.
      online_resource: http://mapproxy.org/
      contact:
        person: Bob Mustermann
        position: Technical Director
        organisation: Acme
        address: Fakestreet 123
        city: Fakecity
        postcode: 12345
        country: Germany
        phone: 0123456789
        fax: 0123456789
        email: info@example.org
      access_constraints:
        Here be dragons.
    inspire_md:
      type: linked
      languages:
        default: eng
      metadata_url:
        url: http://example.org/metadata
        media_type: application/vnd.iso.19139+xml

layers:
  - name: inspire_example
    title: Example layer with Inspire View Service metadata
    sources: [direct]
    md:
      abstract: Some abstract
      keyword_list:
       - vocabulary: Name of the vocabulary
         keywords:   [keyword1, keyword2]
       - vocabulary: Name of another vocabulary
         keywords:   [keyword1, keyword2]
       - keywords:   ["keywords without vocabulary"]
      attribution:
       title: My attribution title
       url:   http://some.url/
       logo:
         url:    http://some.url/logo.jpg
         width:  100
         height: 100
         format: image/jpeg
      identifier:
       - url:    http://some.url/
         name:   HKU1234
         value:  Some value
      metadata:
       - url:    http://some.url/
         type:   INSPIRE
         format: application/xml
       - url:    http://some.url/
         type:   ISO19115:2003
         format: application/xml
      data:
       - url:    http://some.url/datasets/test.shp
         format: application/octet-stream
       - url:    http://some.url/datasets/test.gml
         format: text/xml; subtype=gml/3.2.1
      feature_list:
       - url:    http://some.url/datasets/test.pdf
         format: application/pdf

sources:
  direct:
    type: wms
    req:
      url: http://localhost:42423/service
      layers: bar
    coverage:
      bbox: [-180, -80, 170, 80]
      srs: 'EPSG:4326'
