siri-xsd 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +10 -0
  3. data/Gemfile +4 -0
  4. data/Gemfile.lock +47 -0
  5. data/README.md +23 -0
  6. data/bitbucket-pipelines.yml +18 -0
  7. data/exe/siri-xsd-validate +42 -0
  8. data/lib/siri/xsd/validator.rb +62 -0
  9. data/lib/siri/xsd/version.rb +5 -0
  10. data/lib/siri/xsd.rb +10 -0
  11. data/siri-xsd.gemspec +35 -0
  12. data/vendor/xsd/acsb/acsb_accessibility.xsd +138 -0
  13. data/vendor/xsd/acsb/acsb_all.xsd +11 -0
  14. data/vendor/xsd/acsb/acsb_limitations.xsd +141 -0
  15. data/vendor/xsd/acsb/acsb_passengerMobility.xsd +212 -0
  16. data/vendor/xsd/datex2/DATEXIISchema.xsd +3713 -0
  17. data/vendor/xsd/datex2/DATEXIISchemaWithDefinitions.xsd +11538 -0
  18. data/vendor/xsd/gml/basicTypes.xsd +267 -0
  19. data/vendor/xsd/gml/geometryBasic0d1d-extract.xsd +271 -0
  20. data/vendor/xsd/gml/gmlBase-extract.xsd +168 -0
  21. data/vendor/xsd/gml/gmlBasic2d-extract.xsd +120 -0
  22. data/vendor/xsd/gml/gml_extract_all_objects.xsd +12 -0
  23. data/vendor/xsd/ifopt/ifopt_administration.xsd +254 -0
  24. data/vendor/xsd/ifopt/ifopt_allStopPlace.xsd +33 -0
  25. data/vendor/xsd/ifopt/ifopt_checkpoint.xsd +222 -0
  26. data/vendor/xsd/ifopt/ifopt_countries.xsd +1320 -0
  27. data/vendor/xsd/ifopt/ifopt_equipment.xsd +207 -0
  28. data/vendor/xsd/ifopt/ifopt_location.xsd +281 -0
  29. data/vendor/xsd/ifopt/ifopt_modes.xsd +84 -0
  30. data/vendor/xsd/ifopt/ifopt_modification.xsd +173 -0
  31. data/vendor/xsd/ifopt/ifopt_path.xsd +164 -0
  32. data/vendor/xsd/ifopt/ifopt_stop.xsd +403 -0
  33. data/vendor/xsd/ifopt/ifopt_time.xsd +131 -0
  34. data/vendor/xsd/ifopt/ifopt_types.xsd +96 -0
  35. data/vendor/xsd/siri/siri_all_framework.xsd +12 -0
  36. data/vendor/xsd/siri/siri_base.xsd +315 -0
  37. data/vendor/xsd/siri/siri_common_services.xsd +900 -0
  38. data/vendor/xsd/siri/siri_request_errorConditions.xsd +590 -0
  39. data/vendor/xsd/siri/siri_request_support.xsd +210 -0
  40. data/vendor/xsd/siri/siri_requests.xsd +1072 -0
  41. data/vendor/xsd/siri.xsd +531 -0
  42. data/vendor/xsd/siriSg.xsd +149 -0
  43. data/vendor/xsd/siri_all_functionalServices.xsd +95 -0
  44. data/vendor/xsd/siri_connectionMonitoring_service.xsd +731 -0
  45. data/vendor/xsd/siri_connectionTimetable_service.xsd +485 -0
  46. data/vendor/xsd/siri_discovery.xsd +898 -0
  47. data/vendor/xsd/siri_estimatedTimetable_service.xsd +490 -0
  48. data/vendor/xsd/siri_facilityMonitoring_service.xsd +493 -0
  49. data/vendor/xsd/siri_generalMessage_service.xsd +483 -0
  50. data/vendor/xsd/siri_model/siri_all.xsd +13 -0
  51. data/vendor/xsd/siri_model/siri_all_journeyModel.xsd +21 -0
  52. data/vendor/xsd/siri_model/siri_all_model.xsd +13 -0
  53. data/vendor/xsd/siri_model/siri_all_situation.xsd +17 -0
  54. data/vendor/xsd/siri_model/siri_datedVehicleJourney.xsd +702 -0
  55. data/vendor/xsd/siri_model/siri_estimatedVehicleJourney.xsd +472 -0
  56. data/vendor/xsd/siri_model/siri_facilities.xsd +517 -0
  57. data/vendor/xsd/siri_model/siri_facility.xsd +760 -0
  58. data/vendor/xsd/siri_model/siri_feature_support.xsd +145 -0
  59. data/vendor/xsd/siri_model/siri_interchangeJourney.xsd +88 -0
  60. data/vendor/xsd/siri_model/siri_journey.xsd +1903 -0
  61. data/vendor/xsd/siri_model/siri_journey_support.xsd +1022 -0
  62. data/vendor/xsd/siri_model/siri_modelPermissions.xsd +338 -0
  63. data/vendor/xsd/siri_model/siri_modes.xsd +686 -0
  64. data/vendor/xsd/siri_model/siri_monitoredVehicleJourney.xsd +638 -0
  65. data/vendor/xsd/siri_model/siri_operator_support.xsd +87 -0
  66. data/vendor/xsd/siri_model/siri_reference.xsd +844 -0
  67. data/vendor/xsd/siri_model/siri_situation.xsd +1545 -0
  68. data/vendor/xsd/siri_model/siri_situationActions.xsd +755 -0
  69. data/vendor/xsd/siri_model/siri_situationAffects.xsd +1533 -0
  70. data/vendor/xsd/siri_model/siri_situationClassifiers.xsd +430 -0
  71. data/vendor/xsd/siri_model/siri_situationIdentity.xsd +247 -0
  72. data/vendor/xsd/siri_model/siri_situationReasons.xsd +1370 -0
  73. data/vendor/xsd/siri_model/siri_situationServiceTypes.xsd +639 -0
  74. data/vendor/xsd/siri_model/siri_targetedVehicleJourney.xsd +136 -0
  75. data/vendor/xsd/siri_model/siri_time.xsd +356 -0
  76. data/vendor/xsd/siri_model_discovery/siri_connectionLink.xsd +115 -0
  77. data/vendor/xsd/siri_model_discovery/siri_feature.xsd +158 -0
  78. data/vendor/xsd/siri_model_discovery/siri_infoChannel.xsd +99 -0
  79. data/vendor/xsd/siri_model_discovery/siri_line.xsd +241 -0
  80. data/vendor/xsd/siri_model_discovery/siri_stopPoint.xsd +158 -0
  81. data/vendor/xsd/siri_productionTimetable_service.xsd +514 -0
  82. data/vendor/xsd/siri_situationExchange_service.xsd +785 -0
  83. data/vendor/xsd/siri_stopMonitoring_service.xsd +1052 -0
  84. data/vendor/xsd/siri_stopTimetable_service.xsd +463 -0
  85. data/vendor/xsd/siri_utility/siri_all_utility.xsd +14 -0
  86. data/vendor/xsd/siri_utility/siri_location.xsd +270 -0
  87. data/vendor/xsd/siri_utility/siri_participant.xsd +79 -0
  88. data/vendor/xsd/siri_utility/siri_permissions.xsd +135 -0
  89. data/vendor/xsd/siri_utility/siri_types.xsd +166 -0
  90. data/vendor/xsd/siri_utility/siri_utility.xsd +301 -0
  91. data/vendor/xsd/siri_vehicleMonitoring_service.xsd +702 -0
  92. data/vendor/xsd/siri_wsConsumer-Document.wsdl +177 -0
  93. data/vendor/xsd/siri_wsConsumer-WSDL2.wsdl +96 -0
  94. data/vendor/xsd/siri_wsConsumer.wsdl +200 -0
  95. data/vendor/xsd/siri_wsProducer-Document.wsdl +558 -0
  96. data/vendor/xsd/siri_wsProducer-WSDL2.wsdl +229 -0
  97. data/vendor/xsd/siri_wsProducer.wsdl +629 -0
  98. data/vendor/xsd/soap.xsd +118 -0
  99. data/vendor/xsd/wsdl_model/siri-wsdl.xsd +8 -0
  100. data/vendor/xsd/wsdl_model/siri_wsConsumer-Framework.xsd +98 -0
  101. data/vendor/xsd/wsdl_model/siri_wsConsumer-Services.xsd +155 -0
  102. data/vendor/xsd/wsdl_model/siri_wsProducer-DiscoveryCapability.xsd +123 -0
  103. data/vendor/xsd/wsdl_model/siri_wsProducer-Framework.xsd +138 -0
  104. data/vendor/xsd/wsdl_model/siri_wsProducer-Services.xsd +263 -0
  105. data/vendor/xsd/xml/2008/09/xsd.xsl +997 -0
  106. data/vendor/xsd/xml/2009/01/XMLSchema.xsd +286 -0
  107. metadata +222 -0
@@ -0,0 +1,267 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <schema xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.opengis.net/gml/3.2" elementFormDefault="qualified" version="3.2.1 2010-01-28">
3
+ <annotation>
4
+ <appinfo source="urn:x-ogc:specification:gml:schema-xsd:basicTypes:3.2.1">basicTypes.xsd</appinfo>
5
+ <documentation>See ISO/DIS 19136 8.2.
6
+ W3C XML Schema provides a set of built-in "simple" types which define methods for representing values as literals without internal markup. These are described in W3C XML Schema Part 2:2001. Because GML is an XML encoding in which instances are described using XML Schema, these simple types shall be used as far as possible and practical for the representation of data types. W3C XML Schema also provides methods for defining
7
+ - new simple types by restriction and combination of the built-in types, and
8
+ - complex types, with simple content, but which also have XML attributes.
9
+ In many places where a suitable built-in simple type is not available, simple content types derived using the XML Schema mechanisms are used for the representation of data types in GML.
10
+ A set of these simple content types that are required by several GML components are defined in the basicTypes schema, as well as some elements based on them. These are primarily based around components needed to record amounts, counts, flags and terms, together with support for exceptions or null values.
11
+
12
+ GML is an OGC Standard.
13
+ Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved.
14
+ To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
15
+ </documentation>
16
+ </annotation>
17
+ <simpleType name="NilReasonType">
18
+ <annotation>
19
+ <documentation>gml:NilReasonType defines a content model that allows recording of an explanation for a void value or other exception.
20
+ gml:NilReasonType is a union of the following enumerated values:
21
+ - inapplicable there is no value
22
+ - missing the correct value is not readily available to the sender of this data. Furthermore, a correct value may not exist
23
+ - template the value will be available later
24
+ - unknown the correct value is not known to, and not computable by, the sender of this data. However, a correct value probably exists
25
+ - withheld the value is not divulged
26
+ - other:text other brief explanation, where text is a string of two or more characters with no included spaces
27
+ and
28
+ - anyURI which should refer to a resource which describes the reason for the exception
29
+ A particular community may choose to assign more detailed semantics to the standard values provided. Alternatively, the URI method enables a specific or more complete explanation for the absence of a value to be provided elsewhere and indicated by-reference in an instance document.
30
+ gml:NilReasonType is used as a member of a union in a number of simple content types where it is necessary to permit a value from the NilReasonType union as an alternative to the primary type.</documentation>
31
+ </annotation>
32
+ <union memberTypes="gml:NilReasonEnumeration anyURI"/>
33
+ </simpleType>
34
+ <simpleType name="NilReasonEnumeration">
35
+ <union>
36
+ <simpleType>
37
+ <restriction base="string">
38
+ <enumeration value="inapplicable"/>
39
+ <enumeration value="missing"/>
40
+ <enumeration value="template"/>
41
+ <enumeration value="unknown"/>
42
+ <enumeration value="withheld"/>
43
+ </restriction>
44
+ </simpleType>
45
+ <simpleType>
46
+ <restriction base="string">
47
+ <pattern value="other:\w{2,}"/>
48
+ </restriction>
49
+ </simpleType>
50
+ </union>
51
+ </simpleType>
52
+ <simpleType name="SignType">
53
+ <annotation>
54
+ <documentation>gml:SignType is a convenience type with values "+" (plus) and "-" (minus).</documentation>
55
+ </annotation>
56
+ <restriction base="string">
57
+ <enumeration value="-"/>
58
+ <enumeration value="+"/>
59
+ </restriction>
60
+ </simpleType>
61
+ <simpleType name="booleanOrNilReason">
62
+ <annotation>
63
+ <documentation>Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value.</documentation>
64
+ </annotation>
65
+ <union memberTypes="gml:NilReasonEnumeration boolean anyURI"/>
66
+ </simpleType>
67
+ <simpleType name="doubleOrNilReason">
68
+ <annotation>
69
+ <documentation>Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value.</documentation>
70
+ </annotation>
71
+ <union memberTypes="gml:NilReasonEnumeration double anyURI"/>
72
+ </simpleType>
73
+ <simpleType name="integerOrNilReason">
74
+ <annotation>
75
+ <documentation>Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value.</documentation>
76
+ </annotation>
77
+ <union memberTypes="gml:NilReasonEnumeration integer anyURI"/>
78
+ </simpleType>
79
+ <simpleType name="NameOrNilReason">
80
+ <annotation>
81
+ <documentation>Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value.</documentation>
82
+ </annotation>
83
+ <union memberTypes="gml:NilReasonEnumeration Name anyURI"/>
84
+ </simpleType>
85
+ <simpleType name="stringOrNilReason">
86
+ <annotation>
87
+ <documentation>Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value.</documentation>
88
+ </annotation>
89
+ <union memberTypes="gml:NilReasonEnumeration string anyURI"/>
90
+ </simpleType>
91
+ <complexType name="CodeType">
92
+ <annotation>
93
+ <documentation>gml:CodeType is a generalized type to be used for a term, keyword or name.
94
+ It adds a XML attribute codeSpace to a term, where the value of the codeSpace attribute (if present) shall indicate a dictionary, thesaurus, classification scheme, authority, or pattern for the term.</documentation>
95
+ </annotation>
96
+ <simpleContent>
97
+ <extension base="string">
98
+ <attribute name="codeSpace" type="anyURI"/>
99
+ </extension>
100
+ </simpleContent>
101
+ </complexType>
102
+ <complexType name="CodeWithAuthorityType">
103
+ <annotation>
104
+ <documentation>gml:CodeWithAuthorityType requires that the codeSpace attribute is provided in an instance.</documentation>
105
+ </annotation>
106
+ <simpleContent>
107
+ <restriction base="gml:CodeType">
108
+ <attribute name="codeSpace" type="anyURI" use="required"/>
109
+ </restriction>
110
+ </simpleContent>
111
+ </complexType>
112
+ <complexType name="MeasureType">
113
+ <annotation>
114
+ <documentation>gml:MeasureType supports recording an amount encoded as a value of XML Schema double, together with a units of measure indicated by an attribute uom, short for "units of measure". The value of the uom attribute identifies a reference system for the amount, usually a ratio or interval scale.</documentation>
115
+ </annotation>
116
+ <simpleContent>
117
+ <extension base="double">
118
+ <attribute name="uom" type="gml:UomIdentifier" use="required"/>
119
+ </extension>
120
+ </simpleContent>
121
+ </complexType>
122
+ <simpleType name="UomIdentifier">
123
+ <annotation>
124
+ <documentation>The simple type gml:Uomidentifier defines the syntax and value space of the unit of measure identifier.</documentation>
125
+ </annotation>
126
+ <union memberTypes="gml:UomSymbol gml:UomURI"/>
127
+ </simpleType>
128
+ <simpleType name="UomSymbol">
129
+ <annotation>
130
+ <documentation>This type specifies a character string of length at least one, and restricted such that it must not contain any of the following characters: ":" (colon), " " (space), (newline), (carriage return), (tab). This allows values corresponding to familiar abbreviations, such as "kg", "m/s", etc.
131
+ It is recommended that the symbol be an identifier for a unit of measure as specified in the "Unified Code of Units of Measure" (UCUM) (http://aurora.regenstrief.org/UCUM). This provides a set of symbols and a grammar for constructing identifiers for units of measure that are unique, and may be easily entered with a keyboard supporting the limited character set known as 7-bit ASCII. ISO 2955 formerly provided a specification with this scope, but was withdrawn in 2001. UCUM largely follows ISO 2955 with modifications to remove ambiguities and other problems.</documentation>
132
+ </annotation>
133
+ <restriction base="string">
134
+ <pattern value="[^: \n\r\t]+"/>
135
+ </restriction>
136
+ </simpleType>
137
+ <simpleType name="UomURI">
138
+ <annotation>
139
+ <documentation>This type specifies a URI, restricted such that it must start with one of the following sequences: "#", "./", "../", or a string of characters followed by a ":". These patterns ensure that the most common URI forms are supported, including absolute and relative URIs and URIs that are simple fragment identifiers, but prohibits certain forms of relative URI that could be mistaken for unit of measure symbol .
140
+ NOTE It is possible to re-write such a relative URI to conform to the restriction (e.g. "./m/s").
141
+ In an instance document, on elements of type gml:MeasureType the mandatory uom attribute shall carry a value corresponding to either
142
+ - a conventional unit of measure symbol,
143
+ - a link to a definition of a unit of measure that does not have a conventional symbol, or when it is desired to indicate a precise or variant definition.</documentation>
144
+ </annotation>
145
+ <restriction base="anyURI">
146
+ <pattern value="([a-zA-Z][a-zA-Z0-9\-\+\.]*:|\.\./|\./|#).*"/>
147
+ </restriction>
148
+ </simpleType>
149
+ <complexType name="CoordinatesType">
150
+ <annotation>
151
+ <documentation>This type is deprecated for tuples with ordinate values that are numbers.
152
+ CoordinatesType is a text string, intended to be used to record an array of tuples or coordinates.
153
+ While it is not possible to enforce the internal structure of the string through schema validation, some optional attributes have been provided in previous versions of GML to support a description of the internal structure. These attributes are deprecated. The attributes were intended to be used as follows:
154
+ Decimal symbol used for a decimal point (default="." a stop or period)
155
+ cs symbol used to separate components within a tuple or coordinate string (default="," a comma)
156
+ ts symbol used to separate tuples or coordinate strings (default=" " a space)
157
+ Since it is based on the XML Schema string type, CoordinatesType may be used in the construction of tables of tuples or arrays of tuples, including ones that contain mixed text and numeric values.</documentation>
158
+ </annotation>
159
+ <simpleContent>
160
+ <extension base="string">
161
+ <attribute name="decimal" type="string" default="."/>
162
+ <attribute name="cs" type="string" default=","/>
163
+ <attribute name="ts" type="string" default=" "/>
164
+ </extension>
165
+ </simpleContent>
166
+ </complexType>
167
+ <simpleType name="booleanList">
168
+ <annotation>
169
+ <documentation>A type for a list of values of the respective simple type.</documentation>
170
+ </annotation>
171
+ <list itemType="boolean"/>
172
+ </simpleType>
173
+ <simpleType name="doubleList">
174
+ <annotation>
175
+ <documentation>A type for a list of values of the respective simple type.</documentation>
176
+ </annotation>
177
+ <list itemType="double"/>
178
+ </simpleType>
179
+ <simpleType name="integerList">
180
+ <annotation>
181
+ <documentation>A type for a list of values of the respective simple type.</documentation>
182
+ </annotation>
183
+ <list itemType="integer"/>
184
+ </simpleType>
185
+ <simpleType name="NameList">
186
+ <annotation>
187
+ <documentation>A type for a list of values of the respective simple type.</documentation>
188
+ </annotation>
189
+ <list itemType="Name"/>
190
+ </simpleType>
191
+ <simpleType name="NCNameList">
192
+ <annotation>
193
+ <documentation>A type for a list of values of the respective simple type.</documentation>
194
+ </annotation>
195
+ <list itemType="NCName"/>
196
+ </simpleType>
197
+ <simpleType name="QNameList">
198
+ <annotation>
199
+ <documentation>A type for a list of values of the respective simple type.</documentation>
200
+ </annotation>
201
+ <list itemType="QName"/>
202
+ </simpleType>
203
+ <simpleType name="booleanOrNilReasonList">
204
+ <annotation>
205
+ <documentation>A type for a list of values of the respective simple type.</documentation>
206
+ </annotation>
207
+ <list itemType="gml:booleanOrNilReason"/>
208
+ </simpleType>
209
+ <simpleType name="NameOrNilReasonList">
210
+ <annotation>
211
+ <documentation>A type for a list of values of the respective simple type.</documentation>
212
+ </annotation>
213
+ <list itemType="gml:NameOrNilReason"/>
214
+ </simpleType>
215
+ <simpleType name="doubleOrNilReasonList">
216
+ <annotation>
217
+ <documentation>A type for a list of values of the respective simple type.</documentation>
218
+ </annotation>
219
+ <list itemType="gml:doubleOrNilReason"/>
220
+ </simpleType>
221
+ <simpleType name="integerOrNilReasonList">
222
+ <annotation>
223
+ <documentation>A type for a list of values of the respective simple type.</documentation>
224
+ </annotation>
225
+ <list itemType="gml:integerOrNilReason"/>
226
+ </simpleType>
227
+ <complexType name="CodeListType">
228
+ <annotation>
229
+ <documentation>gml:CodeListType provides for lists of terms. The values in an instance element shall all be valid according to the rules of the dictionary, classification scheme, or authority identified by the value of its codeSpace attribute.</documentation>
230
+ </annotation>
231
+ <simpleContent>
232
+ <extension base="gml:NameList">
233
+ <attribute name="codeSpace" type="anyURI"/>
234
+ </extension>
235
+ </simpleContent>
236
+ </complexType>
237
+ <complexType name="CodeOrNilReasonListType">
238
+ <annotation>
239
+ <documentation>gml:CodeOrNilReasonListType provides for lists of terms. The values in an instance element shall all be valid according to the rules of the dictionary, classification scheme, or authority identified by the value of its codeSpace attribute. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a term or classification is expected, but the value may be absent for some reason.</documentation>
240
+ </annotation>
241
+ <simpleContent>
242
+ <extension base="gml:NameOrNilReasonList">
243
+ <attribute name="codeSpace" type="anyURI"/>
244
+ </extension>
245
+ </simpleContent>
246
+ </complexType>
247
+ <complexType name="MeasureListType">
248
+ <annotation>
249
+ <documentation>gml:MeasureListType provides for a list of quantities.</documentation>
250
+ </annotation>
251
+ <simpleContent>
252
+ <extension base="gml:doubleList">
253
+ <attribute name="uom" type="gml:UomIdentifier" use="required"/>
254
+ </extension>
255
+ </simpleContent>
256
+ </complexType>
257
+ <complexType name="MeasureOrNilReasonListType">
258
+ <annotation>
259
+ <documentation>gml:MeasureOrNilReasonListType provides for a list of quantities. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a value is expected, but the value may be absent for some reason.</documentation>
260
+ </annotation>
261
+ <simpleContent>
262
+ <extension base="gml:doubleOrNilReasonList">
263
+ <attribute name="uom" type="gml:UomIdentifier" use="required"/>
264
+ </extension>
265
+ </simpleContent>
266
+ </complexType>
267
+ </schema>
@@ -0,0 +1,271 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xlink="http://www.w3.org/1999/xlink" targetNamespace="http://www.opengis.net/gml/3.2" elementFormDefault="qualified" version="3.2.1 2010-01-28">
3
+ <include schemaLocation="gmlBase-extract.xsd"/>
4
+ <annotation>
5
+ <appinfo source="urn:x-ogc:specification:gml:schema-xsd:geometryBasic0d1d:3.2.1">geometryBasic0d1d.xsd</appinfo>
6
+ <documentation>See ISO/DIS 19136 Clause 10.
7
+ Any geometry element that inherits the semantics of AbstractGeometryType may be viewed as a set of direct positions.
8
+ All of the classes derived from AbstractGeometryType inherit an optional association to a coordinate reference system. All direct positions shall directly or indirectly be associated with a coordinate reference system. When geometry elements are aggregated in another geometry element (such as a MultiGeometry or GeometricComplex), which already has a coordinate reference system specified, then these elements are assumed to be in that same coordinate reference system unless otherwise specified.
9
+ The geometry model distinguishes geometric primitives, aggregates and complexes.
10
+ Geometric primitives, i.e. instances of a subtype of AbstractGeometricPrimitiveType, will be open, that is, they will not contain their boundary points; curves will not contain their end points, surfaces will not contain their boundary curves, and solids will not contain their bounding surfaces.
11
+
12
+ GML is an OGC Standard.
13
+ Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved.
14
+ To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
15
+ </documentation>
16
+ </annotation>
17
+ <!--SOME GML ELEMENTS HAVE BEEN DROPPED TO MINIMSE DEPENDENCIES-->
18
+ <complexType name="AbstractGeometryType" abstract="true">
19
+ <annotation>
20
+ <documentation>All geometry elements are derived directly or indirectly from this abstract supertype. A geometry element may have an identifying attribute (gml:id), one or more names (elements identifier and name) and a description (elements description and descriptionReference) . It may be associated with a spatial reference system (attribute group gml:SRSReferenceGroup).
21
+ The following rules shall be adhered to:
22
+ - Every geometry type shall derive from this abstract type.
23
+ - Every geometry element (i.e. an element of a geometry type) shall be directly or indirectly in the substitution group of AbstractGeometry.</documentation>
24
+ </annotation>
25
+ <complexContent>
26
+ <extension base="gml:AbstractGMLType">
27
+ <attributeGroup ref="gml:SRSReferenceGroup"/>
28
+ </extension>
29
+ </complexContent>
30
+ </complexType>
31
+ <attributeGroup name="SRSReferenceGroup">
32
+ <annotation>
33
+ <documentation>The attribute group SRSReferenceGroup is an optional reference to the CRS used by this geometry, with optional additional information to simplify the processing of the coordinates when a more complete definition of the CRS is not needed.
34
+ In general the attribute srsName points to a CRS instance of gml:AbstractCoordinateReferenceSystem. For well-known references it is not required that the CRS description exists at the location the URI points to.
35
+ If no srsName attribute is given, the CRS shall be specified as part of the larger context this geometry element is part of.</documentation>
36
+ </annotation>
37
+ <attribute name="srsName" type="anyURI"/>
38
+ <attribute name="srsDimension" type="positiveInteger"/>
39
+ <attributeGroup ref="gml:SRSInformationGroup"/>
40
+ </attributeGroup>
41
+ <attributeGroup name="SRSInformationGroup">
42
+ <annotation>
43
+ <documentation>The attributes uomLabels and axisLabels, defined in the SRSInformationGroup attribute group, are optional additional and redundant information for a CRS to simplify the processing of the coordinate values when a more complete definition of the CRS is not needed. This information shall be the same as included in the complete definition of the CRS, referenced by the srsName attribute. When the srsName attribute is included, either both or neither of the axisLabels and uomLabels attributes shall be included. When the srsName attribute is omitted, both of these attributes shall be omitted.
44
+ The attribute axisLabels is an ordered list of labels for all the axes of this CRS. The gml:axisAbbrev value should be used for these axis labels, after spaces and forbidden characters are removed. When the srsName attribute is included, this attribute is optional. When the srsName attribute is omitted, this attribute shall also be omitted.
45
+ The attribute uomLabels is an ordered list of unit of measure (uom) labels for all the axes of this CRS. The value of the string in the gml:catalogSymbol should be used for this uom labels, after spaces and forbidden characters are removed. When the axisLabels attribute is included, this attribute shall also be included. When the axisLabels attribute is omitted, this attribute shall also be omitted.</documentation>
46
+ </annotation>
47
+ </attributeGroup>
48
+ <element name="AbstractGeometry" type="gml:AbstractGeometryType" abstract="true" substitutionGroup="gml:AbstractGML">
49
+ <annotation>
50
+ <documentation>The AbstractGeometry element is the abstract head of the substitution group for all geometry elements of GML. This includes pre-defined and user-defined geometry elements. Any geometry element shall be a direct or indirect extension/restriction of AbstractGeometryType and shall be directly or indirectly in the substitution group of AbstractGeometry.</documentation>
51
+ </annotation>
52
+ </element>
53
+ <complexType name="GeometryPropertyType">
54
+ <annotation>
55
+ <documentation>A geometric property may either be any geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same or another document). Note that either the reference or the contained element shall be given, but not both or none.
56
+ If a feature has a property that takes a geometry element as its value, this is called a geometry property. A generic type for such a geometry property is GeometryPropertyType.</documentation>
57
+ </annotation>
58
+ <sequence minOccurs="0">
59
+ <element ref="gml:AbstractGeometry"/>
60
+ </sequence>
61
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
62
+ <attributeGroup ref="gml:OwnershipAttributeGroup"/>
63
+ </complexType>
64
+ <complexType name="GeometryArrayPropertyType">
65
+ <annotation>
66
+ <documentation>If a feature has a property which takes an array of geometry elements as its value, this is called a geometry array property. A generic type for such a geometry property is GeometryArrayPropertyType.
67
+ The elements are always contained inline in the array property, referencing geometry elements or arrays of geometry elements via XLinks is not supported.</documentation>
68
+ </annotation>
69
+ <sequence minOccurs="0" maxOccurs="unbounded">
70
+ <element ref="gml:AbstractGeometry"/>
71
+ </sequence>
72
+ <attributeGroup ref="gml:OwnershipAttributeGroup"/>
73
+ </complexType>
74
+ <complexType name="DirectPositionType">
75
+ <annotation>
76
+ <documentation>Direct position instances hold the coordinates for a position within some coordinate reference system (CRS). Since direct positions, as data types, will often be included in larger objects (such as geometry elements) that have references to CRS, the srsName attribute will in general be missing, if this particular direct position is included in a larger element with such a reference to a CRS. In this case, the CRS is implicitly assumed to take on the value of the containing object's CRS.
77
+ if no srsName attribute is given, the CRS shall be specified as part of the larger context this geometry element is part of, typically a geometric object like a point, curve, etc.</documentation>
78
+ </annotation>
79
+ <simpleContent>
80
+ <extension base="gml:doubleList">
81
+ <attributeGroup ref="gml:SRSReferenceGroup"/>
82
+ </extension>
83
+ </simpleContent>
84
+ </complexType>
85
+ <element name="pos" type="gml:DirectPositionType"/>
86
+ <complexType name="DirectPositionListType">
87
+ <annotation>
88
+ <documentation>posList instances (and other instances with the content model specified by DirectPositionListType) hold the coordinates for a sequence of direct positions within the same coordinate reference system (CRS).
89
+ if no srsName attribute is given, the CRS shall be specified as part of the larger context this geometry element is part of, typically a geometric object like a point, curve, etc.
90
+ The optional attribute count specifies the number of direct positions in the list. If the attribute count is present then the attribute srsDimension shall be present, too.
91
+ The number of entries in the list is equal to the product of the dimensionality of the coordinate reference system (i.e. it is a derived value of the coordinate reference system definition) and the number of direct positions.</documentation>
92
+ </annotation>
93
+ <simpleContent>
94
+ <extension base="gml:doubleList">
95
+ <attributeGroup ref="gml:SRSReferenceGroup"/>
96
+ <attribute name="count" type="positiveInteger"/>
97
+ </extension>
98
+ </simpleContent>
99
+ </complexType>
100
+ <element name="posList" type="gml:DirectPositionListType"/>
101
+ <group name="geometricPositionGroup">
102
+ <annotation>
103
+ <documentation>GML supports two different ways to specify a geometric position: either by a direct position (a data type) or a point (a geometric object).
104
+ pos elements are positions that are "owned" by the geometric primitive encapsulating this geometric position.
105
+ pointProperty elements contain a point that may be referenced from other geometry elements or reference another point defined elsewhere (reuse of existing points).</documentation>
106
+ </annotation>
107
+ <choice>
108
+ <element ref="gml:pos"/>
109
+ <element ref="gml:pointProperty"/>
110
+ </choice>
111
+ </group>
112
+ <group name="geometricPositionListGroup">
113
+ <annotation>
114
+ <documentation>GML supports two different ways to specify a list of geometric positions: either by a sequence of geometric positions (by reusing the group definition) or a sequence of direct positions (element posList).
115
+ The posList element allows for a compact way to specify the coordinates of the positions, if all positions are represented in the same coordinate reference system.</documentation>
116
+ </annotation>
117
+ <choice>
118
+ <element ref="gml:posList"/>
119
+ <group ref="gml:geometricPositionGroup" maxOccurs="unbounded"/>
120
+ </choice>
121
+ </group>
122
+ <complexType name="VectorType">
123
+ <annotation>
124
+ <documentation>For some applications the components of the position may be adjusted to yield a unit vector.</documentation>
125
+ </annotation>
126
+ <simpleContent>
127
+ <restriction base="gml:DirectPositionType"/>
128
+ </simpleContent>
129
+ </complexType>
130
+ <element name="vector" type="gml:VectorType"/>
131
+ <complexType name="EnvelopeType">
132
+ <choice>
133
+ <sequence>
134
+ <element name="lowerCorner" type="gml:DirectPositionType"/>
135
+ <element name="upperCorner" type="gml:DirectPositionType"/>
136
+ </sequence>
137
+ <element ref="gml:pos" minOccurs="2" maxOccurs="2">
138
+ <annotation>
139
+ <appinfo>deprecated</appinfo>
140
+ </annotation>
141
+ </element>
142
+ </choice>
143
+ <attributeGroup ref="gml:SRSReferenceGroup"/>
144
+ </complexType>
145
+ <element name="Envelope" type="gml:EnvelopeType" substitutionGroup="gml:AbstractObject">
146
+ <annotation>
147
+ <documentation>Envelope defines an extent using a pair of positions defining opposite corners in arbitrary dimensions. The first direct position is the "lower corner" (a coordinate position consisting of all the minimal ordinates for each dimension for all points within the envelope), the second one the "upper corner" (a coordinate position consisting of all the maximal ordinates for each dimension for all points within the envelope).
148
+ The use of the properties "coordinates" and "pos" has been deprecated. The explicitly named properties "lowerCorner" and "upperCorner" shall be used instead.</documentation>
149
+ </annotation>
150
+ </element>
151
+ <complexType name="AbstractGeometricPrimitiveType" abstract="true">
152
+ <annotation>
153
+ <documentation>gml:AbstractGeometricPrimitiveType is the abstract root type of the geometric primitives. A geometric primitive is a geometric object that is not decomposed further into other primitives in the system. All primitives are oriented in the direction implied by the sequence of their coordinate tuples.</documentation>
154
+ </annotation>
155
+ <complexContent>
156
+ <extension base="gml:AbstractGeometryType"/>
157
+ </complexContent>
158
+ </complexType>
159
+ <element name="AbstractGeometricPrimitive" type="gml:AbstractGeometricPrimitiveType" abstract="true" substitutionGroup="gml:AbstractGeometry">
160
+ <annotation>
161
+ <documentation>The AbstractGeometricPrimitive element is the abstract head of the substitution group for all (pre- and user-defined) geometric primitives.</documentation>
162
+ </annotation>
163
+ </element>
164
+ <complexType name="GeometricPrimitivePropertyType">
165
+ <annotation>
166
+ <documentation>A property that has a geometric primitive as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none.</documentation>
167
+ </annotation>
168
+ <sequence minOccurs="0">
169
+ <element ref="gml:AbstractGeometricPrimitive"/>
170
+ </sequence>
171
+ <attributeGroup ref="gml:OwnershipAttributeGroup"/>
172
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
173
+ </complexType>
174
+ <complexType name="PointType">
175
+ <complexContent>
176
+ <extension base="gml:AbstractGeometricPrimitiveType">
177
+ <sequence>
178
+ <choice>
179
+ <element ref="gml:pos"/>
180
+ </choice>
181
+ </sequence>
182
+ </extension>
183
+ </complexContent>
184
+ </complexType>
185
+ <element name="Point" type="gml:PointType" substitutionGroup="gml:AbstractGeometricPrimitive">
186
+ <annotation>
187
+ <documentation>A Point is defined by a single coordinate tuple. The direct position of a point is specified by the pos element which is of type DirectPositionType.</documentation>
188
+ </annotation>
189
+ </element>
190
+ <complexType name="PointPropertyType">
191
+ <annotation>
192
+ <documentation>A property that has a point as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none.</documentation>
193
+ </annotation>
194
+ <sequence minOccurs="0">
195
+ <element ref="gml:Point"/>
196
+ </sequence>
197
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
198
+ <attributeGroup ref="gml:OwnershipAttributeGroup"/>
199
+ </complexType>
200
+ <element name="pointProperty" type="gml:PointPropertyType">
201
+ <annotation>
202
+ <documentation>This property element either references a point via the XLink-attributes or contains the point element. pointProperty is the predefined property which may be used by GML Application Schemas whenever a GML feature has a property with a value that is substitutable for Point.</documentation>
203
+ </annotation>
204
+ </element>
205
+ <complexType name="PointArrayPropertyType">
206
+ <annotation>
207
+ <documentation>gml:PointArrayPropertyType is a container for an array of points. The elements are always contained inline in the array property, referencing geometry elements or arrays of geometry elements via XLinks is not supported.</documentation>
208
+ </annotation>
209
+ <sequence minOccurs="0" maxOccurs="unbounded">
210
+ <element ref="gml:Point"/>
211
+ </sequence>
212
+ <attributeGroup ref="gml:OwnershipAttributeGroup"/>
213
+ </complexType>
214
+ <complexType name="AbstractCurveType" abstract="true">
215
+ <annotation>
216
+ <documentation>gml:AbstractCurveType is an abstraction of a curve to support the different levels of complexity. The curve may always be viewed as a geometric primitive, i.e. is continuous.</documentation>
217
+ </annotation>
218
+ <complexContent>
219
+ <extension base="gml:AbstractGeometricPrimitiveType"/>
220
+ </complexContent>
221
+ </complexType>
222
+ <element name="AbstractCurve" type="gml:AbstractCurveType" abstract="true" substitutionGroup="gml:AbstractGeometricPrimitive">
223
+ <annotation>
224
+ <documentation>The AbstractCurve element is the abstract head of the substitution group for all (continuous) curve elements.</documentation>
225
+ </annotation>
226
+ </element>
227
+ <complexType name="CurvePropertyType">
228
+ <annotation>
229
+ <documentation>A property that has a curve as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none.</documentation>
230
+ </annotation>
231
+ <sequence minOccurs="0">
232
+ <element ref="gml:AbstractCurve"/>
233
+ </sequence>
234
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
235
+ <attributeGroup ref="gml:OwnershipAttributeGroup"/>
236
+ </complexType>
237
+ <element name="curveProperty" type="gml:CurvePropertyType">
238
+ <annotation>
239
+ <documentation>This property element either references a curve via the XLink-attributes or contains the curve element. curveProperty is the predefined property which may be used by GML Application Schemas whenever a GML feature has a property with a value that is substitutable for AbstractCurve.</documentation>
240
+ </annotation>
241
+ </element>
242
+ <complexType name="CurveArrayPropertyType">
243
+ <annotation>
244
+ <documentation>A container for an array of curves. The elements are always contained in the array property, referencing geometry elements or arrays of geometry elements via XLinks is not supported.</documentation>
245
+ </annotation>
246
+ <sequence minOccurs="0" maxOccurs="unbounded">
247
+ <element ref="gml:AbstractCurve"/>
248
+ </sequence>
249
+ <attributeGroup ref="gml:OwnershipAttributeGroup"/>
250
+ </complexType>
251
+ <complexType name="LineStringType">
252
+ <complexContent>
253
+ <extension base="gml:AbstractCurveType">
254
+ <sequence>
255
+ <choice>
256
+ <choice minOccurs="2" maxOccurs="unbounded">
257
+ <element ref="gml:pos"/>
258
+ <element ref="gml:pointProperty"/>
259
+ </choice>
260
+ <element ref="gml:posList"/>
261
+ </choice>
262
+ </sequence>
263
+ </extension>
264
+ </complexContent>
265
+ </complexType>
266
+ <element name="LineString" type="gml:LineStringType" substitutionGroup="gml:AbstractCurve">
267
+ <annotation>
268
+ <documentation>A LineString is a special curve that consists of a single segment with linear interpolation. It is defined by two or more coordinate tuples, with linear interpolation between them. The number of direct positions in the list shall be at least two.</documentation>
269
+ </annotation>
270
+ </element>
271
+ </schema>