Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 604 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 604 Bytes

WMTS Rest Legend Plugin

This is a plugin for MapProxy that allows to serve Legends for a WMTS Rest Service under the /wmts endpoint.

Quick-Start

  1. pip install git+ssh://github.com/mapproxy/wmts-rest-legend-plugin#egg=wmts-rest-legend-plugin
  2. add the following config to layers:
layers:
  - name: some-name
    wmts_rest_legend_url: '{base_url}/wmts/legend/{layer_name}.png'

Test locally

  1. pip install MapProxy
  2. pip install -e .
  3. mapproxy-util serve-develop example/mapproxy.yaml