-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmapcache.xml
More file actions
126 lines (116 loc) · 3.8 KB
/
mapcache.xml
File metadata and controls
126 lines (116 loc) · 3.8 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<mapcache>
<metadata>
<title>WMTS / Amt für Geoinformation Kanton Solothurn</title>
<abstract>None</abstract>
<!-- <url>SERVICE_URL</url> -->
</metadata>
<grid name="2056">
<metadata>
<title>CH1903+ / LV95</title>
</metadata>
<origin>top-left</origin>
<srs>EPSG:2056</srs>
<units>m</units>
<extent>2420000,1030000,2900000,1350000</extent>
<!--eCH-0056 v2 ? / bisher -->
<!--<resolutions>4000,3750,3500,3250,3000,2750,2500,2250,2000,1750,1500,1250,1000,750,650,500,250,100,50,20,10,5,2.5,2,1.5,1,0.5,0.25,0.1</resolutions>-->
<!--eCH-0056 v3-->
<!--Resolution 0.05 removed intentionally from the following list-->
<resolutions>4000,2000,1000,500,250,100,50,20,10,5,2.5,1,0.5,0.25,0.1</resolutions>
<size>256 256</size>
</grid>
<cache name="sqlite" type="sqlite3">
<dbfile>/tiles/{tileset}-{z}-{grid}.db</dbfile>
<detect_blank/>
</cache>
<format name="myjpeg" type ="JPEG">
<quality>80</quality>
<photometric>YCBCR</photometric> <!-- RGB | YCBCR -->
</format>
<source name="ch.so.agi.hintergrundkarte_ortho" type="wms">
<getmap>
<params>
<FORMAT>image/jpeg</FORMAT>
<LAYERS>ch.so.agi.hintergrundkarte_ortho</LAYERS>
<TRANSPARENT>true</TRANSPARENT>
</params>
</getmap>
<http>
<url>SOURCE_URL</url>
<connection_timeout>60</connection_timeout>
</http>
</source>
<source name="ch.so.agi.hintergrundkarte_farbig" type="wms">
<getmap>
<params>
<FORMAT>image/png</FORMAT>
<LAYERS>ch.so.agi.hintergrundkarte_farbig</LAYERS>
<TRANSPARENT>true</TRANSPARENT>
</params>
</getmap>
<http>
<url>SOURCE_URL</url>
<connection_timeout>60</connection_timeout>
</http>
</source>
<source name="ch.so.agi.hintergrundkarte_sw" type="wms">
<getmap>
<params>
<FORMAT>image/png</FORMAT>
<LAYERS>ch.so.agi.hintergrundkarte_sw</LAYERS>
<TRANSPARENT>true</TRANSPARENT>
</params>
</getmap>
<http>
<url>SOURCE_URL</url>
<connection_timeout>60</connection_timeout>
</http>
</source>
<tileset name="ch.so.agi.hintergrundkarte_ortho">
<source>ch.so.agi.hintergrundkarte_ortho</source>
<cache>sqlite</cache>
<grid restricted_extent="2570000,1208000,2667000,1268000">2056</grid>
<format>myjpeg</format>
<metatile>8 8</metatile>
<metabuffer>0</metabuffer>
<expires>28800</expires>
</tileset>
<tileset name="ch.so.agi.hintergrundkarte_farbig">
<source>ch.so.agi.hintergrundkarte_farbig</source>
<cache>sqlite</cache>
<grid restricted_extent="2570000,1208000,2667000,1268000">2056</grid>
<format>PNG</format>
<metatile>8 8</metatile>
<metabuffer>20</metabuffer>
<expires>28800</expires>
</tileset>
<tileset name="ch.so.agi.hintergrundkarte_sw">
<source>ch.so.agi.hintergrundkarte_sw</source>
<cache>sqlite</cache>
<grid restricted_extent="2570000,1208000,2667000,1268000">2056</grid>
<format>PNG</format>
<metatile>8 8</metatile>
<metabuffer>20</metabuffer>
<expires>28800</expires>
</tileset>
<default_format>JPEG</default_format>
<service type="wms" enabled="true">
<full_wms>assemble</full_wms>
<resample_mode>bilinear</resample_mode>
<format allow_client_override="true">JPEG</format>
<maxsize>4096</maxsize>
</service>
<service type="wmts" enabled="true"/>
<service type="tms" enabled="false"/>
<service type="kml" enabled="false"/>
<service type="gmaps" enabled="false"/>
<service type="ve" enabled="false"/>
<service type="mapguide" enabled="false"/>
<service type="demo" enabled="DEMO_SERVICE_ENABLED"/>
<errors>report</errors>
<locker type="disk">
<directory>/tmp</directory>
<timeout>300</timeout>
</locker>
</mapcache>