-
Notifications
You must be signed in to change notification settings - Fork 0
/
mapproxy.yaml
52 lines (44 loc) · 1.03 KB
/
mapproxy.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# -------------------------------
# MapProxy example configuration.
# -------------------------------
#
# This is a minimal MapProxy configuration.
# See full_example.yaml and the documentation for more options.
#
# Starts the following services:
# Demo:
# http://localhost:8080/demo
# WMS:
# capabilities: http://localhost:8080/service?REQUEST=GetCapabilities
# WMTS:
# capabilities: http://localhost:8080/wmts/1.0.0/WMTSCapabilities.xml
# first tile: http://localhost:8080/wmts/gm_layer/gm_grid/0/0/0.png
services:
demo:
kml:
wmts:
wms:
md:
title: MapProxy WMS Proxy
abstract: This is a minimal MapProxy example.
layers:
- name: gm_layer
title: Test of using GM tiles
sources: [gm_cache]
caches:
gm_cache:
grids: [gm_grid]
sources: [gm]
cache:
type: file
directory_layout: tms
sources:
gm:
type: tile
url: http://mt0.google.com/vt/lyrs=s@0&hl=en&x=%(x)s&y=%(y)s&z=%(z)s
grid: gm_grid
grids:
gm_grid:
base: GLOBAL_MERCATOR
origin: ul
globals: