source: josm/trunk/test/data/wmts/WMTSCapabilities-Ontario.xml@ 8752

Last change on this file since 8752 was 8752, checked in by wiktorn, 9 years ago

Support situations, where WMTS service provides more than one tile set for one projection.

Closes: #10623

File size: 17.5 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<Capabilities xmlns="http://www.opengis.net/wmts/1.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gml="http://www.opengis.net/gml" xsi:schemaLocation="http://www.opengis.net/wmts/1.0 http://schemas.opengis.net/wmts/1.0/wmtsGetCapabilities_response.xsd" version="1.0.0">
3 <!-- Service Identification -->
4 <ows:ServiceIdentification>
5 <ows:Title>Basemap_Imagery_2014</ows:Title>
6 <ows:ServiceType>OGC WMTS</ows:ServiceType>
7 <ows:ServiceTypeVersion>1.0.0</ows:ServiceTypeVersion>
8</ows:ServiceIdentification> <!-- Operations Metadata --> <ows:OperationsMetadata>
9 <ows:Operation name="GetCapabilities">
10 <ows:DCP>
11 <ows:HTTP>
12 <ows:Get xlink:href="http://maps.ottawa.ca/arcgis/rest/services/Basemap_Imagery_2014/MapServer/WMTS/1.0.0/WMTSCapabilities.xml">
13 <ows:Constraint name="GetEncoding">
14 <ows:AllowedValues>
15 <ows:Value>RESTful</ows:Value>
16 </ows:AllowedValues>
17 </ows:Constraint>
18 </ows:Get>
19 <!-- add KVP binding in 10.1 -->
20 <ows:Get xlink:href="http://maps.ottawa.ca/arcgis/rest/services/Basemap_Imagery_2014/MapServer/WMTS?">
21 <ows:Constraint name="GetEncoding">
22 <ows:AllowedValues>
23 <ows:Value>KVP</ows:Value>
24 </ows:AllowedValues>
25 </ows:Constraint>
26 </ows:Get>
27 </ows:HTTP>
28 </ows:DCP>
29 </ows:Operation>
30 <ows:Operation name="GetTile">
31 <ows:DCP>
32 <ows:HTTP>
33 <ows:Get xlink:href="http://maps.ottawa.ca/arcgis/rest/services/Basemap_Imagery_2014/MapServer/WMTS/tile/1.0.0/">
34 <ows:Constraint name="GetEncoding">
35 <ows:AllowedValues>
36 <ows:Value>RESTful</ows:Value>
37 </ows:AllowedValues>
38 </ows:Constraint>
39 </ows:Get>
40 <ows:Get xlink:href="http://maps.ottawa.ca/arcgis/rest/services/Basemap_Imagery_2014/MapServer/WMTS?">
41 <ows:Constraint name="GetEncoding">
42 <ows:AllowedValues>
43 <ows:Value>KVP</ows:Value>
44 </ows:AllowedValues>
45 </ows:Constraint>
46 </ows:Get>
47 </ows:HTTP>
48 </ows:DCP>
49 </ows:Operation>
50</ows:OperationsMetadata>
51<Contents>
52 <!--Layer-->
53 <Layer>
54 <ows:Title>Basemap_Imagery_2014</ows:Title>
55 <ows:Identifier>Basemap_Imagery_2014</ows:Identifier>
56
57 <ows:BoundingBox crs="urn:ogc:def:crs:EPSG::3857">
58
59 <ows:LowerCorner>-8507199.652697453 5606950.534040266</ows:LowerCorner>
60 <ows:UpperCorner>-8367322.830222864 5713437.426857653</ows:UpperCorner>
61
62 </ows:BoundingBox>
63
64 <ows:WGS84BoundingBox crs="urn:ogc:def:crs:OGC:2:84">
65 <ows:LowerCorner>-76.42147473074407 44.907369851539244</ows:LowerCorner>
66 <ows:UpperCorner>-75.1649398555141 45.580879803959924</ows:UpperCorner>
67 </ows:WGS84BoundingBox>
68 <Style isDefault="true">
69 <ows:Title>Default Style</ows:Title>
70 <ows:Identifier>default</ows:Identifier>
71 </Style>
72 <Format>image/jpg</Format>
73 <TileMatrixSetLink>
74 <TileMatrixSet>default028mm</TileMatrixSet>
75 </TileMatrixSetLink>
76
77
78 <TileMatrixSetLink>
79 <!--Only show this TileMatrixSet if the tiling scheme is compliant to Google Maps (and that happens with tile width = 256 px)-->
80 <TileMatrixSet>GoogleMapsCompatible</TileMatrixSet>
81 </TileMatrixSetLink>
82
83 <ResourceURL format="image/jpg" resourceType="tile" template="http://maps.ottawa.ca/arcgis/rest/services/Basemap_Imagery_2014/MapServer/WMTS/tile/1.0.0/Basemap_Imagery_2014/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.jpg"/>
84 </Layer>
85 <!--TileMatrixSet-->
86 <TileMatrixSet>
87 <ows:Title>TileMatrix using 0.28mm</ows:Title>
88 <ows:Abstract>The tile matrix set that has scale values calculated based on the dpi defined by OGC specification (dpi assumes 0.28mm as the physical distance of a pixel).</ows:Abstract>
89 <ows:Identifier>default028mm</ows:Identifier>
90 <ows:SupportedCRS>urn:ogc:def:crs:EPSG::3857</ows:SupportedCRS>
91
92 <TileMatrix>
93 <ows:Identifier>0</ows:Identifier>
94
95 <ScaleDenominator>1091957.5469304253</ScaleDenominator>
96
97 <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>
98 <TileWidth>256</TileWidth>
99 <TileHeight>256</TileHeight>
100
101 <MatrixWidth>150</MatrixWidth>
102 <MatrixHeight>185</MatrixHeight>
103
104 </TileMatrix>
105
106 <TileMatrix>
107 <ows:Identifier>1</ows:Identifier>
108
109 <ScaleDenominator>545978.7734656851</ScaleDenominator>
110
111 <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>
112 <TileWidth>256</TileWidth>
113 <TileHeight>256</TileHeight>
114
115 <MatrixWidth>299</MatrixWidth>
116 <MatrixHeight>369</MatrixHeight>
117
118 </TileMatrix>
119
120 <TileMatrix>
121 <ows:Identifier>2</ows:Identifier>
122
123 <ScaleDenominator>272989.38673237007</ScaleDenominator>
124
125 <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>
126 <TileWidth>256</TileWidth>
127 <TileHeight>256</TileHeight>
128
129 <MatrixWidth>597</MatrixWidth>
130 <MatrixHeight>738</MatrixHeight>
131
132 </TileMatrix>
133
134 <TileMatrix>
135 <ows:Identifier>3</ows:Identifier>
136
137 <ScaleDenominator>136494.69336618503</ScaleDenominator>
138
139 <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>
140 <TileWidth>256</TileWidth>
141 <TileHeight>256</TileHeight>
142
143 <MatrixWidth>1193</MatrixWidth>
144 <MatrixHeight>1475</MatrixHeight>
145
146 </TileMatrix>
147
148 <TileMatrix>
149 <ows:Identifier>4</ows:Identifier>
150
151 <ScaleDenominator>68247.34668309252</ScaleDenominator>
152
153 <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>
154 <TileWidth>256</TileWidth>
155 <TileHeight>256</TileHeight>
156
157 <MatrixWidth>2386</MatrixWidth>
158 <MatrixHeight>2950</MatrixHeight>
159
160 </TileMatrix>
161
162 <TileMatrix>
163 <ows:Identifier>5</ows:Identifier>
164
165 <ScaleDenominator>34123.67334154626</ScaleDenominator>
166
167 <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>
168 <TileWidth>256</TileWidth>
169 <TileHeight>256</TileHeight>
170
171 <MatrixWidth>4772</MatrixWidth>
172 <MatrixHeight>5900</MatrixHeight>
173
174 </TileMatrix>
175
176 <TileMatrix>
177 <ows:Identifier>6</ows:Identifier>
178
179 <ScaleDenominator>17061.836671245605</ScaleDenominator>
180
181 <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>
182 <TileWidth>256</TileWidth>
183 <TileHeight>256</TileHeight>
184
185 <MatrixWidth>9543</MatrixWidth>
186 <MatrixHeight>11800</MatrixHeight>
187
188 </TileMatrix>
189
190 <TileMatrix>
191 <ows:Identifier>7</ows:Identifier>
192
193 <ScaleDenominator>8530.918335622802</ScaleDenominator>
194
195 <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>
196 <TileWidth>256</TileWidth>
197 <TileHeight>256</TileHeight>
198
199 <MatrixWidth>19085</MatrixWidth>
200 <MatrixHeight>23599</MatrixHeight>
201
202 </TileMatrix>
203
204 <TileMatrix>
205 <ows:Identifier>8</ows:Identifier>
206
207 <ScaleDenominator>4265.459167338929</ScaleDenominator>
208
209 <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>
210 <TileWidth>256</TileWidth>
211 <TileHeight>256</TileHeight>
212
213 <MatrixWidth>38170</MatrixWidth>
214 <MatrixHeight>47198</MatrixHeight>
215
216 </TileMatrix>
217
218 <TileMatrix>
219 <ows:Identifier>9</ows:Identifier>
220
221 <ScaleDenominator>2132.729584141936</ScaleDenominator>
222
223 <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>
224 <TileWidth>256</TileWidth>
225 <TileHeight>256</TileHeight>
226
227 <MatrixWidth>76339</MatrixWidth>
228 <MatrixHeight>94396</MatrixHeight>
229
230 </TileMatrix>
231
232 <TileMatrix>
233 <ows:Identifier>10</ows:Identifier>
234
235 <ScaleDenominator>1066.3647915984968</ScaleDenominator>
236
237 <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>
238 <TileWidth>256</TileWidth>
239 <TileHeight>256</TileHeight>
240
241 <MatrixWidth>152678</MatrixWidth>
242 <MatrixHeight>188791</MatrixHeight>
243
244 </TileMatrix>
245
246 <TileMatrix>
247 <ows:Identifier>11</ows:Identifier>
248
249 <ScaleDenominator>533.1823957992484</ScaleDenominator>
250
251 <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>
252 <TileWidth>256</TileWidth>
253 <TileHeight>256</TileHeight>
254
255 <MatrixWidth>305355</MatrixWidth>
256 <MatrixHeight>377581</MatrixHeight>
257
258 </TileMatrix>
259
260 <TileMatrix>
261 <ows:Identifier>12</ows:Identifier>
262
263 <ScaleDenominator>266.5911978996242</ScaleDenominator>
264
265 <TopLeftCorner>-2.0037508342787E7 2.0037508342787E7</TopLeftCorner>
266 <TileWidth>256</TileWidth>
267 <TileHeight>256</TileHeight>
268
269 <MatrixWidth>610709</MatrixWidth>
270 <MatrixHeight>755161</MatrixHeight>
271
272 </TileMatrix>
273
274 </TileMatrixSet>
275
276 <TileMatrixSet>
277 <ows:Title>GoogleMapsCompatible</ows:Title>
278 <ows:Abstract>the wellknown 'GoogleMapsCompatible' tile matrix set defined by OGC WMTS specification</ows:Abstract>
279 <ows:Identifier>GoogleMapsCompatible</ows:Identifier>
280 <ows:SupportedCRS>urn:ogc:def:crs:EPSG:6.18.3:3857</ows:SupportedCRS>
281 <WellKnownScaleSet>urn:ogc:def:wkss:OGC:1.0:GoogleMapsCompatible</WellKnownScaleSet>
282 <TileMatrix>
283 <ows:Identifier>0</ows:Identifier>
284 <ScaleDenominator>559082264.0287178</ScaleDenominator>
285 <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
286 <TileWidth>256</TileWidth>
287 <TileHeight>256</TileHeight>
288 <MatrixWidth>1</MatrixWidth>
289 <MatrixHeight>1</MatrixHeight>
290 </TileMatrix>
291 <TileMatrix>
292 <ows:Identifier>1</ows:Identifier>
293 <ScaleDenominator>279541132.0143589</ScaleDenominator>
294 <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
295 <TileWidth>256</TileWidth>
296 <TileHeight>256</TileHeight>
297 <MatrixWidth>2</MatrixWidth>
298 <MatrixHeight>2</MatrixHeight>
299 </TileMatrix>
300 <TileMatrix>
301 <ows:Identifier>2</ows:Identifier>
302 <ScaleDenominator>139770566.0071794</ScaleDenominator>
303 <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
304 <TileWidth>256</TileWidth>
305 <TileHeight>256</TileHeight>
306 <MatrixWidth>4</MatrixWidth>
307 <MatrixHeight>4</MatrixHeight>
308 </TileMatrix>
309 <TileMatrix>
310 <ows:Identifier>3</ows:Identifier>
311 <ScaleDenominator>69885283.00358972</ScaleDenominator>
312 <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
313 <TileWidth>256</TileWidth>
314 <TileHeight>256</TileHeight>
315 <MatrixWidth>8</MatrixWidth>
316 <MatrixHeight>8</MatrixHeight>
317 </TileMatrix>
318 <TileMatrix>
319 <ows:Identifier>4</ows:Identifier>
320 <ScaleDenominator>34942641.50179486</ScaleDenominator>
321 <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
322 <TileWidth>256</TileWidth>
323 <TileHeight>256</TileHeight>
324 <MatrixWidth>16</MatrixWidth>
325 <MatrixHeight>16</MatrixHeight>
326 </TileMatrix>
327 <TileMatrix>
328 <ows:Identifier>5</ows:Identifier>
329 <ScaleDenominator>17471320.75089743</ScaleDenominator>
330 <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
331 <TileWidth>256</TileWidth>
332 <TileHeight>256</TileHeight>
333 <MatrixWidth>32</MatrixWidth>
334 <MatrixHeight>32</MatrixHeight>
335 </TileMatrix>
336 <TileMatrix>
337 <ows:Identifier>6</ows:Identifier>
338 <ScaleDenominator>8735660.375448715</ScaleDenominator>
339 <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
340 <TileWidth>256</TileWidth>
341 <TileHeight>256</TileHeight>
342 <MatrixWidth>64</MatrixWidth>
343 <MatrixHeight>64</MatrixHeight>
344 </TileMatrix>
345 <TileMatrix>
346 <ows:Identifier>7</ows:Identifier>
347 <ScaleDenominator>4367830.187724357</ScaleDenominator>
348 <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
349 <TileWidth>256</TileWidth>
350 <TileHeight>256</TileHeight>
351 <MatrixWidth>128</MatrixWidth>
352 <MatrixHeight>128</MatrixHeight>
353 </TileMatrix>
354 <TileMatrix>
355 <ows:Identifier>8</ows:Identifier>
356 <ScaleDenominator>2183915.093862179</ScaleDenominator>
357 <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
358 <TileWidth>256</TileWidth>
359 <TileHeight>256</TileHeight>
360 <MatrixWidth>256</MatrixWidth>
361 <MatrixHeight>256</MatrixHeight>
362 </TileMatrix>
363 <TileMatrix>
364 <ows:Identifier>9</ows:Identifier>
365 <ScaleDenominator>1091957.546931089</ScaleDenominator>
366 <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
367 <TileWidth>256</TileWidth>
368 <TileHeight>256</TileHeight>
369 <MatrixWidth>512</MatrixWidth>
370 <MatrixHeight>512</MatrixHeight>
371 </TileMatrix>
372 <TileMatrix>
373 <ows:Identifier>10</ows:Identifier>
374 <ScaleDenominator>545978.7734655447</ScaleDenominator>
375 <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
376 <TileWidth>256</TileWidth>
377 <TileHeight>256</TileHeight>
378 <MatrixWidth>1024</MatrixWidth>
379 <MatrixHeight>1024</MatrixHeight>
380 </TileMatrix>
381 <TileMatrix>
382 <ows:Identifier>11</ows:Identifier>
383 <ScaleDenominator>272989.3867327723</ScaleDenominator>
384 <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
385 <TileWidth>256</TileWidth>
386 <TileHeight>256</TileHeight>
387 <MatrixWidth>2048</MatrixWidth>
388 <MatrixHeight>2048</MatrixHeight>
389 </TileMatrix>
390 <TileMatrix>
391 <ows:Identifier>12</ows:Identifier>
392 <ScaleDenominator>136494.6933663862</ScaleDenominator>
393 <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
394 <TileWidth>256</TileWidth>
395 <TileHeight>256</TileHeight>
396 <MatrixWidth>4096</MatrixWidth>
397 <MatrixHeight>4096</MatrixHeight>
398 </TileMatrix>
399 <TileMatrix>
400 <ows:Identifier>13</ows:Identifier>
401 <ScaleDenominator>68247.34668319309</ScaleDenominator>
402 <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
403 <TileWidth>256</TileWidth>
404 <TileHeight>256</TileHeight>
405 <MatrixWidth>8192</MatrixWidth>
406 <MatrixHeight>8192</MatrixHeight>
407 </TileMatrix>
408 <TileMatrix>
409 <ows:Identifier>14</ows:Identifier>
410 <ScaleDenominator>34123.67334159654</ScaleDenominator>
411 <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
412 <TileWidth>256</TileWidth>
413 <TileHeight>256</TileHeight>
414 <MatrixWidth>16384</MatrixWidth>
415 <MatrixHeight>16384</MatrixHeight>
416 </TileMatrix>
417 <TileMatrix>
418 <ows:Identifier>15</ows:Identifier>
419 <ScaleDenominator>17061.83667079827</ScaleDenominator>
420 <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
421 <TileWidth>256</TileWidth>
422 <TileHeight>256</TileHeight>
423 <MatrixWidth>32768</MatrixWidth>
424 <MatrixHeight>32768</MatrixHeight>
425 </TileMatrix>
426 <TileMatrix>
427 <ows:Identifier>16</ows:Identifier>
428 <ScaleDenominator>8530.918335399136</ScaleDenominator>
429 <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
430 <TileWidth>256</TileWidth>
431 <TileHeight>256</TileHeight>
432 <MatrixWidth>65536</MatrixWidth>
433 <MatrixHeight>65536</MatrixHeight>
434 </TileMatrix>
435 <TileMatrix>
436 <ows:Identifier>17</ows:Identifier>
437 <ScaleDenominator>4265.459167699568</ScaleDenominator>
438 <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
439 <TileWidth>256</TileWidth>
440 <TileHeight>256</TileHeight>
441 <MatrixWidth>131072</MatrixWidth>
442 <MatrixHeight>131072</MatrixHeight>
443 </TileMatrix>
444 <TileMatrix>
445 <ows:Identifier>18</ows:Identifier>
446 <ScaleDenominator>2132.729583849784</ScaleDenominator>
447 <TopLeftCorner>-20037508.34278925 20037508.34278925</TopLeftCorner>
448 <TileWidth>256</TileWidth>
449 <TileHeight>256</TileHeight>
450 <MatrixWidth>262144</MatrixWidth>
451 <MatrixHeight>262144</MatrixHeight>
452 </TileMatrix>
453 </TileMatrixSet>
454
455</Contents>
456<ServiceMetadataURL xlink:href="http://maps.ottawa.ca/arcgis/rest/services/Basemap_Imagery_2014/MapServer/WMTS/1.0.0/WMTSCapabilities.xml"/>
457</Capabilities>
Note: See TracBrowser for help on using the repository browser.