[MapProxy] coverages for tagged sources

Travis Kirstine traviskirstine at gmail.com
Tue Nov 22 11:13:33 PST 2016


Is it possible to use different source coverages / extent based on the
tagged source layer?  For instance in the example below I would like to
define  a different bbox for each layer for the GetCapabilities.



sources:
  my_wms:
    type: wms
    w ms_opts:
      version: 1.0.0
    req:
      url: http://server26.jdbarnes.com/cgi-bin/wms?
    coverage:
      datasource: "PG: dbname='foo' host='server.com'"
      where: 'SELECT * FROM foo WHERE name=some_var'
       srs: 'EPSG:3857'


layers
  - name: world
    title: World
    sources: ['my_wms:world']

  - name: small_village
    title: Small Village
    sources: ['my_wms:village']
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20161122/ef9e2a03/attachment.html>


More information about the MapProxy mailing list