-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmapproxy.yaml
74 lines (63 loc) · 1.62 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# This demonstrates exposing a HIPS source as OGC services
# HIPS endpoints are:
# - http://localhost:8080/hips/mars_wms
# - http://localhost:8080/hips/mars_tiled_geodetic
# 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/mars_hips/geodetic/0/0/0.png
services:
demo:
tms:
use_grid_names: true
# origin for /tiles service
origin: 'nw'
kml:
use_grid_names: true
wmts:
wms:
srs: ['EPSG:4326', 'CRS:84', 'EPSG:32661']
md:
title: MapProxy WMS Proxy
abstract: This is a minimal MapProxy example.
layers:
- name: mars_hips
title: MARS
sources: [mars_hips_cache]
- name: mars_hips_north_polar
title: MARS
sources: [mars_hips_cache_north_polar]
- name: mars_hips_direct
title: MARS
sources: [mars_hips_source]
caches:
mars_hips_cache:
grids: [geodetic]
sources: [mars_hips_source]
mars_hips_cache_north_polar:
grids: [north_polar]
sources: [mars_hips_source]
sources:
mars_hips_source:
type: hips
image:
format: image/jpeg
resampling_method: bilinear
url: http://alasky.u-strasbg.fr/Planets/Mars_MOLA
# cache_hips_tiles: false
grids:
geodetic:
origin: nw
base: GLOBAL_GEODETIC
north_polar:
origin: nw
srs: EPSG:32661
bbox: [-2000000, -2000000, 6000000, 6000000]
min_res: 31250
res_factor: 2
tile_size: [256, 256]
globals: