Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<schema targetNamespace="http://www.opengis.net/gml" xmlns:gml="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" elementFormDefault="qualified" version="3.1.1.2">
3
	<annotation>
4
		<appinfo source="urn:opengis:specification:gml:schema-xsd:grids:3.1.1">grids.xsd</appinfo>
5
		<documentation xml:lang="en">Grid geometries
6
    A subset of implicit geometries
7
    Designed for use with GML Coverage schema, but maybe useful elsewhere as well.
8
    
9
    GML is an OGC Standard.
10
    Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
11
    To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
12
		</documentation>
13
	</annotation>
14
	<!-- ==============================================================
15
       includes and imports
16
	============================================================== -->
17
	<include schemaLocation="gml.xsd"/>
18
	<include schemaLocation="geometryBasic0d1d.xsd"/>
19
	<!-- ==============================================================
20
       global elements
21
	============================================================== -->
22
	<element name="_ImplicitGeometry" type="gml:AbstractGeometryType" abstract="true" substitutionGroup="gml:_Geometry"/>
23
	<!-- =========================================================== -->
24
	<element name="Grid" type="gml:GridType" substitutionGroup="gml:_ImplicitGeometry"/>
25
	<!-- =========================================================== -->
26
	<complexType name="GridType">
27
		<annotation>
28
			<documentation>An unrectified grid, which is a network composed of two or more sets of equally spaced parallel lines in which the members of each set intersect the members of the other sets at right angles.</documentation>
29
		</annotation>
30
		<complexContent>
31
			<extension base="gml:AbstractGeometryType">
32
				<sequence>
33
					<element name="limits" type="gml:GridLimitsType"/>
34
					<element name="axisName" type="string" maxOccurs="unbounded"/>
35
				</sequence>
36
				<attribute name="dimension" type="positiveInteger" use="required"/>
37
			</extension>
38
		</complexContent>
39
	</complexType>
40
	<!-- =========================================================== -->
41
	<complexType name="GridLimitsType">
42
		<sequence>
43
			<element name="GridEnvelope" type="gml:GridEnvelopeType"/>
44
		</sequence>
45
	</complexType>
46
	<!-- =========================================================== -->
47
	<complexType name="GridEnvelopeType">
48
		<annotation>
49
			<documentation>Provides grid coordinate values for the diametrically opposed corners of an envelope that bounds a section of grid. The value of a single coordinate is the number of offsets from the origin of the grid in the direction of a specific axis.</documentation>
50
		</annotation>
51
		<sequence>
52
			<element name="low" type="gml:integerList"/>
53
			<element name="high" type="gml:integerList"/>
54
		</sequence>
55
	</complexType>
56
	<!-- =========================================================== -->
57
	<element name="RectifiedGrid" type="gml:RectifiedGridType" substitutionGroup="gml:_ImplicitGeometry">
58
		<annotation>
59
			<documentation>Should be substitutionGroup="gml:Grid" but changed in order to accomplish Xerces-J schema validation</documentation>
60
		</annotation>
61
	</element>
62
	<!-- =========================================================== -->
63
	<complexType name="RectifiedGridType">
64
		<annotation>
65
			<documentation>A rectified grid has an origin and vectors that define its post locations.</documentation>
66
		</annotation>
67
		<complexContent>
68
			<extension base="gml:GridType">
69
				<sequence>
70
					<element name="origin" type="gml:PointPropertyType"/>
71
					<element name="offsetVector" type="gml:VectorType" maxOccurs="unbounded"/>
72
				</sequence>
73
			</extension>
74
		</complexContent>
75
	</complexType>
76
	<!-- =========================================================== -->
77
</schema>
(20-20/29)