source: josm/trunk/test/data/wmts/bug12168-WMTSCapabilities.xml@ 9552

Last change on this file since 9552 was 9095, checked in by wiktorn, 8 years ago

Fix 12168.

  • added testcase for bug #12168. I removed all but one layers from the GetCapabilities document to avoid showing dialog
  • added case, that when ResourceURL is provided, but no OperationsMetadata information are present - to assume REST transfer mode
  • added ignore-case paramter for {style} replacement, as some servers use lowercase name, and some capitalized versions

Closes #12168

File size: 15.9 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" xmlns:inspire_vs="http://inspire.ec.europa.eu/schemas/inspire_vs_ows11/1.0" xmlns:inspire_common="http://inspire.ec.europa.eu/schemas/common/1.0" xsi:schemaLocation="http://www.opengis.net/wmts/1.0 http://schemas.opengis.net/wmts/1.0/wmtsGetCapabilities_response.xsd http://inspire.ec.europa.eu/schemas/inspire_vs_ows11/1.0 http://inspire.ec.europa.eu/schemas/inspire_vs_ows11/1.0/inspire_vs_ows_11.xsd http://inspire.ec.europa.eu/schemas/common/1.0 http://inspire.ec.europa.eu/schemas/common/1.0/common.xsd" version="1.0.0">
3 <ows:ServiceIdentification>
4 <ows:Title xml:lang="nl">Viewservice WMTS</ows:Title>
5 <ows:Title xml:lang="fr">Service de visualisation WMTS</ows:Title>
6 <ows:Abstract xml:lang="nl">CartoWeb is een webservice (Web Map Tile Service) met kaartweergaven op 11 verschillende schaalniveaus (1:2500 - 1:4 000 000).De kaartvoorstelling die hiervoor werd ontwikkeld, is specifiek aangepast voor weergave op het scherm en bestrijkt 11 schaalniveaus (1:2500 tot 1:4 000 000). Cartoweb biedt een kaartvoorstelling van de meest bijgewerkte vectoriële referentiedatasets van het NGI. Er zijn twee versies beschikbaar: 1) een TOPO-laag, met een kaartweergave op alle schalen. 2) een OVERLAY-laag, die bedoeld is om als overdruk op andere achtergrondgegevens gelegd te worden.Deze laag bevat alleen maar de symbolisatie van enkele thema’s.</ows:Abstract>
7 <ows:Abstract xml:lang="fr">CartoWeb est un web-service (Web Map Tile Service) comprenant des représentations cartographiques qui couvrent 11 niveaux d’échelle différents (1 :2 500 - 1 :4 000 000). CartoWeb offre une représentation cartographique, spécifiquement développée pour une visualisation à l’écran, des sets de données vectoriels de référence les plus à jour de l'IGN. Deux versions sont disponibles : 1) une couche TOPO, reprenant une représentation cartographique à toutes les échelles. 2) une couche OVERLAY, destinée à être appliquée en surcharge à d'autres données en fond (des orthophotos par exemple). Cette couche ne reprend la symbolisation que de quelques thèmes uniquement.</ows:Abstract>
8 <ows:Keywords>
9 <ows:Keyword xml:lang="fr">Carte topographique de base</ows:Keyword>
10 <ows:Keyword xml:lang="fr">Bâtiments</ows:Keyword>
11 <ows:Keyword xml:lang="fr">Hydrographie</ows:Keyword>
12 <ows:Keyword xml:lang="fr">Réseaux (Routes, Rails)</ows:Keyword>
13 <ows:Keyword xml:lang="fr">Unités administratives</ows:Keyword>
14 <ows:Keyword xml:lang="fr">LandCover</ows:Keyword>
15 <ows:Keyword xml:lang="fr">Réseau haute tension</ows:Keyword>
16 <ows:Keyword xml:lang="fr">Altimétrie</ows:Keyword>
17 <ows:Keyword xml:lang="fr">Toponymie</ows:Keyword>
18 <ows:Keyword xml:lang="nl">Topografische basiskaart</ows:Keyword>
19 <ows:Keyword xml:lang="nl">Gebouwen</ows:Keyword>
20 <ows:Keyword xml:lang="nl">Hydrografie</ows:Keyword>
21 <ows:Keyword xml:lang="nl">Netwerken (wegen, spoorwegen)</ows:Keyword>
22 <ows:Keyword xml:lang="nl">Administratieve eenheden</ows:Keyword>
23 <ows:Keyword xml:lang="nl">LandCover</ows:Keyword>
24 <ows:Keyword xml:lang="nl">Hoogspanningsnetwerk</ows:Keyword>
25 <ows:Keyword xml:lang="nl">Altimetrie</ows:Keyword>
26 <ows:Keyword xml:lang="nl">Toponymie</ows:Keyword>
27 </ows:Keywords>
28 <ows:ServiceType>OGC WMTS</ows:ServiceType>
29 <ows:ServiceTypeVersion>1.0.0</ows:ServiceTypeVersion>
30 <ows:AccessConstraints>http://www.ngi.be/cartoweb/cartoweb_gebruiksvoorwaarden.pdf - http://www.ngi.be/cartoweb/cartoweb_conditions.pdf</ows:AccessConstraints>
31 </ows:ServiceIdentification>
32 <ows:ServiceProvider>
33 <ows:ProviderName>NGI - IGN</ows:ProviderName>
34 <ows:ProviderSite xlink:href="http://www.ngi.be"/>
35 <ows:ServiceContact>
36 <ows:ContactInfo>
37 <ows:Address>
38 <ows:ElectronicMailAddress>cartoweb@ngi.be</ows:ElectronicMailAddress>
39 </ows:Address>
40 </ows:ContactInfo>
41 </ows:ServiceContact>
42 </ows:ServiceProvider>
43 <Contents>
44 <Layer>
45 <ows:Title xml:lang="nl">CartoWeb-TOPO</ows:Title>
46 <ows:Title xml:lang="fr">CartoWeb-TOPO</ows:Title>
47 <ows:Abstract xml:lang="nl">De TOPO-laag lijkt op een “traditionele” kaartweergave, die alle schalen bestrijkt (1:4 000 000, 1:2 000 000, 1:800 000, 1:500 000, 1:250 000, 1:100 000, 1:50 000, 1:25 000, 1:10 000, 1:5 000, 1:2 500). Dankzij deze verschillende schalen kunnen verschillende types informatie weergegeven worden : Op de kleinste schalen maken de zeer gegeneraliseerde kaarten het mogelijk slechts één thema te benadrukken, zoals de administratieve eenheden of de belangrijkste netwerken. Op de middenschalige weergaven vindt men de typische topografische kaarten van het Nationaal Geografisch Instituut. Deze kaarten zijn dus middelen waarmee men het terrein kan interpreteren, zijn positie kan bepalen en zich oriënteren. De grootste schalen, die zeer gedetailleerd zijn, lijken meer op plannen. Ze hebben hun eigen specifiek nut maar geven geen goed globaal beeld van het landschap.</ows:Abstract>
48 <ows:Abstract xml:lang="fr">La coucheTOPO s’apparente à une représentation cartographique « traditionnelle », couvrant toutes les échelles (1:4 000 000, 1:2 000 000, 1:800 000, 1:500 000, 1:250 000, 1:100 000, 1:50 000, 1:25 000, 1:10 000, 1:5 000, 1:2 500). Cette diversité d’échelles a permis de représenter différents types d’informations : Aux plus petites échelles, les cartes très généralisées permettent de ne mettre en évidence qu’un thème ou l’autre tel que les entités administratives ou les réseaux principaux, tandis que les échelles intermédiaires offrent des cartes topographiques caractéristiques de l’Institut géographique national. Ces cartes sont donc des outils permettant d’interpréter le terrain, de se localiser, et de s’orienter. Les plus grandes échelles, extrêmement détaillées, s’apparentent plus à des plans, ayant leur utilité spécifique mais ne permettant pas d’avoir un bon aperçu global du paysage. </ows:Abstract>
49 <ows:Keywords>
50 <ows:Keyword xml:lang="fr">Carte topographique de base</ows:Keyword>
51 <ows:Keyword xml:lang="fr">Bâtiments</ows:Keyword>
52 <ows:Keyword xml:lang="fr">Hydrographie</ows:Keyword>
53 <ows:Keyword xml:lang="fr">Réseaux (Routes, Rails)</ows:Keyword>
54 <ows:Keyword xml:lang="fr">Unités administratives</ows:Keyword>
55 <ows:Keyword xml:lang="fr">LandCover</ows:Keyword>
56 <ows:Keyword xml:lang="fr">Réseau haute tension</ows:Keyword>
57 <ows:Keyword xml:lang="fr">Altimétrie</ows:Keyword>
58 <ows:Keyword xml:lang="fr">Toponymie</ows:Keyword>
59 <ows:Keyword xml:lang="nl">Topografische basiskaart</ows:Keyword>
60 <ows:Keyword xml:lang="nl">Gebouwen</ows:Keyword>
61 <ows:Keyword xml:lang="nl">Hydrografie</ows:Keyword>
62 <ows:Keyword xml:lang="nl">Netwerken (wegen, spoorwegen)</ows:Keyword>
63 <ows:Keyword xml:lang="nl">Administratieve eenheden</ows:Keyword>
64 <ows:Keyword xml:lang="nl">LandCover</ows:Keyword>
65 <ows:Keyword xml:lang="nl">Hoogspanningsnetwerk</ows:Keyword>
66 <ows:Keyword xml:lang="nl">Altimetrie</ows:Keyword>
67 <ows:Keyword xml:lang="nl">Toponymie</ows:Keyword>
68 </ows:Keywords>
69 <ows:WGS84BoundingBox>
70 <ows:LowerCorner>2.54 49.49</ows:LowerCorner>
71 <ows:UpperCorner>6.41 51.51</ows:UpperCorner>
72 </ows:WGS84BoundingBox>
73 <ows:Identifier>topo</ows:Identifier>
74 <Style isDefault="true">
75 <ows:Identifier>default</ows:Identifier>
76 <LegendURL format="image/png" xlink:href="http://www.ngi.be/cartoweb/legend/topo/default/nl.png"/>
77 <LegendURL format="image/png" xlink:href="http://www.ngi.be/cartoweb/legend/topo/default/fr.png"/>
78 </Style>
79 <Format>image/png</Format>
80 <InfoFormat>text/plain</InfoFormat>
81 <TileMatrixSetLink>
82 <TileMatrixSet>3812</TileMatrixSet>
83 </TileMatrixSetLink>
84 <TileMatrixSetLink>
85 <TileMatrixSet>3857</TileMatrixSet>
86 <TileMatrixSetLimits>
87 <TileMatrixLimits>
88 <TileMatrix>7</TileMatrix>
89 <MinTileRow>40</MinTileRow>
90 <MaxTileRow>43</MaxTileRow>
91 <MinTileCol>64</MinTileCol>
92 <MaxTileCol>66</MaxTileCol>
93 </TileMatrixLimits>
94 </TileMatrixSetLimits>
95 </TileMatrixSetLink>
96 <ResourceURL resourceType="tile" template="http://www.ngi.be/cartoweb/1.0.0/topo/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.png" format="image/png"/>
97 </Layer>
98 <TileMatrixSet>
99 <ows:Identifier>3812</ows:Identifier>
100 <ows:SupportedCRS>urn:ogc:def:crs:EPSG::3812</ows:SupportedCRS>
101 <TileMatrix>
102 <ows:Identifier>0</ows:Identifier>
103 <ScaleDenominator>3779761.90476</ScaleDenominator>
104 <TopLeftCorner>450000.0 800000.0</TopLeftCorner>
105 <TileWidth>256</TileWidth>
106 <TileHeight>256</TileHeight>
107 <MatrixWidth>8</MatrixWidth>
108 <MatrixHeight>8</MatrixHeight>
109 </TileMatrix>
110 <TileMatrix>
111 <ows:Identifier>1</ows:Identifier>
112 <ScaleDenominator>1889880.95238</ScaleDenominator>
113 <TopLeftCorner>450000.0 800000.0</TopLeftCorner>
114 <TileWidth>256</TileWidth>
115 <TileHeight>256</TileHeight>
116 <MatrixWidth>8</MatrixWidth>
117 <MatrixHeight>8</MatrixHeight>
118 </TileMatrix>
119 <TileMatrix>
120 <ows:Identifier>2</ows:Identifier>
121 <ScaleDenominator>755952.380952</ScaleDenominator>
122 <TopLeftCorner>450000.0 800000.0</TopLeftCorner>
123 <TileWidth>256</TileWidth>
124 <TileHeight>256</TileHeight>
125 <MatrixWidth>8</MatrixWidth>
126 <MatrixHeight>8</MatrixHeight>
127 </TileMatrix>
128 <TileMatrix>
129 <ows:Identifier>3</ows:Identifier>
130 <ScaleDenominator>472470.238095</ScaleDenominator>
131 <TopLeftCorner>450000.0 800000.0</TopLeftCorner>
132 <TileWidth>256</TileWidth>
133 <TileHeight>256</TileHeight>
134 <MatrixWidth>16</MatrixWidth>
135 <MatrixHeight>16</MatrixHeight>
136 </TileMatrix>
137 <TileMatrix>
138 <ows:Identifier>4</ows:Identifier>
139 <ScaleDenominator>236235.119048</ScaleDenominator>
140 <TopLeftCorner>450000.0 800000.0</TopLeftCorner>
141 <TileWidth>256</TileWidth>
142 <TileHeight>256</TileHeight>
143 <MatrixWidth>32</MatrixWidth>
144 <MatrixHeight>32</MatrixHeight>
145 </TileMatrix>
146 <TileMatrix>
147 <ows:Identifier>5</ows:Identifier>
148 <ScaleDenominator>94494.047619</ScaleDenominator>
149 <TopLeftCorner>450000.0 800000.0</TopLeftCorner>
150 <TileWidth>256</TileWidth>
151 <TileHeight>256</TileHeight>
152 <MatrixWidth>64</MatrixWidth>
153 <MatrixHeight>64</MatrixHeight>
154 </TileMatrix>
155 <TileMatrix>
156 <ows:Identifier>6</ows:Identifier>
157 <ScaleDenominator>47247.0238095</ScaleDenominator>
158 <TopLeftCorner>450000.0 800000.0</TopLeftCorner>
159 <TileWidth>256</TileWidth>
160 <TileHeight>256</TileHeight>
161 <MatrixWidth>128</MatrixWidth>
162 <MatrixHeight>128</MatrixHeight>
163 </TileMatrix>
164 <TileMatrix>
165 <ows:Identifier>7</ows:Identifier>
166 <ScaleDenominator>23623.5119048</ScaleDenominator>
167 <TopLeftCorner>450000.0 800000.0</TopLeftCorner>
168 <TileWidth>256</TileWidth>
169 <TileHeight>256</TileHeight>
170 <MatrixWidth>256</MatrixWidth>
171 <MatrixHeight>256</MatrixHeight>
172 </TileMatrix>
173 <TileMatrix>
174 <ows:Identifier>8</ows:Identifier>
175 <ScaleDenominator>9449.4047619</ScaleDenominator>
176 <TopLeftCorner>450000.0 800000.0</TopLeftCorner>
177 <TileWidth>256</TileWidth>
178 <TileHeight>256</TileHeight>
179 <MatrixWidth>512</MatrixWidth>
180 <MatrixHeight>512</MatrixHeight>
181 </TileMatrix>
182 <TileMatrix>
183 <ows:Identifier>9</ows:Identifier>
184 <ScaleDenominator>4724.70238095</ScaleDenominator>
185 <TopLeftCorner>450000.0 800000.0</TopLeftCorner>
186 <TileWidth>256</TileWidth>
187 <TileHeight>256</TileHeight>
188 <MatrixWidth>1024</MatrixWidth>
189 <MatrixHeight>1024</MatrixHeight>
190 </TileMatrix>
191 <TileMatrix>
192 <ows:Identifier>10</ows:Identifier>
193 <ScaleDenominator>2362.35119048</ScaleDenominator>
194 <TopLeftCorner>450000.0 800000.0</TopLeftCorner>
195 <TileWidth>256</TileWidth>
196 <TileHeight>256</TileHeight>
197 <MatrixWidth>2048</MatrixWidth>
198 <MatrixHeight>2048</MatrixHeight>
199 </TileMatrix>
200 </TileMatrixSet>
201 <TileMatrixSet>
202 <ows:Identifier>3857</ows:Identifier>
203 <ows:SupportedCRS>urn:ogc:def:crs:EPSG::3857</ows:SupportedCRS>
204 <TileMatrix>
205 <ows:Identifier>7</ows:Identifier>
206 <ScaleDenominator>4367830.189732144</ScaleDenominator>
207 <TopLeftCorner>-20037508.3427870013 20037508.3427870013</TopLeftCorner>
208 <TileWidth>256</TileWidth>
209 <TileHeight>256</TileHeight>
210 <MatrixWidth>67</MatrixWidth>
211 <MatrixHeight>44</MatrixHeight>
212 </TileMatrix>
213 <TileMatrix>
214 <ows:Identifier>8</ows:Identifier>
215 <ScaleDenominator>2183915.094866072</ScaleDenominator>
216 <TopLeftCorner>-20037508.3427870013 20037508.3427870013</TopLeftCorner>
217 <TileWidth>256</TileWidth>
218 <TileHeight>256</TileHeight>
219 <MatrixWidth>133</MatrixWidth>
220 <MatrixHeight>88</MatrixHeight>
221 </TileMatrix>
222 <TileMatrix>
223 <ows:Identifier>9</ows:Identifier>
224 <ScaleDenominator>1091957.547433036</ScaleDenominator>
225 <TopLeftCorner>-20037508.3427870013 20037508.3427870013</TopLeftCorner>
226 <TileWidth>256</TileWidth>
227 <TileHeight>256</TileHeight>
228 <MatrixWidth>266</MatrixWidth>
229 <MatrixHeight>175</MatrixHeight>
230 </TileMatrix>
231 <TileMatrix>
232 <ows:Identifier>10</ows:Identifier>
233 <ScaleDenominator>545978.773716518</ScaleDenominator>
234 <TopLeftCorner>-20037508.3427870013 20037508.3427870013</TopLeftCorner>
235 <TileWidth>256</TileWidth>
236 <TileHeight>256</TileHeight>
237 <MatrixWidth>531</MatrixWidth>
238 <MatrixHeight>350</MatrixHeight>
239 </TileMatrix>
240 <TileMatrix>
241 <ows:Identifier>11</ows:Identifier>
242 <ScaleDenominator>272989.386858259</ScaleDenominator>
243 <TopLeftCorner>-20037508.3427870013 20037508.3427870013</TopLeftCorner>
244 <TileWidth>256</TileWidth>
245 <TileHeight>256</TileHeight>
246 <MatrixWidth>1061</MatrixWidth>
247 <MatrixHeight>700</MatrixHeight>
248 </TileMatrix>
249 <TileMatrix>
250 <ows:Identifier>12</ows:Identifier>
251 <ScaleDenominator>136494.6934291295</ScaleDenominator>
252 <TopLeftCorner>-20037508.3427870013 20037508.3427870013</TopLeftCorner>
253 <TileWidth>256</TileWidth>
254 <TileHeight>256</TileHeight>
255 <MatrixWidth>2122</MatrixWidth>
256 <MatrixHeight>1400</MatrixHeight>
257 </TileMatrix>
258 <TileMatrix>
259 <ows:Identifier>13</ows:Identifier>
260 <ScaleDenominator>68247.34671456474</ScaleDenominator>
261 <TopLeftCorner>-20037508.3427870013 20037508.3427870013</TopLeftCorner>
262 <TileWidth>256</TileWidth>
263 <TileHeight>256</TileHeight>
264 <MatrixWidth>4243</MatrixWidth>
265 <MatrixHeight>2799</MatrixHeight>
266 </TileMatrix>
267 <TileMatrix>
268 <ows:Identifier>14</ows:Identifier>
269 <ScaleDenominator>34123.67335728237</ScaleDenominator>
270 <TopLeftCorner>-20037508.3427870013 20037508.3427870013</TopLeftCorner>
271 <TileWidth>256</TileWidth>
272 <TileHeight>256</TileHeight>
273 <MatrixWidth>8486</MatrixWidth>
274 <MatrixHeight>5597</MatrixHeight>
275 </TileMatrix>
276 <TileMatrix>
277 <ows:Identifier>15</ows:Identifier>
278 <ScaleDenominator>17061.836678641186</ScaleDenominator>
279 <TopLeftCorner>-20037508.3427870013 20037508.3427870013</TopLeftCorner>
280 <TileWidth>256</TileWidth>
281 <TileHeight>256</TileHeight>
282 <MatrixWidth>16972</MatrixWidth>
283 <MatrixHeight>11193</MatrixHeight>
284 </TileMatrix>
285 <TileMatrix>
286 <ows:Identifier>16</ows:Identifier>
287 <ScaleDenominator>8530.918339320593</ScaleDenominator>
288 <TopLeftCorner>-20037508.3427870013 20037508.3427870013</TopLeftCorner>
289 <TileWidth>256</TileWidth>
290 <TileHeight>256</TileHeight>
291 <MatrixWidth>33944</MatrixWidth>
292 <MatrixHeight>22386</MatrixHeight>
293 </TileMatrix>
294 <TileMatrix>
295 <ows:Identifier>17</ows:Identifier>
296 <ScaleDenominator>4265.4591696602965</ScaleDenominator>
297 <TopLeftCorner>-20037508.3427870013 20037508.3427870013</TopLeftCorner>
298 <TileWidth>256</TileWidth>
299 <TileHeight>256</TileHeight>
300 <MatrixWidth>67888</MatrixWidth>
301 <MatrixHeight>44771</MatrixHeight>
302 </TileMatrix>
303 </TileMatrixSet>
304 </Contents>
305 <!--Mandatory in resource oriented architectural style-->
306 <ServiceMetadataURL xlink:href="http://www.ngi.be/cartoweb/1.0.0/WMTSCapabilities.xml"/>
307</Capabilities>
Note: See TracBrowser for help on using the repository browser.