Skip to content

Instantly share code, notes, and snippets.

@ampledata
Created August 1, 2018 18:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ampledata/13434095e2923d25e2e4f36b1902b69e to your computer and use it in GitHub Desktop.
Save ampledata/13434095e2923d25e2e4f36b1902b69e to your computer and use it in GitHub Desktop.
transparent background
services:
demo:
tms:
use_grid_names: true
origin: 'nw'
wmts:
layers:
- name: combined_layer
title: osm + osl
sources: [combined_cache]
caches:
combined_cache:
grids: [webmercator]
sources: [osm]
format: custom_format
cache:
type: file
directory: /mapproxy/osl/
directory_layout: tms
sources:
osm:
type: tile
grid: GLOBAL_WEBMERCATOR
url: http://a.tile.openstreetmap.org/%(z)s/%(x)s/%(y)s.png
transparent: true
grids:
webmercator:
base: GLOBAL_WEBMERCATOR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment