[MapProxy] New MapProxy 1.1.0b1 release
Oliver Tonnhofer
olt at omniscale.de
Thu May 12 07:41:56 EDT 2011
On 12.05.2011, at 09:57, Oliver Tonnhofer wrote:
> Tagged WMS Sources
> ------------------
>
> You can tag WMS source names with layer names. It is no longer required to
> specify a WMS source multiple times, for each layer combination you use.
> You can now define a WMS once without any layers and then tag the source
> name with the layers you need.
>
> sources:
> wms1:
> type: wms
> req:
> url: http://example.org/service?
>
> caches:
> mycache1:
> sources: [wms1:lyr1,lyr2]
> grids: [mygrid]
> mycache2:
> sources: [wms1:lyr3,lyr4]
> grids: [mygrid]
For everyone trying that example out: The tagged layer names need to be enclosed in quotes, since the colon is ambiguous in YAML.
So it is
sources: ['wms1:lyr1,lyr2']
The documentation has the right format:
> - http://mapproxy.org/docs/nightly/sources.html#tagged-source-names
Regards,
Oliver
--
Oliver Tonnhofer | Omniscale GmbH & Co KG | http://omniscale.de
http://mapproxy.org | https://bitbucket.org/olt | @oltonn
More information about the MapProxy
mailing list