forked from alleveenstra/mapproxy-mapnik
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmapproxy-mapnik.yaml
44 lines (37 loc) · 875 Bytes
/
mapproxy-mapnik.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
services:
demo:
kml:
tms:
wms:
# srs: ['EPSG:4326', 'EPSG:900913']
# image_formats: ['image/jpeg', 'image/png']
md:
# metadata used in capabilities documents
title: MapProxy WMS Proxy
abstract: This is the fantastic MapProxy.
online_resource: http://mapproxy.org/
layers:
- name: my_layer
title: WMS layer from tiles
sources: [mycache]
caches:
mycache:
grids: [tile_grid_of_source]
sources: [my_tile_source]
sources:
my_tile_source:
type: tile
grid: tile_grid_of_source
url: http://127.0.0.1/osm_tiles/%(z)s/%(x)s/%(y)s.png
grids:
tile_grid_of_source:
base: GLOBAL_MERCATOR
origin: nw
globals:
cache:
base_dir: './cache_data'
lock_dir: './cache_data/locks'
image:
resampling_method: bicubic
# resampling_method: bilinear
# resampling_method: bicubic