Statistics
| Revision:

root / trunk / libraries / libGPE-GML / testdata / schemas / 3.1.1 / base / grids.xsd @ 11160

History | View | Annotate | Download (3.7 KB)

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">
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
    Copyright (c) 2002-2005 OGC, All Rights Reserved.
10
	For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
11
	</annotation>
12
	<!-- ==============================================================
13
       includes and imports
14
	============================================================== -->
15
	<include schemaLocation="geometryBasic0d1d.xsd"/>
16
	<!-- ==============================================================
17
       global elements
18
	============================================================== -->
19
	<element name="_ImplicitGeometry" type="gml:AbstractGeometryType" abstract="true" substitutionGroup="gml:_Geometry"/>
20
	<!-- =========================================================== -->
21
	<element name="Grid" type="gml:GridType" substitutionGroup="gml:_ImplicitGeometry"/>
22
	<!-- =========================================================== -->
23
	<complexType name="GridType">
24
		<annotation>
25
			<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>
26
		</annotation>
27
		<complexContent>
28
			<extension base="gml:AbstractGeometryType">
29
				<sequence>
30
					<element name="limits" type="gml:GridLimitsType"/>
31
					<element name="axisName" type="string" maxOccurs="unbounded"/>
32
				</sequence>
33
				<attribute name="dimension" type="positiveInteger" use="required"/>
34
			</extension>
35
		</complexContent>
36
	</complexType>
37
	<!-- =========================================================== -->
38
	<complexType name="GridLimitsType">
39
		<sequence>
40
			<element name="GridEnvelope" type="gml:GridEnvelopeType"/>
41
		</sequence>
42
	</complexType>
43
	<!-- =========================================================== -->
44
	<complexType name="GridEnvelopeType">
45
		<annotation>
46
			<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>
47
		</annotation>
48
		<sequence>
49
			<element name="low" type="gml:integerList"/>
50
			<element name="high" type="gml:integerList"/>
51
		</sequence>
52
	</complexType>
53
	<!-- =========================================================== -->
54
	<element name="RectifiedGrid" type="gml:RectifiedGridType" substitutionGroup="gml:_ImplicitGeometry">
55
		<annotation>
56
			<documentation>Should be substitutionGroup="gml:Grid" but changed in order to accomplish Xerces-J schema validation</documentation>
57
		</annotation>
58
	</element>
59
	<!-- =========================================================== -->
60
	<complexType name="RectifiedGridType">
61
		<annotation>
62
			<documentation>A rectified grid has an origin and vectors that define its post locations.</documentation>
63
		</annotation>
64
		<complexContent>
65
			<extension base="gml:GridType">
66
				<sequence>
67
					<element name="origin" type="gml:PointPropertyType"/>
68
					<element name="offsetVector" type="gml:VectorType" maxOccurs="unbounded"/>
69
				</sequence>
70
			</extension>
71
		</complexContent>
72
	</complexType>
73
	<!-- =========================================================== -->
74
</schema>