-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmapproxy.yaml
96 lines (86 loc) · 2.35 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# MapProxy configuration
# ----------------------
# https://mapproxy.org/docs/latest/configuration.html
#
# Formatting: prettier --write mapproxy.yaml
services:
demo:
tms:
use_grid_names: true
origin: "nw"
layers:
- name: xgis
title: Maaamet X-GIS
sources: [xgis_cache]
- name: xgis_terrain
title: Maaamet Terrain
sources: [xgis_terrain_cache]
- name: xgis_surface
title: Maaamet Surface
sources: [xgis_surface_cache]
caches:
xgis_cache:
cache:
type: file
use_grid_names: true
downscale_tiles: 2
grids: [hidpi]
sources: [xgis_wms]
meta_size: [2, 2]
# DTM (Digital Terrain Model) only
xgis_terrain_cache:
cache:
type: file
use_grid_names: true
grids: [hidpi]
sources: [xgis_wms_terrain]
# DSM (Digital Surface Model) and DTM layers overlaid on top of each other
xgis_surface_cache:
cache:
type: file
use_grid_names: true
grids: [hidpi]
sources: [xgis_wms_surface]
sources:
xgis_wms:
type: wms
req:
url: https://kaart.maaamet.ee/wms/fotokaart?
layers: EESTIFOTO
concurrent_requests: 4
supported_srs: ["EPSG:3301"]
coverage:
# Source for bounding box: https://epsg.io/3301
bbox: [282560, 6381157, 734255, 6658861]
bbox_srs: "EPSG:3301"
# DTM - Digital Terrain Model - represents the bare ground surface without any objects like plants and buildings
xgis_wms_terrain:
type: wms
req:
url: https://xgis.maaamet.ee/xgis2/service/1h00/mit?
layers: colormap,HYBRID,colormap_shade
concurrent_requests: 4
supported_srs: ["EPSG:3301"]
coverage:
# Source for bounding box: https://epsg.io/3301
bbox: [282560, 6381157, 734255, 6658861]
bbox_srs: "EPSG:3301"
# nDSM - normalised Digital Surface Model - captures both the natural and built/artificial features of the environment
# This is an overlay used on top of DTM.
xgis_wms_surface:
type: wms
req:
url: https://xgis.maaamet.ee/xgis2/service/1h00/mit?
layers: colormap,HYBRID,colormap_shade,nDSM
concurrent_requests: 4
supported_srs: ["EPSG:3301"]
coverage:
# Source for bounding box: https://epsg.io/3301
bbox: [282560, 6381157, 734255, 6658861]
bbox_srs: "EPSG:3301"
grids:
hidpi:
base: GLOBAL_WEBMERCATOR
tile_size: [512, 512]
num_levels: 22
globals: