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