1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430
|
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" elementFormDefault="qualified"
version="3.1.1 2010-01-28">
<annotation>
<appinfo source="urn:opengis:specification:gml:schema-xsd:geometryAggregates:3.1.1">geometryAggregates.xsd</appinfo>
<documentation>
GML is an OGC Standard.
Copyright (c) 2001,2005,2010 Open Geospatial Consortium, Inc. All Rights Reserved.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
</documentation>
</annotation>
<include schemaLocation="geometryPrimitives.xsd"/>
<!-- =========================================================== -->
<!-- aggregate geometry objects -->
<!-- =========================================================== -->
<!-- =========================================================== -->
<element name="_GeometricAggregate" type="gml:AbstractGeometricAggregateType" abstract="true" substitutionGroup="gml:_Geometry">
<annotation>
<documentation>The "_GeometricAggregate" element is the abstract head of the substituition group for all geometric aggremates.</documentation>
</annotation>
</element>
<!-- =========================================================== -->
<complexType name="AbstractGeometricAggregateType" abstract="true">
<annotation>
<documentation>This is the abstract root type of the geometric aggregates.</documentation>
</annotation>
<complexContent>
<extension base="gml:AbstractGeometryType"/>
</complexContent>
</complexType>
<!-- =========================================================== -->
<element name="MultiGeometry" type="gml:MultiGeometryType" substitutionGroup="gml:_GeometricAggregate"/>
<!-- ======================================================= -->
<complexType name="MultiGeometryType">
<annotation>
<documentation>A geometry collection must include one or more geometries, referenced through geometryMember elements.</documentation>
</annotation>
<complexContent>
<extension base="gml:AbstractGeometricAggregateType">
<sequence>
<annotation>
<documentation>The members of the geometric aggregate can be specified either using the "standard" property or the array property style. It is also valid to use both the "standard" and the array property style in the same collection.
NOTE: Array properties cannot reference remote geometry elements.</documentation>
</annotation>
<element ref="gml:geometryMember" minOccurs="0" maxOccurs="unbounded"/>
<element ref="gml:geometryMembers" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
<!-- =========================================================== -->
<element name="multiGeometryProperty" type="gml:MultiGeometryPropertyType">
<annotation>
<appinfo>
<sch:pattern name="Check either href or content not both">
<sch:rule context="gml:multiGeometryProperty">
<sch:extends rule="hrefOrContent"/>
</sch:rule>
</sch:pattern>
</appinfo>
<documentation>This property element either references a geometric aggregate via the XLink-attributes or contains the "multi geometry" element. multiGeometryProperty is the predefined property which can be used by GML Application Schemas whenever a GML Feature has a property with a value that is substitutable for _GeometricAggregate.</documentation>
</annotation>
</element>
<!-- =========================================================== -->
<complexType name="MultiGeometryPropertyType">
<annotation>
<documentation>A property that has a geometric aggregate as its value domain can 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 must be given, but neither both nor none.</documentation>
</annotation>
<sequence minOccurs="0">
<element ref="gml:_GeometricAggregate"/>
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup">
<annotation>
<documentation>This attribute group includes the XLink attributes (see xlinks.xsd). XLink is used in GML to reference remote resources (including those elsewhere in the same document). A simple link element can be constructed by including a specific set of XLink attributes. The XML Linking Language (XLink) is currently a Proposed Recommendation of the World Wide Web Consortium. XLink allows elements to be inserted into XML documents so as to create sophisticated links between resources; such links can be used to reference remote properties.
A simple link element can be used to implement pointer functionality, and this functionality has been built into various GML 3 elements by including the gml:AssociationAttributeGroup.</documentation>
</annotation>
</attributeGroup>
</complexType>
<!-- =========================================================== -->
<element name="MultiPoint" type="gml:MultiPointType" substitutionGroup="gml:_GeometricAggregate"/>
<!-- ======================================================= -->
<complexType name="MultiPointType">
<annotation>
<documentation>A MultiPoint is defined by one or more Points, referenced through pointMember elements.</documentation>
</annotation>
<complexContent>
<extension base="gml:AbstractGeometricAggregateType">
<sequence>
<annotation>
<documentation>The members of the geometric aggregate can be specified either using the "standard" property or the array property style. It is also valid to use both the "standard" and the array property style in the same collection.
NOTE: Array properties cannot reference remote geometry elements.</documentation>
</annotation>
<element ref="gml:pointMember" minOccurs="0" maxOccurs="unbounded"/>
<element ref="gml:pointMembers" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
<!-- =========================================================== -->
<element name="multiPointProperty" type="gml:MultiPointPropertyType">
<annotation>
<appinfo>
<sch:pattern name="Check either href or content not both">
<sch:rule context="gml:multiPointProperty">
<sch:extends rule="hrefOrContent"/>
</sch:rule>
</sch:pattern>
</appinfo>
<documentation>This property element either references a point aggregate via the XLink-attributes or contains the "multi point" element. multiPointProperty is the predefined property which can be used by GML Application Schemas whenever a GML Feature has a property with a value that is substitutable for MultiPoint.</documentation>
</annotation>
</element>
<!-- =========================================================== -->
<complexType name="MultiPointPropertyType">
<annotation>
<documentation>A property that has a collection of points as its value domain can 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 must be given, but neither both nor none.</documentation>
</annotation>
<sequence minOccurs="0">
<element ref="gml:MultiPoint"/>
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup">
<annotation>
<documentation>This attribute group includes the XLink attributes (see xlinks.xsd). XLink is used in GML to reference remote resources (including those elsewhere in the same document). A simple link element can be constructed by including a specific set of XLink attributes. The XML Linking Language (XLink) is currently a Proposed Recommendation of the World Wide Web Consortium. XLink allows elements to be inserted into XML documents so as to create sophisticated links between resources; such links can be used to reference remote properties.
A simple link element can be used to implement pointer functionality, and this functionality has been built into various GML 3 elements by including the gml:AssociationAttributeGroup.</documentation>
</annotation>
</attributeGroup>
</complexType>
<!-- =========================================================== -->
<element name="MultiCurve" type="gml:MultiCurveType" substitutionGroup="gml:_GeometricAggregate"/>
<!-- ======================================================= -->
<complexType name="MultiCurveType">
<annotation>
<documentation>A MultiCurve is defined by one or more Curves, referenced through curveMember elements.</documentation>
</annotation>
<complexContent>
<extension base="gml:AbstractGeometricAggregateType">
<sequence>
<annotation>
<documentation>The members of the geometric aggregate can be specified either using the "standard" property or the array property style. It is also valid to use both the "standard" and the array property style in the same collection.
NOTE: Array properties cannot reference remote geometry elements.</documentation>
</annotation>
<element ref="gml:curveMember" minOccurs="0" maxOccurs="unbounded"/>
<element ref="gml:curveMembers" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
<!-- =========================================================== -->
<element name="multiCurveProperty" type="gml:MultiCurvePropertyType">
<annotation>
<appinfo>
<sch:pattern name="Check either href or content not both">
<sch:rule context="gml:multiCurveProperty">
<sch:extends rule="hrefOrContent"/>
</sch:rule>
</sch:pattern>
</appinfo>
<documentation>This property element either references a curve aggregate via the XLink-attributes or contains the "multi curve" element. multiCurveProperty is the predefined property which can be used by GML Application Schemas whenever a GML Feature has a property with a value that is substitutable for MultiCurve.</documentation>
</annotation>
</element>
<!-- =========================================================== -->
<complexType name="MultiCurvePropertyType">
<annotation>
<documentation>A property that has a collection of curves as its value domain can 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 must be given, but neither both nor none.</documentation>
</annotation>
<sequence minOccurs="0">
<element ref="gml:MultiCurve"/>
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup">
<annotation>
<documentation>This attribute group includes the XLink attributes (see xlinks.xsd). XLink is used in GML to reference remote resources (including those elsewhere in the same document). A simple link element can be constructed by including a specific set of XLink attributes. The XML Linking Language (XLink) is currently a Proposed Recommendation of the World Wide Web Consortium. XLink allows elements to be inserted into XML documents so as to create sophisticated links between resources; such links can be used to reference remote properties.
A simple link element can be used to implement pointer functionality, and this functionality has been built into various GML 3 elements by including the gml:AssociationAttributeGroup.</documentation>
</annotation>
</attributeGroup>
</complexType>
<!-- =========================================================== -->
<element name="MultiSurface" type="gml:MultiSurfaceType" substitutionGroup="gml:_GeometricAggregate"/>
<!-- ======================================================= -->
<complexType name="MultiSurfaceType">
<annotation>
<documentation>A MultiSurface is defined by one or more Surfaces, referenced through surfaceMember elements.</documentation>
</annotation>
<complexContent>
<extension base="gml:AbstractGeometricAggregateType">
<sequence>
<annotation>
<documentation>The members of the geometric aggregate can be specified either using the "standard" property or the array property style. It is also valid to use both the "standard" and the array property style in the same collection.
NOTE: Array properties cannot reference remote geometry elements.</documentation>
</annotation>
<element ref="gml:surfaceMember" minOccurs="0" maxOccurs="unbounded"/>
<element ref="gml:surfaceMembers" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
<!-- =========================================================== -->
<element name="multiSurfaceProperty" type="gml:MultiSurfacePropertyType">
<annotation>
<appinfo>
<sch:pattern name="Check either href or content not both">
<sch:rule context="gml:multiSurfaceProperty">
<sch:extends rule="hrefOrContent"/>
</sch:rule>
</sch:pattern>
</appinfo>
<documentation>This property element either references a surface aggregate via the XLink-attributes or contains the "multi surface" element. multiSurfaceProperty is the predefined property which can be used by GML Application Schemas whenever a GML Feature has a property with a value that is substitutable for MultiSurface.</documentation>
</annotation>
</element>
<!-- =========================================================== -->
<complexType name="MultiSurfacePropertyType">
<annotation>
<documentation>A property that has a collection of surfaces as its value domain can 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 must be given, but neither both nor none.</documentation>
</annotation>
<sequence minOccurs="0">
<element ref="gml:MultiSurface"/>
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup">
<annotation>
<documentation>This attribute group includes the XLink attributes (see xlinks.xsd). XLink is used in GML to reference remote resources (including those elsewhere in the same document). A simple link element can be constructed by including a specific set of XLink attributes. The XML Linking Language (XLink) is currently a Proposed Recommendation of the World Wide Web Consortium. XLink allows elements to be inserted into XML documents so as to create sophisticated links between resources; such links can be used to reference remote properties.
A simple link element can be used to implement pointer functionality, and this functionality has been built into various GML 3 elements by including the gml:AssociationAttributeGroup.</documentation>
</annotation>
</attributeGroup>
</complexType>
<!-- ============================================================ -->
<element name="MultiSolid" type="gml:MultiSolidType" substitutionGroup="gml:_GeometricAggregate"/>
<!-- ======================================================= -->
<complexType name="MultiSolidType">
<annotation>
<documentation>A MultiSolid is defined by one or more Solids, referenced through solidMember elements.</documentation>
</annotation>
<complexContent>
<extension base="gml:AbstractGeometricAggregateType">
<sequence>
<annotation>
<documentation>The members of the geometric aggregate can be specified either using the "standard" property or the array property style. It is also valid to use both the "standard" and the array property style in the same collection.
NOTE: Array properties cannot reference remote geometry elements.</documentation>
</annotation>
<element ref="gml:solidMember" minOccurs="0" maxOccurs="unbounded"/>
<element ref="gml:solidMembers" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
<!-- =========================================================== -->
<element name="multiSolidProperty" type="gml:MultiSolidPropertyType">
<annotation>
<appinfo>
<sch:pattern name="Check either href or content not both">
<sch:rule context="gml:multiSolidProperty">
<sch:extends rule="hrefOrContent"/>
</sch:rule>
</sch:pattern>
</appinfo>
<documentation>This property element either references a solid aggregate via the XLink-attributes or contains the "multi solid" element. multiSolidProperty is the predefined property which can be used by GML Application Schemas whenever a GML Feature has a property with a value that is substitutable for MultiSolid.</documentation>
</annotation>
</element>
<!-- =========================================================== -->
<complexType name="MultiSolidPropertyType">
<annotation>
<documentation>A property that has a collection of solids as its value domain can 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 must be given, but neither both nor none.</documentation>
</annotation>
<sequence minOccurs="0">
<element ref="gml:MultiSolid"/>
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup">
<annotation>
<documentation>This attribute group includes the XLink attributes (see xlinks.xsd). XLink is used in GML to reference remote resources (including those elsewhere in the same document). A simple link element can be constructed by including a specific set of XLink attributes. The XML Linking Language (XLink) is currently a Proposed Recommendation of the World Wide Web Consortium. XLink allows elements to be inserted into XML documents so as to create sophisticated links between resources; such links can be used to reference remote properties.
A simple link element can be used to implement pointer functionality, and this functionality has been built into various GML 3 elements by including the gml:AssociationAttributeGroup.</documentation>
</annotation>
</attributeGroup>
</complexType>
<!-- =========================================================== -->
<!--
The following types and elements are deprecated and should not be used !
For backward compatibility with GML2 only
-->
<!-- =========================================================== -->
<element name="MultiPolygon" type="gml:MultiPolygonType" substitutionGroup="gml:_GeometricAggregate">
<annotation>
<documentation>Deprecated with GML 3.0 and included for backwards compatibility with GML 2. Use the "MultiSurface" element instead.</documentation>
</annotation>
</element>
<!-- =========================================================== -->
<element name="MultiLineString" type="gml:MultiLineStringType" substitutionGroup="gml:_GeometricAggregate">
<annotation>
<documentation>Deprecated with GML 3.0 and included for backwards compatibility with GML 2. Use the "MultiCurve" element instead.</documentation>
</annotation>
</element>
<!-- =========================================================== -->
<complexType name="MultiLineStringType">
<annotation>
<documentation>A MultiLineString is defined by one or more LineStrings, referenced through lineStringMember elements. Deprecated with GML version 3.0. Use MultiCurveType instead.</documentation>
</annotation>
<complexContent>
<extension base="gml:AbstractGeometricAggregateType">
<sequence>
<element ref="gml:lineStringMember" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
<!-- =========================================================== -->
<complexType name="MultiLineStringPropertyType">
<annotation>
<documentation>This type is deprecated with GML 3 and shall not be used. It is included for backwards compatibility with GML 2. Use MultiCurvePropertyType instead.
A property that has a collection of line strings as its value domain can 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 must be given, but neither both nor none.</documentation>
</annotation>
<sequence minOccurs="0">
<element ref="gml:MultiLineString"/>
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup">
<annotation>
<documentation>This attribute group includes the XLink attributes (see xlinks.xsd). XLink is used in GML to reference remote resources (including those elsewhere in the same document). A simple link element can be constructed by including a specific set of XLink attributes. The XML Linking Language (XLink) is currently a Proposed Recommendation of the World Wide Web Consortium. XLink allows elements to be inserted into XML documents so as to create sophisticated links between resources; such links can be used to reference remote properties.
A simple link element can be used to implement pointer functionality, and this functionality has been built into various GML 3 elements by including the gml:AssociationAttributeGroup.</documentation>
</annotation>
</attributeGroup>
</complexType>
<!-- =========================================================== -->
<complexType name="MultiPolygonType">
<annotation>
<documentation>A MultiPolygon is defined by one or more Polygons, referenced through polygonMember elements. Deprecated with GML version 3.0. Use MultiSurfaceType instead.</documentation>
</annotation>
<complexContent>
<extension base="gml:AbstractGeometricAggregateType">
<sequence>
<element ref="gml:polygonMember" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
<!-- =========================================================== -->
<complexType name="MultiPolygonPropertyType">
<annotation>
<documentation>This type is deprecated with GML 3 and shall not be used. It is included for backwards compatibility with GML 2. Use MultiSurfacePropertyType instead.
A property that has a collection of polygons as its value domain can 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 must be given, but neither both nor none.</documentation>
</annotation>
<sequence minOccurs="0">
<element ref="gml:MultiPolygon"/>
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup">
<annotation>
<documentation>This attribute group includes the XLink attributes (see xlinks.xsd). XLink is used in GML to reference remote resources (including those elsewhere in the same document). A simple link element can be constructed by including a specific set of XLink attributes. The XML Linking Language (XLink) is currently a Proposed Recommendation of the World Wide Web Consortium. XLink allows elements to be inserted into XML documents so as to create sophisticated links between resources; such links can be used to reference remote properties.
A simple link element can be used to implement pointer functionality, and this functionality has been built into various GML 3 elements by including the gml:AssociationAttributeGroup.</documentation>
</annotation>
</attributeGroup>
</complexType>
<!-- =========================================================== -->
<!-- =========================================================== -->
<element name="geometryMember" type="gml:GeometryPropertyType">
<annotation>
<documentation>This property element either references a geometry element via the XLink-attributes or contains the geometry element.</documentation>
</annotation>
</element>
<element name="geometryMembers" type="gml:GeometryArrayPropertyType">
<annotation>
<documentation>This property element contains a list of geometry elements. The order of the elements is significant and shall be preserved when processing the array.</documentation>
</annotation>
</element>
<element name="pointMember" type="gml:PointPropertyType">
<annotation>
<documentation>This property element either references a Point via the XLink-attributes or contains the Point element.</documentation>
</annotation>
</element>
<element name="pointMembers" type="gml:PointArrayPropertyType">
<annotation>
<documentation>This property element contains a list of points. The order of the elements is significant and shall be preserved when processing the array.</documentation>
</annotation>
</element>
<element name="curveMembers" type="gml:CurveArrayPropertyType">
<annotation>
<documentation>This property element contains a list of curves. The order of the elements is significant and shall be preserved when processing the array.</documentation>
</annotation>
</element>
<element name="surfaceMember" type="gml:SurfacePropertyType">
<annotation>
<documentation>This property element either references a surface via the XLink-attributes or contains the surface element. A surface element is any element which is substitutable for "_Surface".</documentation>
</annotation>
</element>
<element name="surfaceMembers" type="gml:SurfaceArrayPropertyType">
<annotation>
<documentation>This property element contains a list of surfaces. The order of the elements is significant and shall be preserved when processing the array.</documentation>
</annotation>
</element>
<element name="solidMember" type="gml:SolidPropertyType">
<annotation>
<documentation>This property element either references a solid via the XLink-attributes or contains the solid element. A solid element is any element which is substitutable for "_Solid".</documentation>
</annotation>
</element>
<element name="solidMembers" type="gml:SolidArrayPropertyType">
<annotation>
<documentation>This property element contains a list of solids. The order of the elements is significant and shall be preserved when processing the array.</documentation>
</annotation>
</element>
<!-- some named geometry properties - for backward compatibility with GML2 -->
<element name="multiCenterOf" type="gml:MultiPointPropertyType"/>
<element name="multiPosition" type="gml:MultiPointPropertyType"/>
<element name="multiCenterLineOf" type="gml:MultiCurvePropertyType"/>
<element name="multiEdgeOf" type="gml:MultiCurvePropertyType"/>
<element name="multiCoverage" type="gml:MultiSurfacePropertyType"/>
<element name="multiExtentOf" type="gml:MultiSurfacePropertyType"/>
<!--
The following types and elements are deprecated and should not be used !
-->
<element name="multiLocation" type="gml:MultiPointPropertyType">
<annotation>
<appinfo>deprecated</appinfo>
<documentation>Deprecated with GML 3.0 and included only for backwards compatibility with GML 2.0. Use "curveMember" instead.
This property element either references a line string via the XLink-attributes or contains the line string element.</documentation>
</annotation>
</element>
<element name="lineStringMember" type="gml:LineStringPropertyType">
<annotation>
<appinfo>deprecated</appinfo>
<documentation>Deprecated with GML 3.0 and included only for backwards compatibility with GML 2.0. Use "curveMember" instead.
This property element either references a line string via the XLink-attributes or contains the line string element.</documentation>
</annotation>
</element>
<element name="polygonMember" type="gml:PolygonPropertyType">
<annotation>
<appinfo>deprecated</appinfo>
<documentation>Deprecated with GML 3.0 and included only for backwards compatibility with GML 2.0. Use "surfaceMember" instead.
This property element either references a polygon via the XLink-attributes or contains the polygon element.</documentation>
</annotation>
</element>
<!-- =========================================================== -->
</schema>
|