1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://josm.openstreetmap.de/maps-1.0"
|
---|
3 | xmlns:tns="http://josm.openstreetmap.de/maps-1.0" elementFormDefault="qualified">
|
---|
4 |
|
---|
5 | <xs:simpleType name="latitude">
|
---|
6 | <xs:restriction base="xs:decimal">
|
---|
7 | <xs:minInclusive value="-90" />
|
---|
8 | <xs:maxInclusive value="+90" />
|
---|
9 | </xs:restriction>
|
---|
10 | </xs:simpleType>
|
---|
11 |
|
---|
12 | <xs:simpleType name="longitude">
|
---|
13 | <xs:restriction base="xs:decimal">
|
---|
14 | <xs:minInclusive value="-180" />
|
---|
15 | <xs:maxInclusive value="+180" />
|
---|
16 | </xs:restriction>
|
---|
17 | </xs:simpleType>
|
---|
18 |
|
---|
19 | <xs:simpleType name="id">
|
---|
20 | <!-- exclude white space characters and characters that are not valid for file names in Windows -->
|
---|
21 | <xs:restriction base="xs:string">
|
---|
22 | <xs:pattern value='[^\s/\\:*?"<>|]+' />
|
---|
23 | </xs:restriction>
|
---|
24 | </xs:simpleType>
|
---|
25 |
|
---|
26 | <xs:simpleType name="type">
|
---|
27 | <xs:restriction base="xs:string">
|
---|
28 | <xs:enumeration value="wms" />
|
---|
29 | <xs:enumeration value="wms_endpoint" />
|
---|
30 | <xs:enumeration value="tms" />
|
---|
31 | <xs:enumeration value="html" />
|
---|
32 | <xs:enumeration value="bing" />
|
---|
33 | <xs:enumeration value="scanex" />
|
---|
34 | </xs:restriction>
|
---|
35 | </xs:simpleType>
|
---|
36 |
|
---|
37 | <xs:simpleType name="zoom">
|
---|
38 | <xs:restriction base="xs:integer">
|
---|
39 | <xs:minInclusive value="1" />
|
---|
40 | <xs:maxInclusive value="22" />
|
---|
41 | </xs:restriction>
|
---|
42 | </xs:simpleType>
|
---|
43 |
|
---|
44 | <xs:complexType name="eula">
|
---|
45 | <xs:simpleContent>
|
---|
46 | <xs:extension base="xs:anyURI" >
|
---|
47 | <xs:attribute name="mandatory" type="xs:boolean" use="optional" />
|
---|
48 | </xs:extension>
|
---|
49 | </xs:simpleContent>
|
---|
50 | </xs:complexType>
|
---|
51 |
|
---|
52 | <xs:complexType name="attribution-text">
|
---|
53 | <xs:simpleContent>
|
---|
54 | <xs:extension base="xs:string">
|
---|
55 | <xs:attribute name="mandatory" type="xs:boolean" use="optional" />
|
---|
56 | </xs:extension>
|
---|
57 | </xs:simpleContent>
|
---|
58 | </xs:complexType>
|
---|
59 |
|
---|
60 | <xs:complexType name="point">
|
---|
61 | <xs:attribute name="lat" type="tns:latitude" use="required" />
|
---|
62 | <xs:attribute name="lon" type="tns:longitude" use="required" />
|
---|
63 | </xs:complexType>
|
---|
64 |
|
---|
65 | <xs:complexType name="shape">
|
---|
66 | <xs:sequence>
|
---|
67 | <xs:element name="point" minOccurs="3" maxOccurs="999" type="tns:point" />
|
---|
68 | </xs:sequence>
|
---|
69 | </xs:complexType>
|
---|
70 |
|
---|
71 | <xs:complexType name="bounds">
|
---|
72 | <xs:sequence>
|
---|
73 | <xs:element name="shape" minOccurs="0" maxOccurs="100" type="tns:shape" />
|
---|
74 | </xs:sequence>
|
---|
75 | <xs:attribute name="min-lat" type="tns:latitude" use="required" />
|
---|
76 | <xs:attribute name="min-lon" type="tns:longitude" use="required" />
|
---|
77 | <xs:attribute name="max-lat" type="tns:latitude" use="required" />
|
---|
78 | <xs:attribute name="max-lon" type="tns:longitude" use="required" />
|
---|
79 | </xs:complexType>
|
---|
80 |
|
---|
81 | <xs:complexType name="projections">
|
---|
82 | <xs:sequence>
|
---|
83 | <!-- TODO: find an easy way to validate projections codes -->
|
---|
84 | <xs:element name="code" minOccurs="0" maxOccurs="unbounded" type="xs:string" />
|
---|
85 | </xs:sequence>
|
---|
86 | </xs:complexType>
|
---|
87 |
|
---|
88 | <!-- ISO3166-1, taken from http://www.iso.org/iso/country_codes/iso_3166_code_lists.htm + "EU" for Europe -->
|
---|
89 | <xs:simpleType name="iso3166">
|
---|
90 | <xs:restriction base="xs:string">
|
---|
91 | <!-- EUROPE (JOSM ONLY) -->
|
---|
92 | <xs:enumeration value="EU" />
|
---|
93 | <!-- AFGHANISTAN -->
|
---|
94 | <xs:enumeration value="AF" />
|
---|
95 | <!-- ÅLAND ISLANDS -->
|
---|
96 | <xs:enumeration value="AX" />
|
---|
97 | <!-- ALBANIA -->
|
---|
98 | <xs:enumeration value="AL" />
|
---|
99 | <!-- ALGERIA -->
|
---|
100 | <xs:enumeration value="DZ" />
|
---|
101 | <!-- AMERICAN SAMOA -->
|
---|
102 | <xs:enumeration value="AS" />
|
---|
103 | <!-- ANDORRA -->
|
---|
104 | <xs:enumeration value="AD" />
|
---|
105 | <!-- ANGOLA -->
|
---|
106 | <xs:enumeration value="AO" />
|
---|
107 | <!-- ANGUILLA -->
|
---|
108 | <xs:enumeration value="AI" />
|
---|
109 | <!-- ANTARCTICA -->
|
---|
110 | <xs:enumeration value="AQ" />
|
---|
111 | <!-- ANTIGUA AND BARBUDA -->
|
---|
112 | <xs:enumeration value="AG" />
|
---|
113 | <!-- ARGENTINA -->
|
---|
114 | <xs:enumeration value="AR" />
|
---|
115 | <!-- ARMENIA -->
|
---|
116 | <xs:enumeration value="AM" />
|
---|
117 | <!-- ARUBA -->
|
---|
118 | <xs:enumeration value="AW" />
|
---|
119 | <!-- AUSTRALIA -->
|
---|
120 | <xs:enumeration value="AU" />
|
---|
121 | <!-- AUSTRIA -->
|
---|
122 | <xs:enumeration value="AT" />
|
---|
123 | <!-- AZERBAIJAN -->
|
---|
124 | <xs:enumeration value="AZ" />
|
---|
125 | <!-- BAHAMAS -->
|
---|
126 | <xs:enumeration value="BS" />
|
---|
127 | <!-- BAHRAIN -->
|
---|
128 | <xs:enumeration value="BH" />
|
---|
129 | <!-- BANGLADESH -->
|
---|
130 | <xs:enumeration value="BD" />
|
---|
131 | <!-- BARBADOS -->
|
---|
132 | <xs:enumeration value="BB" />
|
---|
133 | <!-- BELARUS -->
|
---|
134 | <xs:enumeration value="BY" />
|
---|
135 | <!-- BELGIUM -->
|
---|
136 | <xs:enumeration value="BE" />
|
---|
137 | <!-- BELIZE -->
|
---|
138 | <xs:enumeration value="BZ" />
|
---|
139 | <!-- BENIN -->
|
---|
140 | <xs:enumeration value="BJ" />
|
---|
141 | <!-- BERMUDA -->
|
---|
142 | <xs:enumeration value="BM" />
|
---|
143 | <!-- BHUTAN -->
|
---|
144 | <xs:enumeration value="BT" />
|
---|
145 | <!-- BOLIVIA, PLURINATIONAL STATE OF -->
|
---|
146 | <xs:enumeration value="BO" />
|
---|
147 | <!-- BONAIRE, SINT EUSTATIUS AND SABA -->
|
---|
148 | <xs:enumeration value="BQ" />
|
---|
149 | <!-- BOSNIA AND HERZEGOVINA -->
|
---|
150 | <xs:enumeration value="BA" />
|
---|
151 | <!-- BOTSWANA -->
|
---|
152 | <xs:enumeration value="BW" />
|
---|
153 | <!-- BOUVET ISLAND -->
|
---|
154 | <xs:enumeration value="BV" />
|
---|
155 | <!-- BRAZIL -->
|
---|
156 | <xs:enumeration value="BR" />
|
---|
157 | <!-- BRITISH INDIAN OCEAN TERRITORY -->
|
---|
158 | <xs:enumeration value="IO" />
|
---|
159 | <!-- BRUNEI DARUSSALAM -->
|
---|
160 | <xs:enumeration value="BN" />
|
---|
161 | <!-- BULGARIA -->
|
---|
162 | <xs:enumeration value="BG" />
|
---|
163 | <!-- BURKINA FASO -->
|
---|
164 | <xs:enumeration value="BF" />
|
---|
165 | <!-- BURUNDI -->
|
---|
166 | <xs:enumeration value="BI" />
|
---|
167 | <!-- CAMBODIA -->
|
---|
168 | <xs:enumeration value="KH" />
|
---|
169 | <!-- CAMEROON -->
|
---|
170 | <xs:enumeration value="CM" />
|
---|
171 | <!-- CANADA -->
|
---|
172 | <xs:enumeration value="CA" />
|
---|
173 | <!-- CAPE VERDE -->
|
---|
174 | <xs:enumeration value="CV" />
|
---|
175 | <!-- CAYMAN ISLANDS -->
|
---|
176 | <xs:enumeration value="KY" />
|
---|
177 | <!-- CENTRAL AFRICAN REPUBLIC -->
|
---|
178 | <xs:enumeration value="CF" />
|
---|
179 | <!-- CHAD -->
|
---|
180 | <xs:enumeration value="TD" />
|
---|
181 | <!-- CHILE -->
|
---|
182 | <xs:enumeration value="CL" />
|
---|
183 | <!-- CHINA -->
|
---|
184 | <xs:enumeration value="CN" />
|
---|
185 | <!-- CHRISTMAS ISLAND -->
|
---|
186 | <xs:enumeration value="CX" />
|
---|
187 | <!-- COCOS (KEELING) ISLANDS -->
|
---|
188 | <xs:enumeration value="CC" />
|
---|
189 | <!-- COLOMBIA -->
|
---|
190 | <xs:enumeration value="CO" />
|
---|
191 | <!-- COMOROS -->
|
---|
192 | <xs:enumeration value="KM" />
|
---|
193 | <!-- CONGO -->
|
---|
194 | <xs:enumeration value="CG" />
|
---|
195 | <!-- CONGO, THE DEMOCRATIC REPUBLIC OF THE -->
|
---|
196 | <xs:enumeration value="CD" />
|
---|
197 | <!-- COOK ISLANDS -->
|
---|
198 | <xs:enumeration value="CK" />
|
---|
199 | <!-- COSTA RICA -->
|
---|
200 | <xs:enumeration value="CR" />
|
---|
201 | <!-- CÔTE D'IVOIRE -->
|
---|
202 | <xs:enumeration value="CI" />
|
---|
203 | <!-- CROATIA -->
|
---|
204 | <xs:enumeration value="HR" />
|
---|
205 | <!-- CUBA -->
|
---|
206 | <xs:enumeration value="CU" />
|
---|
207 | <!-- CURAÇAO -->
|
---|
208 | <xs:enumeration value="CW" />
|
---|
209 | <!-- CYPRUS -->
|
---|
210 | <xs:enumeration value="CY" />
|
---|
211 | <!-- CZECH REPUBLIC -->
|
---|
212 | <xs:enumeration value="CZ" />
|
---|
213 | <!-- DENMARK -->
|
---|
214 | <xs:enumeration value="DK" />
|
---|
215 | <!-- DJIBOUTI -->
|
---|
216 | <xs:enumeration value="DJ" />
|
---|
217 | <!-- DOMINICA -->
|
---|
218 | <xs:enumeration value="DM" />
|
---|
219 | <!-- DOMINICAN REPUBLIC -->
|
---|
220 | <xs:enumeration value="DO" />
|
---|
221 | <!-- ECUADOR -->
|
---|
222 | <xs:enumeration value="EC" />
|
---|
223 | <!-- EGYPT -->
|
---|
224 | <xs:enumeration value="EG" />
|
---|
225 | <!-- EL SALVADOR -->
|
---|
226 | <xs:enumeration value="SV" />
|
---|
227 | <!-- EQUATORIAL GUINEA -->
|
---|
228 | <xs:enumeration value="GQ" />
|
---|
229 | <!-- ERITREA -->
|
---|
230 | <xs:enumeration value="ER" />
|
---|
231 | <!-- ESTONIA -->
|
---|
232 | <xs:enumeration value="EE" />
|
---|
233 | <!-- ETHIOPIA -->
|
---|
234 | <xs:enumeration value="ET" />
|
---|
235 | <!-- FALKLAND ISLANDS (MALVINAS) -->
|
---|
236 | <xs:enumeration value="FK" />
|
---|
237 | <!-- FAROE ISLANDS -->
|
---|
238 | <xs:enumeration value="FO" />
|
---|
239 | <!-- FIJI -->
|
---|
240 | <xs:enumeration value="FJ" />
|
---|
241 | <!-- FINLAND -->
|
---|
242 | <xs:enumeration value="FI" />
|
---|
243 | <!-- FRANCE -->
|
---|
244 | <xs:enumeration value="FR" />
|
---|
245 | <!-- FRENCH GUIANA -->
|
---|
246 | <xs:enumeration value="GF" />
|
---|
247 | <!-- FRENCH POLYNESIA -->
|
---|
248 | <xs:enumeration value="PF" />
|
---|
249 | <!-- FRENCH SOUTHERN TERRITORIES -->
|
---|
250 | <xs:enumeration value="TF" />
|
---|
251 | <!-- GABON -->
|
---|
252 | <xs:enumeration value="GA" />
|
---|
253 | <!-- GAMBIA -->
|
---|
254 | <xs:enumeration value="GM" />
|
---|
255 | <!-- GEORGIA -->
|
---|
256 | <xs:enumeration value="GE" />
|
---|
257 | <!-- GERMANY -->
|
---|
258 | <xs:enumeration value="DE" />
|
---|
259 | <!-- GHANA -->
|
---|
260 | <xs:enumeration value="GH" />
|
---|
261 | <!-- GIBRALTAR -->
|
---|
262 | <xs:enumeration value="GI" />
|
---|
263 | <!-- GREECE -->
|
---|
264 | <xs:enumeration value="GR" />
|
---|
265 | <!-- GREENLAND -->
|
---|
266 | <xs:enumeration value="GL" />
|
---|
267 | <!-- GRENADA -->
|
---|
268 | <xs:enumeration value="GD" />
|
---|
269 | <!-- GUADELOUPE -->
|
---|
270 | <xs:enumeration value="GP" />
|
---|
271 | <!-- GUAM -->
|
---|
272 | <xs:enumeration value="GU" />
|
---|
273 | <!-- GUATEMALA -->
|
---|
274 | <xs:enumeration value="GT" />
|
---|
275 | <!-- GUERNSEY -->
|
---|
276 | <xs:enumeration value="GG" />
|
---|
277 | <!-- GUINEA -->
|
---|
278 | <xs:enumeration value="GN" />
|
---|
279 | <!-- GUINEA-BISSAU -->
|
---|
280 | <xs:enumeration value="GW" />
|
---|
281 | <!-- GUYANA -->
|
---|
282 | <xs:enumeration value="GY" />
|
---|
283 | <!-- HAITI -->
|
---|
284 | <xs:enumeration value="HT" />
|
---|
285 | <!-- HEARD ISLAND AND MCDONALD ISLANDS -->
|
---|
286 | <xs:enumeration value="HM" />
|
---|
287 | <!-- HOLY SEE (VATICAN CITY STATE) -->
|
---|
288 | <xs:enumeration value="VA" />
|
---|
289 | <!-- HONDURAS -->
|
---|
290 | <xs:enumeration value="HN" />
|
---|
291 | <!-- HONG KONG -->
|
---|
292 | <xs:enumeration value="HK" />
|
---|
293 | <!-- HUNGARY -->
|
---|
294 | <xs:enumeration value="HU" />
|
---|
295 | <!-- ICELAND -->
|
---|
296 | <xs:enumeration value="IS" />
|
---|
297 | <!-- INDIA -->
|
---|
298 | <xs:enumeration value="IN" />
|
---|
299 | <!-- INDONESIA -->
|
---|
300 | <xs:enumeration value="ID" />
|
---|
301 | <!-- IRAN, ISLAMIC REPUBLIC OF -->
|
---|
302 | <xs:enumeration value="IR" />
|
---|
303 | <!-- IRAQ -->
|
---|
304 | <xs:enumeration value="IQ" />
|
---|
305 | <!-- IRELAND -->
|
---|
306 | <xs:enumeration value="IE" />
|
---|
307 | <!-- ISLE OF MAN -->
|
---|
308 | <xs:enumeration value="IM" />
|
---|
309 | <!-- ISRAEL -->
|
---|
310 | <xs:enumeration value="IL" />
|
---|
311 | <!-- ITALY -->
|
---|
312 | <xs:enumeration value="IT" />
|
---|
313 | <!-- JAMAICA -->
|
---|
314 | <xs:enumeration value="JM" />
|
---|
315 | <!-- JAPAN -->
|
---|
316 | <xs:enumeration value="JP" />
|
---|
317 | <!-- JERSEY -->
|
---|
318 | <xs:enumeration value="JE" />
|
---|
319 | <!-- JORDAN -->
|
---|
320 | <xs:enumeration value="JO" />
|
---|
321 | <!-- KAZAKHSTAN -->
|
---|
322 | <xs:enumeration value="KZ" />
|
---|
323 | <!-- KENYA -->
|
---|
324 | <xs:enumeration value="KE" />
|
---|
325 | <!-- KIRIBATI -->
|
---|
326 | <xs:enumeration value="KI" />
|
---|
327 | <!-- KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF -->
|
---|
328 | <xs:enumeration value="KP" />
|
---|
329 | <!-- KOREA, REPUBLIC OF -->
|
---|
330 | <xs:enumeration value="KR" />
|
---|
331 | <!-- KUWAIT -->
|
---|
332 | <xs:enumeration value="KW" />
|
---|
333 | <!-- KYRGYZSTAN -->
|
---|
334 | <xs:enumeration value="KG" />
|
---|
335 | <!-- LAO PEOPLE'S DEMOCRATIC REPUBLIC -->
|
---|
336 | <xs:enumeration value="LA" />
|
---|
337 | <!-- LATVIA -->
|
---|
338 | <xs:enumeration value="LV" />
|
---|
339 | <!-- LEBANON -->
|
---|
340 | <xs:enumeration value="LB" />
|
---|
341 | <!-- LESOTHO -->
|
---|
342 | <xs:enumeration value="LS" />
|
---|
343 | <!-- LIBERIA -->
|
---|
344 | <xs:enumeration value="LR" />
|
---|
345 | <!-- LIBYAN ARAB JAMAHIRIYA -->
|
---|
346 | <xs:enumeration value="LY" />
|
---|
347 | <!-- LIECHTENSTEIN -->
|
---|
348 | <xs:enumeration value="LI" />
|
---|
349 | <!-- LITHUANIA -->
|
---|
350 | <xs:enumeration value="LT" />
|
---|
351 | <!-- LUXEMBOURG -->
|
---|
352 | <xs:enumeration value="LU" />
|
---|
353 | <!-- MACAO -->
|
---|
354 | <xs:enumeration value="MO" />
|
---|
355 | <!-- MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF -->
|
---|
356 | <xs:enumeration value="MK" />
|
---|
357 | <!-- MADAGASCAR -->
|
---|
358 | <xs:enumeration value="MG" />
|
---|
359 | <!-- MALAWI -->
|
---|
360 | <xs:enumeration value="MW" />
|
---|
361 | <!-- MALAYSIA -->
|
---|
362 | <xs:enumeration value="MY" />
|
---|
363 | <!-- MALDIVES -->
|
---|
364 | <xs:enumeration value="MV" />
|
---|
365 | <!-- MALI -->
|
---|
366 | <xs:enumeration value="ML" />
|
---|
367 | <!-- MALTA -->
|
---|
368 | <xs:enumeration value="MT" />
|
---|
369 | <!-- MARSHALL ISLANDS -->
|
---|
370 | <xs:enumeration value="MH" />
|
---|
371 | <!-- MARTINIQUE -->
|
---|
372 | <xs:enumeration value="MQ" />
|
---|
373 | <!-- MAURITANIA -->
|
---|
374 | <xs:enumeration value="MR" />
|
---|
375 | <!-- MAURITIUS -->
|
---|
376 | <xs:enumeration value="MU" />
|
---|
377 | <!-- MAYOTTE -->
|
---|
378 | <xs:enumeration value="YT" />
|
---|
379 | <!-- MEXICO -->
|
---|
380 | <xs:enumeration value="MX" />
|
---|
381 | <!-- MICRONESIA, FEDERATED STATES OF -->
|
---|
382 | <xs:enumeration value="FM" />
|
---|
383 | <!-- MOLDOVA, REPUBLIC OF -->
|
---|
384 | <xs:enumeration value="MD" />
|
---|
385 | <!-- MONACO -->
|
---|
386 | <xs:enumeration value="MC" />
|
---|
387 | <!-- MONGOLIA -->
|
---|
388 | <xs:enumeration value="MN" />
|
---|
389 | <!-- MONTENEGRO -->
|
---|
390 | <xs:enumeration value="ME" />
|
---|
391 | <!-- MONTSERRAT -->
|
---|
392 | <xs:enumeration value="MS" />
|
---|
393 | <!-- MOROCCO -->
|
---|
394 | <xs:enumeration value="MA" />
|
---|
395 | <!-- MOZAMBIQUE -->
|
---|
396 | <xs:enumeration value="MZ" />
|
---|
397 | <!-- MYANMAR -->
|
---|
398 | <xs:enumeration value="MM" />
|
---|
399 | <!-- NAMIBIA -->
|
---|
400 | <xs:enumeration value="NA" />
|
---|
401 | <!-- NAURU -->
|
---|
402 | <xs:enumeration value="NR" />
|
---|
403 | <!-- NEPAL -->
|
---|
404 | <xs:enumeration value="NP" />
|
---|
405 | <!-- NETHERLANDS -->
|
---|
406 | <xs:enumeration value="NL" />
|
---|
407 | <!-- NEW CALEDONIA -->
|
---|
408 | <xs:enumeration value="NC" />
|
---|
409 | <!-- NEW ZEALAND -->
|
---|
410 | <xs:enumeration value="NZ" />
|
---|
411 | <!-- NICARAGUA -->
|
---|
412 | <xs:enumeration value="NI" />
|
---|
413 | <!-- NIGER -->
|
---|
414 | <xs:enumeration value="NE" />
|
---|
415 | <!-- NIGERIA -->
|
---|
416 | <xs:enumeration value="NG" />
|
---|
417 | <!-- NIUE -->
|
---|
418 | <xs:enumeration value="NU" />
|
---|
419 | <!-- NORFOLK ISLAND -->
|
---|
420 | <xs:enumeration value="NF" />
|
---|
421 | <!-- NORTHERN MARIANA ISLANDS -->
|
---|
422 | <xs:enumeration value="MP" />
|
---|
423 | <!-- NORWAY -->
|
---|
424 | <xs:enumeration value="NO" />
|
---|
425 | <!-- OMAN -->
|
---|
426 | <xs:enumeration value="OM" />
|
---|
427 | <!-- PAKISTAN -->
|
---|
428 | <xs:enumeration value="PK" />
|
---|
429 | <!-- PALAU -->
|
---|
430 | <xs:enumeration value="PW" />
|
---|
431 | <!-- PALESTINIAN TERRITORY, OCCUPIED -->
|
---|
432 | <xs:enumeration value="PS" />
|
---|
433 | <!-- PANAMA -->
|
---|
434 | <xs:enumeration value="PA" />
|
---|
435 | <!-- PAPUA NEW GUINEA -->
|
---|
436 | <xs:enumeration value="PG" />
|
---|
437 | <!-- PARAGUAY -->
|
---|
438 | <xs:enumeration value="PY" />
|
---|
439 | <!-- PERU -->
|
---|
440 | <xs:enumeration value="PE" />
|
---|
441 | <!-- PHILIPPINES -->
|
---|
442 | <xs:enumeration value="PH" />
|
---|
443 | <!-- PITCAIRN -->
|
---|
444 | <xs:enumeration value="PN" />
|
---|
445 | <!-- POLAND -->
|
---|
446 | <xs:enumeration value="PL" />
|
---|
447 | <!-- PORTUGAL -->
|
---|
448 | <xs:enumeration value="PT" />
|
---|
449 | <!-- PUERTO RICO -->
|
---|
450 | <xs:enumeration value="PR" />
|
---|
451 | <!-- QATAR -->
|
---|
452 | <xs:enumeration value="QA" />
|
---|
453 | <!-- RÉUNION -->
|
---|
454 | <xs:enumeration value="RE" />
|
---|
455 | <!-- ROMANIA -->
|
---|
456 | <xs:enumeration value="RO" />
|
---|
457 | <!-- RUSSIAN FEDERATION -->
|
---|
458 | <xs:enumeration value="RU" />
|
---|
459 | <!-- RWANDA -->
|
---|
460 | <xs:enumeration value="RW" />
|
---|
461 | <!-- SAINT BARTHÉLEMY -->
|
---|
462 | <xs:enumeration value="BL" />
|
---|
463 | <!-- SAINT HELENA, ASCENSION AND TRISTAN DA CUNHA -->
|
---|
464 | <xs:enumeration value="SH" />
|
---|
465 | <!-- SAINT KITTS AND NEVIS -->
|
---|
466 | <xs:enumeration value="KN" />
|
---|
467 | <!-- SAINT LUCIA -->
|
---|
468 | <xs:enumeration value="LC" />
|
---|
469 | <!-- SAINT MARTIN (FRENCH PART) -->
|
---|
470 | <xs:enumeration value="MF" />
|
---|
471 | <!-- SAINT PIERRE AND MIQUELON -->
|
---|
472 | <xs:enumeration value="PM" />
|
---|
473 | <!-- SAINT VINCENT AND THE GRENADINES -->
|
---|
474 | <xs:enumeration value="VC" />
|
---|
475 | <!-- SAMOA -->
|
---|
476 | <xs:enumeration value="WS" />
|
---|
477 | <!-- SAN MARINO -->
|
---|
478 | <xs:enumeration value="SM" />
|
---|
479 | <!-- SAO TOME AND PRINCIPE -->
|
---|
480 | <xs:enumeration value="ST" />
|
---|
481 | <!-- SAUDI ARABIA -->
|
---|
482 | <xs:enumeration value="SA" />
|
---|
483 | <!-- SENEGAL -->
|
---|
484 | <xs:enumeration value="SN" />
|
---|
485 | <!-- SERBIA -->
|
---|
486 | <xs:enumeration value="RS" />
|
---|
487 | <!-- SEYCHELLES -->
|
---|
488 | <xs:enumeration value="SC" />
|
---|
489 | <!-- SIERRA LEONE -->
|
---|
490 | <xs:enumeration value="SL" />
|
---|
491 | <!-- SINGAPORE -->
|
---|
492 | <xs:enumeration value="SG" />
|
---|
493 | <!-- SINT MAARTEN (DUTCH PART) -->
|
---|
494 | <xs:enumeration value="SX" />
|
---|
495 | <!-- SLOVAKIA -->
|
---|
496 | <xs:enumeration value="SK" />
|
---|
497 | <!-- SLOVENIA -->
|
---|
498 | <xs:enumeration value="SI" />
|
---|
499 | <!-- SOLOMON ISLANDS -->
|
---|
500 | <xs:enumeration value="SB" />
|
---|
501 | <!-- SOMALIA -->
|
---|
502 | <xs:enumeration value="SO" />
|
---|
503 | <!-- SOUTH AFRICA -->
|
---|
504 | <xs:enumeration value="ZA" />
|
---|
505 | <!-- SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS -->
|
---|
506 | <xs:enumeration value="GS" />
|
---|
507 | <!-- SOUTH SUDAN -->
|
---|
508 | <xs:enumeration value="SS" />
|
---|
509 | <!-- SPAIN -->
|
---|
510 | <xs:enumeration value="ES" />
|
---|
511 | <!-- SRI LANKA -->
|
---|
512 | <xs:enumeration value="LK" />
|
---|
513 | <!-- SUDAN -->
|
---|
514 | <xs:enumeration value="SD" />
|
---|
515 | <!-- SURINAME -->
|
---|
516 | <xs:enumeration value="SR" />
|
---|
517 | <!-- SVALBARD AND JAN MAYEN -->
|
---|
518 | <xs:enumeration value="SJ" />
|
---|
519 | <!-- SWAZILAND -->
|
---|
520 | <xs:enumeration value="SZ" />
|
---|
521 | <!-- SWEDEN -->
|
---|
522 | <xs:enumeration value="SE" />
|
---|
523 | <!-- SWITZERLAND -->
|
---|
524 | <xs:enumeration value="CH" />
|
---|
525 | <!-- SYRIAN ARAB REPUBLIC -->
|
---|
526 | <xs:enumeration value="SY" />
|
---|
527 | <!-- TAIWAN, PROVINCE OF CHINA -->
|
---|
528 | <xs:enumeration value="TW" />
|
---|
529 | <!-- TAJIKISTAN -->
|
---|
530 | <xs:enumeration value="TJ" />
|
---|
531 | <!-- TANZANIA, UNITED REPUBLIC OF -->
|
---|
532 | <xs:enumeration value="TZ" />
|
---|
533 | <!-- THAILAND -->
|
---|
534 | <xs:enumeration value="TH" />
|
---|
535 | <!-- TIMOR-LESTE -->
|
---|
536 | <xs:enumeration value="TL" />
|
---|
537 | <!-- TOGO -->
|
---|
538 | <xs:enumeration value="TG" />
|
---|
539 | <!-- TOKELAU -->
|
---|
540 | <xs:enumeration value="TK" />
|
---|
541 | <!-- TONGA -->
|
---|
542 | <xs:enumeration value="TO" />
|
---|
543 | <!-- TRINIDAD AND TOBAGO -->
|
---|
544 | <xs:enumeration value="TT" />
|
---|
545 | <!-- TUNISIA -->
|
---|
546 | <xs:enumeration value="TN" />
|
---|
547 | <!-- TURKEY -->
|
---|
548 | <xs:enumeration value="TR" />
|
---|
549 | <!-- TURKMENISTAN -->
|
---|
550 | <xs:enumeration value="TM" />
|
---|
551 | <!-- TURKS AND CAICOS ISLANDS -->
|
---|
552 | <xs:enumeration value="TC" />
|
---|
553 | <!-- TUVALU -->
|
---|
554 | <xs:enumeration value="TV" />
|
---|
555 | <!-- UGANDA -->
|
---|
556 | <xs:enumeration value="UG" />
|
---|
557 | <!-- UKRAINE -->
|
---|
558 | <xs:enumeration value="UA" />
|
---|
559 | <!-- UNITED ARAB EMIRATES -->
|
---|
560 | <xs:enumeration value="AE" />
|
---|
561 | <!-- UNITED KINGDOM -->
|
---|
562 | <xs:enumeration value="GB" />
|
---|
563 | <!-- UNITED STATES -->
|
---|
564 | <xs:enumeration value="US" />
|
---|
565 | <!-- UNITED STATES MINOR OUTLYING ISLANDS -->
|
---|
566 | <xs:enumeration value="UM" />
|
---|
567 | <!-- URUGUAY -->
|
---|
568 | <xs:enumeration value="UY" />
|
---|
569 | <!-- UZBEKISTAN -->
|
---|
570 | <xs:enumeration value="UZ" />
|
---|
571 | <!-- VANUATU -->
|
---|
572 | <xs:enumeration value="VU" />
|
---|
573 | <!-- VENEZUELA, BOLIVARIAN REPUBLIC OF -->
|
---|
574 | <xs:enumeration value="VE" />
|
---|
575 | <!-- VIET NAM -->
|
---|
576 | <xs:enumeration value="VN" />
|
---|
577 | <!-- VIRGIN ISLANDS, BRITISH -->
|
---|
578 | <xs:enumeration value="VG" />
|
---|
579 | <!-- VIRGIN ISLANDS, U.S. -->
|
---|
580 | <xs:enumeration value="VI" />
|
---|
581 | <!-- WALLIS AND FUTUNA -->
|
---|
582 | <xs:enumeration value="WF" />
|
---|
583 | <!-- WESTERN SAHARA -->
|
---|
584 | <xs:enumeration value="EH" />
|
---|
585 | <!-- YEMEN -->
|
---|
586 | <xs:enumeration value="YE" />
|
---|
587 | <!-- ZAMBIA -->
|
---|
588 | <xs:enumeration value="ZM" />
|
---|
589 | <!-- ZIMBABWE -->
|
---|
590 | <xs:enumeration value="ZW" />
|
---|
591 | </xs:restriction>
|
---|
592 | </xs:simpleType>
|
---|
593 |
|
---|
594 | <xs:complexType name="imagery">
|
---|
595 | <xs:sequence>
|
---|
596 | <xs:element name="entry" minOccurs="0" maxOccurs="unbounded">
|
---|
597 | <xs:complexType>
|
---|
598 | <xs:all>
|
---|
599 | <!-- The name of the imagery source -->
|
---|
600 | <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string" />
|
---|
601 | <!-- A unique id for the imagery source -->
|
---|
602 | <xs:element name="id" minOccurs="0" maxOccurs="1" type="tns:id" />
|
---|
603 | <!-- The type. Can be tms, wms and html. In addition, there are the special types bing and scanex
|
---|
604 | with hardcoded behaviour. -->
|
---|
605 | <xs:element name="type" minOccurs="1" maxOccurs="1" type="tns:type" />
|
---|
606 | <!-- To define as default server for this type -->
|
---|
607 | <xs:element name="default" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
---|
608 | <!-- The URL of the service. Can contain templates, e.g. {zoom} will be replaced by the current
|
---|
609 | zoom level (see below). The list of services is a XML document, so the '&' character is represented by
|
---|
610 | '&'. Alternatively, the URL can be wrapped in a <![CDATA[...]]> section. -->
|
---|
611 | <xs:element name="url" minOccurs="1" maxOccurs="1" type="xs:string" />
|
---|
612 | <!-- A list of supported projections (inside <code> tags) -->
|
---|
613 | <xs:element name="projections" minOccurs="0" maxOccurs="1" type="tns:projections" />
|
---|
614 | <!-- TMS only: The minimum zoom level -->
|
---|
615 | <xs:element name="min-zoom" minOccurs="0" maxOccurs="1" type="tns:zoom" />
|
---|
616 | <!-- TMS only: The maximum zoom level. For higher scales, the images of the maximum level is enlarged. -->
|
---|
617 | <xs:element name="max-zoom" minOccurs="0" maxOccurs="1" type="tns:zoom" />
|
---|
618 | <!-- The area of use, e.g. <bounds min-lat='45.7' min-lon='5.9' max-lat='55.0' max-lon='17.3'/> -->
|
---|
619 | <xs:element name="bounds" minOccurs="0" maxOccurs="1" type="tns:bounds" />
|
---|
620 | <!-- A link to an EULA text that has to be accepted by the user, before the imagery source is added. -->
|
---|
621 | <xs:element name="eula" minOccurs="0" maxOccurs="1" type="tns:eula" />
|
---|
622 | <!-- The attribution text to be shown all the time on the map. -->
|
---|
623 | <xs:element name="attribution-text" minOccurs="0" maxOccurs="1" type="tns:attribution-text" />
|
---|
624 | <!-- A link that is opened, when the user clicks on the attribution text -->
|
---|
625 | <xs:element name="attribution-url" minOccurs="0" maxOccurs="1" type="xs:anyURI" />
|
---|
626 | <!-- A image that is displayed as attribution for the imagery background -->
|
---|
627 | <xs:element name="logo-image" minOccurs="0" maxOccurs="1" type="xs:string" />
|
---|
628 | <!-- A link that is opened, when the user clicks on the logo image -->
|
---|
629 | <xs:element name="logo-url" minOccurs="0" maxOccurs="1" type="xs:anyURI" />
|
---|
630 | <!-- terms-of-use text (if missing, default tou text will be used, unless terms-of-use-url is also missing) -->
|
---|
631 | <xs:element name="terms-of-use-text" minOccurs="0" maxOccurs="1" type="xs:string" />
|
---|
632 | <!-- A link that is opened, when the user clicks on the terms-of-use text -->
|
---|
633 | <xs:element name="terms-of-use-url" minOccurs="0" maxOccurs="1" type="xs:string" />
|
---|
634 | <!-- The ISO 3166 country code -->
|
---|
635 | <xs:element name="country-code" minOccurs="0" maxOccurs="1" type="tns:iso3166" />
|
---|
636 | <!-- A base64-encoded image that is displayed as menu/toolbar icon -->
|
---|
637 | <xs:element name="icon" minOccurs="0" maxOccurs="1" type="xs:string" />
|
---|
638 | </xs:all>
|
---|
639 | </xs:complexType>
|
---|
640 | </xs:element>
|
---|
641 | </xs:sequence>
|
---|
642 | </xs:complexType>
|
---|
643 |
|
---|
644 | <xs:element name="imagery" type="tns:imagery" />
|
---|
645 |
|
---|
646 | </xs:schema>
|
---|