source: josm/trunk/data/maps.xsd@ 4990

Last change on this file since 4990 was 4717, checked in by stoecker, 13 years ago

fix zoom min/max values

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