1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<schema targetNamespace="http://www.opengis.net/gml/3.2" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.2.1 2010-01-28">
|
3
|
<annotation>
|
4
|
<appinfo source="urn:x-ogc:specification:gml:schema-xsd:feature:3.2.1">feature.xsd</appinfo>
|
5
|
<documentation>See ISO/DIS 19136 Clause 9.
|
6
|
A GML feature is a (representation of a) identifiable real-world object in a selected domain of discourse. The feature schema provides a framework for the creation of GML features and feature collections.
|
7
|
|
8
|
GML is an OGC Standard.
|
9
|
Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved.
|
10
|
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
|
11
|
</documentation>
|
12
|
</annotation>
|
13
|
<include schemaLocation="geometryAggregates.xsd"/>
|
14
|
<include schemaLocation="temporal.xsd"/>
|
15
|
<complexType name="AbstractFeatureType" abstract="true">
|
16
|
<annotation>
|
17
|
<documentation>The basic feature model is given by the gml:AbstractFeatureType.
|
18
|
The content model for gml:AbstractFeatureType adds two specific properties suitable for geographic features to the content model defined in gml:AbstractGMLType.
|
19
|
The value of the gml:boundedBy property describes an envelope that encloses the entire feature instance, and is primarily useful for supporting rapid searching for features that occur in a particular location.
|
20
|
The value of the gml:location property describes the extent, position or relative location of the feature.</documentation>
|
21
|
</annotation>
|
22
|
<complexContent>
|
23
|
<extension base="gml:AbstractGMLType">
|
24
|
<sequence>
|
25
|
<element ref="gml:boundedBy" minOccurs="0"/>
|
26
|
<element ref="gml:location" minOccurs="0"/>
|
27
|
</sequence>
|
28
|
</extension>
|
29
|
</complexContent>
|
30
|
</complexType>
|
31
|
<element name="AbstractFeature" type="gml:AbstractFeatureType" abstract="true" substitutionGroup="gml:AbstractGML">
|
32
|
<annotation>
|
33
|
<documentation>This abstract element serves as the head of a substitution group which may contain any elements whose content model is derived from gml:AbstractFeatureType. This may be used as a variable in the construction of content models.
|
34
|
gml:AbstractFeature may be thought of as "anything that is a GML feature" and may be used to define variables or templates in which the value of a GML property is "any feature". This occurs in particular in a GML feature collection where the feature member properties contain one or multiple copies of gml:AbstractFeature respectively.</documentation>
|
35
|
</annotation>
|
36
|
</element>
|
37
|
<complexType name="FeaturePropertyType">
|
38
|
<sequence minOccurs="0">
|
39
|
<element ref="gml:AbstractFeature"/>
|
40
|
</sequence>
|
41
|
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
|
42
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
43
|
</complexType>
|
44
|
<element name="boundedBy" type="gml:BoundingShapeType" nillable="true">
|
45
|
<annotation>
|
46
|
<documentation>This property describes the minimum bounding box or rectangle that encloses the entire feature.</documentation>
|
47
|
</annotation>
|
48
|
</element>
|
49
|
<complexType name="BoundingShapeType">
|
50
|
<sequence>
|
51
|
<choice>
|
52
|
<element ref="gml:Envelope"/>
|
53
|
<element ref="gml:Null"/>
|
54
|
</choice>
|
55
|
</sequence>
|
56
|
<attribute name="nilReason" type="gml:NilReasonType"/>
|
57
|
</complexType>
|
58
|
<element name="EnvelopeWithTimePeriod" type="gml:EnvelopeWithTimePeriodType" substitutionGroup="gml:Envelope">
|
59
|
<annotation>
|
60
|
<documentation>gml:EnvelopeWithTimePeriod is provided for envelopes that include a temporal extent. It adds two time position properties, gml:beginPosition and gml:endPosition, which describe the extent of a time-envelope.
|
61
|
Since gml:EnvelopeWithTimePeriod is assigned to the substitution group headed by gml:Envelope, it may be used whenever gml:Envelope is valid.</documentation>
|
62
|
</annotation>
|
63
|
</element>
|
64
|
<complexType name="EnvelopeWithTimePeriodType">
|
65
|
<complexContent>
|
66
|
<extension base="gml:EnvelopeType">
|
67
|
<sequence>
|
68
|
<element name="beginPosition" type="gml:TimePositionType"/>
|
69
|
<element name="endPosition" type="gml:TimePositionType"/>
|
70
|
</sequence>
|
71
|
<attribute name="frame" type="anyURI" default="#ISO-8601"/>
|
72
|
</extension>
|
73
|
</complexContent>
|
74
|
</complexType>
|
75
|
<element name="locationName" type="gml:CodeType">
|
76
|
<annotation>
|
77
|
<documentation>The gml:locationName property element is a convenience property where the text value describes the location of the feature. If the location names are selected from a controlled list, then the list shall be identified in the codeSpace attribute.</documentation>
|
78
|
</annotation>
|
79
|
</element>
|
80
|
<element name="locationReference" type="gml:ReferenceType">
|
81
|
<annotation>
|
82
|
<documentation>The gml:locationReference property element is a convenience property where the text value referenced by the xlink:href attribute describes the location of the feature.</documentation>
|
83
|
</annotation>
|
84
|
</element>
|
85
|
<complexType name="AbstractFeatureMemberType" abstract="true">
|
86
|
<annotation>
|
87
|
<documentation>To create a collection of GML features, a property type shall be derived by extension from gml:AbstractFeatureMemberType.
|
88
|
By default, this abstract property type does not imply any ownership of the features in the collection. The owns attribute of gml:OwnershipAttributeGroup may be used on a property element instance to assert ownership of a feature in the collection. A collection shall not own a feature already owned by another object.</documentation>
|
89
|
</annotation>
|
90
|
<sequence/>
|
91
|
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
|
92
|
</complexType>
|
93
|
</schema>
|