-
Notifications
You must be signed in to change notification settings - Fork 2
/
mapcache.xml
145 lines (128 loc) · 3.86 KB
/
mapcache.xml
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<?xml version="1.0" encoding="UTF-8"?>
<!-- see the accompanying mapcache.xml.sample for a fully commented configuration file -->
<mapcache>
<cache name="disk" type="disk">
<base>/data/cache</base>
<symlink_blank/>
</cache>
<format name="png" type ="PNG">
<compression>best</compression>
</format>
<format name="jpeg" type="JPEG">
<quality>70</quality>
<photometric>ycbcr</photometric>
</format>
<grid name="lyon_3946">
<metadata>
<title>test grid for grandlyon </title>
</metadata>
<srs>EPSG:3946</srs>
<size>256 256</size>
<extent>1.83e+06 5.151e+06 1.869e+06 5.195e+06</extent>
<!--extent>1780810 5111630 1905820 5242220</extent-->
<resolutions>2048 1024 512 256 128 64 32 16 8 4 2 1 0.5 0.25 0.125 0.0625</resolutions>
<units>m</units>
</grid>
<source name="grandlyon_mnt" type="wms">
<getmap>
<params>
<FORMAT>image/jpeg</FORMAT>
<LAYERS>MNT2009_Altitude_10m_CC46</LAYERS>
</params>
</getmap>
<http>
<url>https://download.data.grandlyon.com/wms/grandlyon</url>
</http>
</source>
<source name="grandlyon_ortho" type="wms">
<getmap>
<params>
<FORMAT>image/jpeg</FORMAT>
<LAYERS>Ortho2009_vue_ensemble_16cm_CC46</LAYERS>
</params>
</getmap>
<http>
<url>https://download.data.grandlyon.com/wms/grandlyon</url>
</http>
</source>
<source name="grandlyon_plan" type="wms">
<getmap>
<params>
<FORMAT>image/png</FORMAT>
<LAYERS>PlanGuide_VueEnsemble_625cm_CC46 </LAYERS>
</params>
</getmap>
<http>
<url>https://download.data.grandlyon.com/wms/grandlyon</url>
</http>
</source>
<source name="grandlyon_no2" type="wms">
<getmap>
<params>
<FORMAT>image/jpeg</FORMAT>
<LAYERS>Carte_agglo_Lyon_NO2_2012</LAYERS>
</params>
</getmap>
<http>
<url>https://download.data.grandlyon.com/wms/smartdata</url>
<connection_timeout>30</connection_timeout>
</http>
</source>
<tileset name="mnt">
<source>grandlyon_mnt</source>
<cache>disk</cache>
<grid>lyon_3946</grid>
<grid>g</grid>
<format>jpeg</format>
<metatile>5 5</metatile>
<metabuffer>10</metabuffer>
<expires>3600</expires>
</tileset>
<tileset name="plan">
<source>grandlyon_plan</source>
<cache>disk</cache>
<grid>lyon_3946</grid>
<grid>g</grid>
<format>png</format>
<metatile>5 5</metatile>
<metabuffer>10</metabuffer>
<expires>3600</expires>
</tileset>
<tileset name="ortho">
<source>grandlyon_ortho</source>
<cache>disk</cache>
<grid>lyon_3946</grid>
<grid>g</grid>
<format>jpeg</format>
<metatile>5 5</metatile>
<metabuffer>10</metabuffer>
<expires>3600</expires>
</tileset>
<tileset name="no2">
<source>grandlyon_no2</source>
<cache>disk</cache>
<grid>lyon_3946</grid>
<grid>g</grid>
<format>png</format>
<metatile>5 5</metatile>
<metabuffer>10</metabuffer>
<expires>3600</expires>
</tileset>
<default_format>jpeg</default_format>
<service type="wms" enabled="true">
<full_wms>assemble</full_wms>
<resample_mode>bilinear</resample_mode>
<format>jpeg</format>
<maxsize>4096</maxsize>
</service>
<service type="wmts" enabled="true"/>
<service type="tms" enabled="true"/>
<service type="kml" enabled="true"/>
<service type="gmaps" enabled="true"/>
<service type="ve" enabled="true"/>
<service type="mapguide" enabled="true"/>
<service type="demo" enabled="true"/>
<errors>report</errors>
<log_level>warn</log_level>
<lock_dir>/data/cache</lock_dir>
</mapcache>