Project

General

Profile

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.2">
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.
10
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
11
		</documentation>
12
	</annotation>
13
	<include schemaLocation="gml.xsd"/>
14
	<include schemaLocation="geometryAggregates.xsd"/>
15
	<include schemaLocation="temporal.xsd"/>
16
	<complexType name="AbstractFeatureType" abstract="true">
17
		<annotation>
18
			<documentation>The basic feature model is given by the gml:AbstractFeatureType.
19
The content model for gml:AbstractFeatureType adds two specific properties suitable for geographic features to the content model defined in gml:AbstractGMLType. 
20
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. 
21
The value of the gml:location property describes the extent, position or relative location of the feature.</documentation>
22
		</annotation>
23
		<complexContent>
24
			<extension base="gml:AbstractGMLType">
25
				<sequence>
26
					<element ref="gml:boundedBy" minOccurs="0"/>
27
					<element ref="gml:location" minOccurs="0"/>
28
				</sequence>
29
			</extension>
30
		</complexContent>
31
	</complexType>
32
	<element name="AbstractFeature" type="gml:AbstractFeatureType" abstract="true" substitutionGroup="gml:AbstractGML">
33
		<annotation>
34
			<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.  
35
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>
36
		</annotation>
37
	</element>
38
	<complexType name="FeaturePropertyType">
39
		<sequence minOccurs="0">
40
			<element ref="gml:AbstractFeature"/>
41
		</sequence>
42
		<attributeGroup ref="gml:OwnershipAttributeGroup"/>
43
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
44
	</complexType>
45
	<element name="boundedBy" type="gml:BoundingShapeType" nillable="true">
46
		<annotation>
47
			<documentation>This property describes the minimum bounding box or rectangle that encloses the entire feature.</documentation>
48
		</annotation>
49
	</element>
50
	<complexType name="BoundingShapeType">
51
		<sequence>
52
			<choice>
53
				<element ref="gml:Envelope"/>
54
				<element ref="gml:Null"/>
55
			</choice>
56
		</sequence>
57
		<attribute name="nilReason" type="gml:NilReasonType"/>
58
	</complexType>
59
	<element name="EnvelopeWithTimePeriod" type="gml:EnvelopeWithTimePeriodType" substitutionGroup="gml:Envelope">
60
		<annotation>
61
			<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.  
62
Since gml:EnvelopeWithTimePeriod is assigned to the substitution group headed by gml:Envelope, it may be used whenever gml:Envelope is valid.</documentation>
63
		</annotation>
64
	</element>
65
	<complexType name="EnvelopeWithTimePeriodType">
66
		<complexContent>
67
			<extension base="gml:EnvelopeType">
68
				<sequence>
69
					<element name="beginPosition" type="gml:TimePositionType"/>
70
					<element name="endPosition" type="gml:TimePositionType"/>
71
				</sequence>
72
				<attribute name="frame" type="anyURI" default="#ISO-8601"/>
73
			</extension>
74
		</complexContent>
75
	</complexType>
76
	<element name="locationName" type="gml:CodeType">
77
		<annotation>
78
			<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>
79
		</annotation>
80
	</element>
81
	<element name="locationReference" type="gml:ReferenceType">
82
		<annotation>
83
			<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>
84
		</annotation>
85
	</element>
86
	<complexType name="AbstractFeatureMemberType" abstract="true">
87
		<annotation>
88
			<documentation>To create a collection of GML features, a property type shall be derived by extension from gml:AbstractFeatureMemberType.
89
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>
90
		</annotation>
91
		<sequence/>
92
		<attributeGroup ref="gml:OwnershipAttributeGroup"/>
93
	</complexType>
94
</schema>
(13-13/30)