Repack testfile.tar.gz without volume label for portability
[gpstools.git] / Tools / xsd / gpx / gpx-1.1.xsd
blob0ce1605cea72667e381293eab5442722c031d614
1 <?xml version="1.0" encoding="utf-8"?>
2 <xsd:schema
3 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4 xmlns="http://www.topografix.com/GPX/1/1"
5 targetNamespace="http://www.topografix.com/GPX/1/1"
6 elementFormDefault="qualified">
8 <xsd:annotation>
9 <xsd:documentation>
10 GPX schema version 1.1 - For more information on GPX and this schema, visit http://www.topografix.com/gpx.asp
12 GPX uses the following conventions: all coordinates are relative to the WGS84 datum. All measurements are in metric units.
13 </xsd:documentation>
14 </xsd:annotation>
16 <xsd:element name="gpx" type="gpxType">
17 <xsd:annotation>
18 <xsd:documentation>
19 GPX is the root element in the XML file.
20 </xsd:documentation>
21 </xsd:annotation>
22 </xsd:element>
24 <xsd:complexType name="gpxType">
25 <xsd:annotation>
26 <xsd:documentation>
27 GPX documents contain a metadata header, followed by waypoints, routes, and tracks. You can add your own elements
28 to the extensions section of the GPX document.
29 </xsd:documentation>
30 </xsd:annotation>
31 <xsd:sequence>
32 <xsd:element name="metadata" type="metadataType" minOccurs="0">
33 <xsd:annotation>
34 <xsd:documentation>
35 Metadata about the file.
36 </xsd:documentation>
37 </xsd:annotation>
38 </xsd:element>
39 <xsd:element name="wpt" type="wptType" minOccurs="0" maxOccurs="unbounded">
40 <xsd:annotation>
41 <xsd:documentation>
42 A list of waypoints.
43 </xsd:documentation>
44 </xsd:annotation>
45 </xsd:element>
46 <xsd:element name="rte" type="rteType" minOccurs="0" maxOccurs="unbounded">
47 <xsd:annotation>
48 <xsd:documentation>
49 A list of routes.
50 </xsd:documentation>
51 </xsd:annotation>
52 </xsd:element>
53 <xsd:element name="trk" type="trkType" minOccurs="0" maxOccurs="unbounded">
54 <xsd:annotation>
55 <xsd:documentation>
56 A list of tracks.
57 </xsd:documentation>
58 </xsd:annotation>
59 </xsd:element>
60 <xsd:element name="extensions" type="extensionsType" minOccurs="0">
61 <xsd:annotation>
62 <xsd:documentation>
63 You can add extend GPX by adding your own elements from another schema here.
64 </xsd:documentation>
65 </xsd:annotation>
66 </xsd:element>
67 </xsd:sequence>
69 <xsd:attribute name="version" type="xsd:string" use="required" fixed="1.1">
70 <xsd:annotation>
71 <xsd:documentation>
72 You must include the version number in your GPX document.
73 </xsd:documentation>
74 </xsd:annotation>
75 </xsd:attribute>
76 <xsd:attribute name="creator" type="xsd:string" use="required">
77 <xsd:annotation>
78 <xsd:documentation>
79 You must include the name or URL of the software that created your GPX document. This allows others to
80 inform the creator of a GPX instance document that fails to validate.
81 </xsd:documentation>
82 </xsd:annotation>
83 </xsd:attribute>
84 </xsd:complexType>
86 <xsd:complexType name="metadataType">
87 <xsd:annotation>
88 <xsd:documentation>
89 Information about the GPX file, author, and copyright restrictions goes in the metadata section. Providing rich,
90 meaningful information about your GPX files allows others to search for and use your GPS data.
91 </xsd:documentation>
92 </xsd:annotation>
93 <xsd:sequence> <!-- elements must appear in this order -->
94 <xsd:element name="name" type="xsd:string" minOccurs="0">
95 <xsd:annotation>
96 <xsd:documentation>
97 The name of the GPX file.
98 </xsd:documentation>
99 </xsd:annotation>
100 </xsd:element>
101 <xsd:element name="desc" type="xsd:string" minOccurs="0">
102 <xsd:annotation>
103 <xsd:documentation>
104 A description of the contents of the GPX file.
105 </xsd:documentation>
106 </xsd:annotation>
107 </xsd:element>
108 <xsd:element name="author" type="personType" minOccurs="0">
109 <xsd:annotation>
110 <xsd:documentation>
111 The person or organization who created the GPX file.
112 </xsd:documentation>
113 </xsd:annotation>
114 </xsd:element>
115 <xsd:element name="copyright" type="copyrightType" minOccurs="0">
116 <xsd:annotation>
117 <xsd:documentation>
118 Copyright and license information governing use of the file.
119 </xsd:documentation>
120 </xsd:annotation>
121 </xsd:element>
122 <xsd:element name="link" type="linkType" minOccurs="0" maxOccurs="unbounded">
123 <xsd:annotation>
124 <xsd:documentation>
125 URLs associated with the location described in the file.
126 </xsd:documentation>
127 </xsd:annotation>
128 </xsd:element>
129 <xsd:element name="time" type="xsd:dateTime" minOccurs="0">
130 <xsd:annotation>
131 <xsd:documentation>
132 The creation date of the file.
133 </xsd:documentation>
134 </xsd:annotation>
135 </xsd:element>
136 <xsd:element name="keywords" type="xsd:string" minOccurs="0">
137 <xsd:annotation>
138 <xsd:documentation>
139 Keywords associated with the file. Search engines or databases can use this information to classify the data.
140 </xsd:documentation>
141 </xsd:annotation>
142 </xsd:element>
143 <xsd:element name="bounds" type="boundsType" minOccurs="0">
144 <xsd:annotation>
145 <xsd:documentation>
146 Minimum and maximum coordinates which describe the extent of the coordinates in the file.
147 </xsd:documentation>
148 </xsd:annotation>
149 </xsd:element>
151 <xsd:element name="extensions" type="extensionsType" minOccurs="0">
152 <xsd:annotation>
153 <xsd:documentation>
154 You can add extend GPX by adding your own elements from another schema here.
155 </xsd:documentation>
156 </xsd:annotation>
157 </xsd:element>
158 </xsd:sequence>
159 </xsd:complexType>
161 <xsd:complexType name="wptType">
162 <xsd:annotation>
163 <xsd:documentation>
164 wpt represents a waypoint, point of interest, or named feature on a map.
165 </xsd:documentation>
166 </xsd:annotation>
167 <xsd:sequence> <!-- elements must appear in this order -->
168 <!-- Position info -->
169 <xsd:element name="ele" type="xsd:decimal" minOccurs="0">
170 <xsd:annotation>
171 <xsd:documentation>
172 Elevation (in meters) of the point.
173 </xsd:documentation>
174 </xsd:annotation>
175 </xsd:element>
176 <xsd:element name="time" type="xsd:dateTime" minOccurs="0">
177 <xsd:annotation>
178 <xsd:documentation>
179 Creation/modification timestamp for element. Date and time in are in Univeral Coordinated Time (UTC), not local time! Conforms to ISO 8601 specification for date/time representation. Fractional seconds are allowed for millisecond timing in tracklogs.
180 </xsd:documentation>
181 </xsd:annotation>
182 </xsd:element>
183 <xsd:element name="magvar" type="degreesType" minOccurs="0">
184 <xsd:annotation>
185 <xsd:documentation>
186 Magnetic variation (in degrees) at the point
187 </xsd:documentation>
188 </xsd:annotation>
189 </xsd:element>
190 <xsd:element name="geoidheight" type="xsd:decimal" minOccurs="0">
191 <xsd:annotation>
192 <xsd:documentation>
193 Height (in meters) of geoid (mean sea level) above WGS84 earth ellipsoid. As defined in NMEA GGA message.
194 </xsd:documentation>
195 </xsd:annotation>
196 </xsd:element>
198 <!-- Description info -->
199 <xsd:element name="name" type="xsd:string" minOccurs="0">
200 <xsd:annotation>
201 <xsd:documentation>
202 The GPS name of the waypoint. This field will be transferred to and from the GPS. GPX does not place restrictions on the length of this field or the characters contained in it. It is up to the receiving application to validate the field before sending it to the GPS.
203 </xsd:documentation>
204 </xsd:annotation>
205 </xsd:element>
206 <xsd:element name="cmt" type="xsd:string" minOccurs="0">
207 <xsd:annotation>
208 <xsd:documentation>
209 GPS waypoint comment. Sent to GPS as comment.
210 </xsd:documentation>
211 </xsd:annotation>
212 </xsd:element>
213 <xsd:element name="desc" type="xsd:string" minOccurs="0">
214 <xsd:annotation>
215 <xsd:documentation>
216 A text description of the element. Holds additional information about the element intended for the user, not the GPS.
217 </xsd:documentation>
218 </xsd:annotation>
219 </xsd:element>
220 <xsd:element name="src" type="xsd:string" minOccurs="0">
221 <xsd:annotation>
222 <xsd:documentation>
223 Source of data. Included to give user some idea of reliability and accuracy of data. "Garmin eTrex", "USGS quad Boston North", e.g.
224 </xsd:documentation>
225 </xsd:annotation>
226 </xsd:element>
227 <xsd:element name="link" type="linkType" minOccurs="0" maxOccurs="unbounded">
228 <xsd:annotation>
229 <xsd:documentation>
230 Link to additional information about the waypoint.
231 </xsd:documentation>
232 </xsd:annotation>
233 </xsd:element>
234 <xsd:element name="sym" type="xsd:string" minOccurs="0">
235 <xsd:annotation>
236 <xsd:documentation>
237 Text of GPS symbol name. For interchange with other programs, use the exact spelling of the symbol as displayed on the GPS. If the GPS abbreviates words, spell them out.
238 </xsd:documentation>
239 </xsd:annotation>
240 </xsd:element>
241 <xsd:element name="type" type="xsd:string" minOccurs="0">
242 <xsd:annotation>
243 <xsd:documentation>
244 Type (classification) of the waypoint.
245 </xsd:documentation>
246 </xsd:annotation>
247 </xsd:element>
249 <!-- Accuracy info -->
250 <xsd:element name="fix" type="fixType" minOccurs="0">
251 <xsd:annotation>
252 <xsd:documentation>
253 Type of GPX fix.
254 </xsd:documentation>
255 </xsd:annotation>
256 </xsd:element>
257 <xsd:element name="sat" type="xsd:nonNegativeInteger" minOccurs="0">
258 <xsd:annotation>
259 <xsd:documentation>
260 Number of satellites used to calculate the GPX fix.
261 </xsd:documentation>
262 </xsd:annotation>
263 </xsd:element>
264 <xsd:element name="hdop" type="xsd:decimal" minOccurs="0">
265 <xsd:annotation>
266 <xsd:documentation>
267 Horizontal dilution of precision.
268 </xsd:documentation>
269 </xsd:annotation>
270 </xsd:element>
271 <xsd:element name="vdop" type="xsd:decimal" minOccurs="0">
272 <xsd:annotation>
273 <xsd:documentation>
274 Vertical dilution of precision.
275 </xsd:documentation>
276 </xsd:annotation>
277 </xsd:element>
278 <xsd:element name="pdop" type="xsd:decimal" minOccurs="0">
279 <xsd:annotation>
280 <xsd:documentation>
281 Position dilution of precision.
282 </xsd:documentation>
283 </xsd:annotation>
284 </xsd:element>
285 <xsd:element name="ageofdgpsdata" type="xsd:decimal" minOccurs="0">
286 <xsd:annotation>
287 <xsd:documentation>
288 Number of seconds since last DGPS update.
289 </xsd:documentation>
290 </xsd:annotation>
291 </xsd:element>
292 <xsd:element name="dgpsid" type="dgpsStationType" minOccurs="0">
293 <xsd:annotation>
294 <xsd:documentation>
295 ID of DGPS station used in differential correction.
296 </xsd:documentation>
297 </xsd:annotation>
298 </xsd:element>
300 <xsd:element name="extensions" type="extensionsType" minOccurs="0">
301 <xsd:annotation>
302 <xsd:documentation>
303 You can add extend GPX by adding your own elements from another schema here.
304 </xsd:documentation>
305 </xsd:annotation>
306 </xsd:element>
307 </xsd:sequence>
309 <xsd:attribute name="lat" type="latitudeType" use="required">
310 <xsd:annotation>
311 <xsd:documentation>
312 The latitude of the point. Decimal degrees, WGS84 datum.
313 </xsd:documentation>
314 </xsd:annotation>
315 </xsd:attribute>
316 <xsd:attribute name="lon" type="longitudeType" use="required">
317 <xsd:annotation>
318 <xsd:documentation>
319 The latitude of the point. Decimal degrees, WGS84 datum.
320 </xsd:documentation>
321 </xsd:annotation>
322 </xsd:attribute>
323 </xsd:complexType>
325 <xsd:complexType name="rteType">
326 <xsd:annotation>
327 <xsd:documentation>
328 rte represents route - an ordered list of waypoints representing a series of turn points leading to a destination.
329 </xsd:documentation>
330 </xsd:annotation>
331 <xsd:sequence>
332 <xsd:element name="name" type="xsd:string" minOccurs="0">
333 <xsd:annotation>
334 <xsd:documentation>
335 GPS name of route.
336 </xsd:documentation>
337 </xsd:annotation>
338 </xsd:element>
339 <xsd:element name="cmt" type="xsd:string" minOccurs="0">
340 <xsd:annotation>
341 <xsd:documentation>
342 GPS comment for route.
343 </xsd:documentation>
344 </xsd:annotation>
345 </xsd:element>
346 <xsd:element name="desc" type="xsd:string" minOccurs="0">
347 <xsd:annotation>
348 <xsd:documentation>
349 Text description of route for user. Not sent to GPS.
350 </xsd:documentation>
351 </xsd:annotation>
352 </xsd:element>
353 <xsd:element name="src" type="xsd:string" minOccurs="0">
354 <xsd:annotation>
355 <xsd:documentation>
356 Source of data. Included to give user some idea of reliability and accuracy of data.
357 </xsd:documentation>
358 </xsd:annotation>
359 </xsd:element>
360 <xsd:element name="link" type="linkType" minOccurs="0" maxOccurs="unbounded">
361 <xsd:annotation>
362 <xsd:documentation>
363 Links to external information about the route.
364 </xsd:documentation>
365 </xsd:annotation>
366 </xsd:element>
367 <xsd:element name="number" type="xsd:nonNegativeInteger" minOccurs="0">
368 <xsd:annotation>
369 <xsd:documentation>
370 GPS route number.
371 </xsd:documentation>
372 </xsd:annotation>
373 </xsd:element>
374 <xsd:element name="type" type="xsd:string" minOccurs="0">
375 <xsd:annotation>
376 <xsd:documentation>
377 Type (classification) of route.
378 </xsd:documentation>
379 </xsd:annotation>
380 </xsd:element>
382 <xsd:element name="extensions" type="extensionsType" minOccurs="0">
383 <xsd:annotation>
384 <xsd:documentation>
385 You can add extend GPX by adding your own elements from another schema here.
386 </xsd:documentation>
387 </xsd:annotation>
388 </xsd:element>
390 <xsd:element name="rtept" type="wptType" minOccurs="0" maxOccurs="unbounded">
391 <xsd:annotation>
392 <xsd:documentation>
393 A list of route points.
394 </xsd:documentation>
395 </xsd:annotation>
396 </xsd:element>
397 </xsd:sequence>
398 </xsd:complexType>
400 <xsd:complexType name="trkType">
401 <xsd:annotation>
402 <xsd:documentation>
403 trk represents a track - an ordered list of points describing a path.
404 </xsd:documentation>
405 </xsd:annotation>
406 <xsd:sequence>
407 <xsd:element name="name" type="xsd:string" minOccurs="0">
408 <xsd:annotation>
409 <xsd:documentation>
410 GPS name of track.
411 </xsd:documentation>
412 </xsd:annotation>
413 </xsd:element>
414 <xsd:element name="cmt" type="xsd:string" minOccurs="0">
415 <xsd:annotation>
416 <xsd:documentation>
417 GPS comment for track.
418 </xsd:documentation>
419 </xsd:annotation>
420 </xsd:element>
421 <xsd:element name="desc" type="xsd:string" minOccurs="0">
422 <xsd:annotation>
423 <xsd:documentation>
424 User description of track.
425 </xsd:documentation>
426 </xsd:annotation>
427 </xsd:element>
428 <xsd:element name="src" type="xsd:string" minOccurs="0">
429 <xsd:annotation>
430 <xsd:documentation>
431 Source of data. Included to give user some idea of reliability and accuracy of data.
432 </xsd:documentation>
433 </xsd:annotation>
434 </xsd:element>
435 <xsd:element name="link" type="linkType" minOccurs="0" maxOccurs="unbounded">
436 <xsd:annotation>
437 <xsd:documentation>
438 Links to external information about track.
439 </xsd:documentation>
440 </xsd:annotation>
441 </xsd:element>
442 <xsd:element name="number" type="xsd:nonNegativeInteger" minOccurs="0">
443 <xsd:annotation>
444 <xsd:documentation>
445 GPS track number.
446 </xsd:documentation>
447 </xsd:annotation>
448 </xsd:element>
449 <xsd:element name="type" type="xsd:string" minOccurs="0">
450 <xsd:annotation>
451 <xsd:documentation>
452 Type (classification) of track.
453 </xsd:documentation>
454 </xsd:annotation>
455 </xsd:element>
457 <xsd:element name="extensions" type="extensionsType" minOccurs="0">
458 <xsd:annotation>
459 <xsd:documentation>
460 You can add extend GPX by adding your own elements from another schema here.
461 </xsd:documentation>
462 </xsd:annotation>
463 </xsd:element>
465 <xsd:element name="trkseg" type="trksegType" minOccurs="0" maxOccurs="unbounded">
466 <xsd:annotation>
467 <xsd:documentation>
468 A Track Segment holds a list of Track Points which are logically connected in order. To represent a single GPS track where GPS reception was lost, or the GPS receiver was turned off, start a new Track Segment for each continuous span of track data.
469 </xsd:documentation>
470 </xsd:annotation>
471 </xsd:element>
472 </xsd:sequence>
473 </xsd:complexType>
475 <xsd:complexType name="extensionsType">
476 <xsd:annotation>
477 <xsd:documentation>
478 You can add extend GPX by adding your own elements from another schema here.
479 </xsd:documentation>
480 </xsd:annotation>
481 <xsd:sequence>
482 <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded">
483 <xsd:annotation>
484 <xsd:documentation>
485 You can add extend GPX by adding your own elements from another schema here.
486 </xsd:documentation>
487 </xsd:annotation>
488 </xsd:any>
489 </xsd:sequence>
490 </xsd:complexType>
492 <xsd:complexType name="trksegType">
493 <xsd:annotation>
494 <xsd:documentation>
495 A Track Segment holds a list of Track Points which are logically connected in order. To represent a single GPS track where GPS reception was lost, or the GPS receiver was turned off, start a new Track Segment for each continuous span of track data.
496 </xsd:documentation>
497 </xsd:annotation>
498 <xsd:sequence> <!-- elements must appear in this order -->
499 <xsd:element name="trkpt" type="wptType" minOccurs="0" maxOccurs="unbounded">
500 <xsd:annotation>
501 <xsd:documentation>
502 A Track Point holds the coordinates, elevation, timestamp, and metadata for a single point in a track.
503 </xsd:documentation>
504 </xsd:annotation>
505 </xsd:element>
507 <xsd:element name="extensions" type="extensionsType" minOccurs="0">
508 <xsd:annotation>
509 <xsd:documentation>
510 You can add extend GPX by adding your own elements from another schema here.
511 </xsd:documentation>
512 </xsd:annotation>
513 </xsd:element>
514 </xsd:sequence>
515 </xsd:complexType>
517 <xsd:complexType name="copyrightType">
518 <xsd:annotation>
519 <xsd:documentation>
520 Information about the copyright holder and any license governing use of this file. By linking to an appropriate license,
521 you may place your data into the public domain or grant additional usage rights.
522 </xsd:documentation>
523 </xsd:annotation>
524 <xsd:sequence> <!-- elements must appear in this order -->
525 <xsd:element name="year" type="xsd:gYear" minOccurs="0">
526 <xsd:annotation>
527 <xsd:documentation>
528 Year of copyright.
529 </xsd:documentation>
530 </xsd:annotation>
531 </xsd:element>
532 <xsd:element name="license" type="xsd:anyURI" minOccurs="0">
533 <xsd:annotation>
534 <xsd:documentation>
535 Link to external file containing license text.
536 </xsd:documentation>
537 </xsd:annotation>
538 </xsd:element>
539 </xsd:sequence>
540 <xsd:attribute name="author" type="xsd:string" use="required">
541 <xsd:annotation>
542 <xsd:documentation>
543 Copyright holder (TopoSoft, Inc.)
544 </xsd:documentation>
545 </xsd:annotation>
546 </xsd:attribute>
547 </xsd:complexType>
549 <xsd:complexType name="linkType">
550 <xsd:annotation>
551 <xsd:documentation>
552 A link to an external resource (Web page, digital photo, video clip, etc) with additional information.
553 </xsd:documentation>
554 </xsd:annotation>
555 <xsd:sequence> <!-- elements must appear in this order -->
556 <xsd:element name="text" type="xsd:string" minOccurs="0">
557 <xsd:annotation>
558 <xsd:documentation>
559 Text of hyperlink.
560 </xsd:documentation>
561 </xsd:annotation>
562 </xsd:element>
563 <xsd:element name="type" type="xsd:string" minOccurs="0">
564 <xsd:annotation>
565 <xsd:documentation>
566 Mime type of content (image/jpeg)
567 </xsd:documentation>
568 </xsd:annotation>
569 </xsd:element>
570 </xsd:sequence>
571 <xsd:attribute name="href" type="xsd:anyURI" use="required">
572 <xsd:annotation>
573 <xsd:documentation>
574 URL of hyperlink.
575 </xsd:documentation>
576 </xsd:annotation>
577 </xsd:attribute>
578 </xsd:complexType>
580 <xsd:complexType name="emailType">
581 <xsd:annotation>
582 <xsd:documentation>
583 An email address. Broken into two parts (id and domain) to help prevent email harvesting.
584 </xsd:documentation>
585 </xsd:annotation>
586 <xsd:attribute name="id" type="xsd:string" use="required">
587 <xsd:annotation>
588 <xsd:documentation>
589 id half of email address (billgates2004)
590 </xsd:documentation>
591 </xsd:annotation>
592 </xsd:attribute>
593 <xsd:attribute name="domain" type="xsd:string" use="required">
594 <xsd:annotation>
595 <xsd:documentation>
596 domain half of email address (hotmail.com)
597 </xsd:documentation>
598 </xsd:annotation>
599 </xsd:attribute>
600 </xsd:complexType>
602 <xsd:complexType name="personType">
603 <xsd:annotation>
604 <xsd:documentation>
605 A person or organization.
606 </xsd:documentation>
607 </xsd:annotation>
608 <xsd:sequence> <!-- elements must appear in this order -->
609 <xsd:element name="name" type="xsd:string" minOccurs="0">
610 <xsd:annotation>
611 <xsd:documentation>
612 Name of person or organization.
613 </xsd:documentation>
614 </xsd:annotation>
615 </xsd:element>
616 <xsd:element name="email" type="emailType" minOccurs="0">
617 <xsd:annotation>
618 <xsd:documentation>
619 Email address.
620 </xsd:documentation>
621 </xsd:annotation>
622 </xsd:element>
623 <xsd:element name="link" type="linkType" minOccurs="0">
624 <xsd:annotation>
625 <xsd:documentation>
626 Link to Web site or other external information about person.
627 </xsd:documentation>
628 </xsd:annotation>
629 </xsd:element>
630 </xsd:sequence>
631 </xsd:complexType>
633 <xsd:complexType name="ptType">
634 <xsd:annotation>
635 <xsd:documentation>
636 A geographic point with optional elevation and time. Available for use by other schemas.
637 </xsd:documentation>
638 </xsd:annotation>
639 <xsd:sequence> <!-- elements must appear in this order -->
640 <xsd:element name="ele" type="xsd:decimal" minOccurs="0">
641 <xsd:annotation>
642 <xsd:documentation>
643 The elevation (in meters) of the point.
644 </xsd:documentation>
645 </xsd:annotation>
646 </xsd:element>
647 <xsd:element name="time" type="xsd:dateTime" minOccurs="0">
648 <xsd:annotation>
649 <xsd:documentation>
650 The time that the point was recorded.
651 </xsd:documentation>
652 </xsd:annotation>
653 </xsd:element>
654 </xsd:sequence>
655 <xsd:attribute name="lat" type="latitudeType" use="required">
656 <xsd:annotation>
657 <xsd:documentation>
658 The latitude of the point. Decimal degrees, WGS84 datum.
659 </xsd:documentation>
660 </xsd:annotation>
661 </xsd:attribute>
662 <xsd:attribute name="lon" type="longitudeType" use="required">
663 <xsd:annotation>
664 <xsd:documentation>
665 The latitude of the point. Decimal degrees, WGS84 datum.
666 </xsd:documentation>
667 </xsd:annotation>
668 </xsd:attribute>
669 </xsd:complexType>
671 <xsd:complexType name="ptsegType">
672 <xsd:annotation>
673 <xsd:documentation>
674 An ordered sequence of points. (for polygons or polylines, e.g.)
675 </xsd:documentation>
676 </xsd:annotation>
677 <xsd:sequence> <!-- elements must appear in this order -->
678 <xsd:element name="pt" type="ptType" minOccurs="0" maxOccurs="unbounded">
679 <xsd:annotation>
680 <xsd:documentation>
681 Ordered list of geographic points.
682 </xsd:documentation>
683 </xsd:annotation>
684 </xsd:element>
685 </xsd:sequence>
686 </xsd:complexType>
688 <xsd:complexType name="boundsType">
689 <xsd:annotation>
690 <xsd:documentation>
691 Two lat/lon pairs defining the extent of an element.
692 </xsd:documentation>
693 </xsd:annotation>
694 <xsd:attribute name="minlat" type="latitudeType" use="required">
695 <xsd:annotation>
696 <xsd:documentation>
697 The minimum latitude.
698 </xsd:documentation>
699 </xsd:annotation>
700 </xsd:attribute>
701 <xsd:attribute name="minlon" type="longitudeType" use="required">
702 <xsd:annotation>
703 <xsd:documentation>
704 The minimum longitude.
705 </xsd:documentation>
706 </xsd:annotation>
707 </xsd:attribute>
708 <xsd:attribute name="maxlat" type="latitudeType" use="required">
709 <xsd:annotation>
710 <xsd:documentation>
711 The maximum latitude.
712 </xsd:documentation>
713 </xsd:annotation>
714 </xsd:attribute>
715 <xsd:attribute name="maxlon" type="longitudeType" use="required">
716 <xsd:annotation>
717 <xsd:documentation>
718 The maximum longitude.
719 </xsd:documentation>
720 </xsd:annotation>
721 </xsd:attribute>
722 </xsd:complexType>
725 <xsd:simpleType name="latitudeType">
726 <xsd:annotation>
727 <xsd:documentation>
728 The latitude of the point. Decimal degrees, WGS84 datum.
729 </xsd:documentation>
730 </xsd:annotation>
731 <xsd:restriction base="xsd:decimal">
732 <xsd:minInclusive value="-90.0"/>
733 <xsd:maxInclusive value="90.0"/>
734 </xsd:restriction>
735 </xsd:simpleType>
737 <xsd:simpleType name="longitudeType">
738 <xsd:annotation>
739 <xsd:documentation>
740 The longitude of the point. Decimal degrees, WGS84 datum.
741 </xsd:documentation>
742 </xsd:annotation>
743 <xsd:restriction base="xsd:decimal">
744 <xsd:minInclusive value="-180.0"/>
745 <xsd:maxExclusive value="180.0"/>
746 </xsd:restriction>
747 </xsd:simpleType>
749 <xsd:simpleType name="degreesType">
750 <xsd:annotation>
751 <xsd:documentation>
752 Used for bearing, heading, course. Units are decimal degrees, true (not magnetic).
753 </xsd:documentation>
754 </xsd:annotation>
755 <xsd:restriction base="xsd:decimal">
756 <xsd:minInclusive value="0.0"/>
757 <xsd:maxExclusive value="360.0"/>
758 </xsd:restriction>
759 </xsd:simpleType>
761 <xsd:simpleType name="fixType">
762 <xsd:annotation>
763 <xsd:documentation>
764 Type of GPS fix. none means GPS had no fix. To signify "the fix info is unknown, leave out fixType entirely. pps = military signal used
765 </xsd:documentation>
766 </xsd:annotation>
767 <xsd:restriction base="xsd:string">
768 <xsd:enumeration value="none"/>
769 <xsd:enumeration value="2d"/>
770 <xsd:enumeration value="3d"/>
771 <xsd:enumeration value="dgps"/>
772 <xsd:enumeration value="pps"/>
773 </xsd:restriction>
774 </xsd:simpleType>
776 <xsd:simpleType name="dgpsStationType">
777 <xsd:annotation>
778 <xsd:documentation>
779 Represents a differential GPS station.
780 </xsd:documentation>
781 </xsd:annotation>
782 <xsd:restriction base="xsd:integer">
783 <xsd:minInclusive value="0"/>
784 <xsd:maxInclusive value="1023"/>
785 </xsd:restriction>
786 </xsd:simpleType>
788 </xsd:schema>