Skip to content

Instantly share code, notes, and snippets.

@ampledata ampledata/mapproxy.yaml Secret
Last active Aug 3, 2018

Embed
What would you like to do?
services:
demo:
tms:
use_grid_names: true
origin: 'nw'
wmts:
layers:
- name: combined_layer
title: osm + osl
sources: [combined_cache]
caches:
combined_cache:
meta_buffer: 0
meta_size: [1, 1]
grids: [webmercator]
sources: [osm_cache, osl_cache]
osm_cache:
meta_buffer: 0
meta_size: [1, 1]
sources: [osm]
grids: [webmercator]
osl_cache:
meta_buffer: 0
meta_size: [1, 1]
grids: [webmercator]
sources: []
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
globals:
image:
formats:
custom_format:
format: image/png
mode: P
transparent: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.