1 |
9559
|
tao
|
<?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:opengis:specification:gml:schema-xsd:dictionary:v3.2.1">dictionary.xsd</appinfo>
|
5 |
|
|
<documentation>See ISO/DIS 19136 Clause 16.
|
6 |
|
|
Many applications require definitions of terms which are used within instance documents as the values of certain properties or as reference information to tie properties to standard information values in some way. Units of measure and descriptions of measurable phenomena are two particular examples.
|
7 |
|
|
It will often be convenient to use definitions provided by external authorities. These may already be packaged for delivery in various ways, both online and offline. In order that they may be referred to from GML documents it is generally necessary that a URI be available for each definition. Where this is the case then it is usually preferable to refer to these directly.
|
8 |
|
|
Alternatively, it may be convenient or necessary to capture definitions in XML, either embedded within an instance document containing features or as a separate document. The definitions may be transcriptions from an external source, or may be new definitions for a local purpose. In order to support this case, some simple components are provided in GML in the form of
|
9 |
|
|
- a generic gml:Definition, which may serve as the basis for more specialized definitions
|
10 |
|
|
- a generic gml:Dictionary, which allows a set of definitions or references to definitions to be collected
|
11 |
|
|
These components may be used directly, but also serve as the basis for more specialised definition elements in GML, in particular: coordinate operations, coordinate reference systems, datums, temporal reference systems, and units of measure.
|
12 |
|
|
Note that the GML definition and dictionary components implement a simple nested hierarchy of definitions with identifiers. The latter provide handles which may be used in the description of more complex relationships between terms. However, the GML dictionary components are not intended to provide direct support for complex taxonomies, ontologies or thesauri. Specialised XML tools are available to satisfy the more sophisticated requirements.
|
13 |
|
|
|
14 |
|
|
GML is an OGC Standard.
|
15 |
|
|
Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved.
|
16 |
|
|
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
|
17 |
|
|
</documentation>
|
18 |
|
|
</annotation>
|
19 |
|
|
<include schemaLocation="gmlBase.xsd"/>
|
20 |
|
|
<element name="Definition" type="gml:DefinitionType" substitutionGroup="gml:AbstractGML">
|
21 |
|
|
<annotation>
|
22 |
|
|
<documentation>The basic gml:Definition element specifies a definition, which can be included in or referenced by a dictionary.
|
23 |
|
|
The content model for a generic definition is a derivation from gml:AbstractGMLType.
|
24 |
|
|
The gml:description property element shall hold the definition if this can be captured in a simple text string, or the gml:descriptionReference property element may carry a link to a description elsewhere.
|
25 |
|
|
The gml:identifier element shall provide one identifier identifying this definition. The identifier shall be unique within the dictionaries using this definition.
|
26 |
|
|
The gml:name elements shall provide zero or more terms and synonyms for which this is the definition.
|
27 |
|
|
The gml:remarks element shall be used to hold additional textual information that is not conceptually part of the definition but is useful in understanding the definition.</documentation>
|
28 |
|
|
</annotation>
|
29 |
|
|
</element>
|
30 |
|
|
<complexType name="DefinitionBaseType">
|
31 |
|
|
<complexContent>
|
32 |
|
|
<restriction base="gml:AbstractGMLType">
|
33 |
|
|
<sequence>
|
34 |
|
|
<element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
|
35 |
|
|
<element ref="gml:description" minOccurs="0"/>
|
36 |
|
|
<element ref="gml:descriptionReference" minOccurs="0"/>
|
37 |
|
|
<element ref="gml:identifier"/>
|
38 |
|
|
<element ref="gml:name" minOccurs="0" maxOccurs="unbounded"/>
|
39 |
|
|
</sequence>
|
40 |
|
|
<attribute ref="gml:id" use="required"/>
|
41 |
|
|
</restriction>
|
42 |
|
|
</complexContent>
|
43 |
|
|
</complexType>
|
44 |
|
|
<complexType name="DefinitionType">
|
45 |
|
|
<complexContent>
|
46 |
|
|
<extension base="gml:DefinitionBaseType">
|
47 |
|
|
<sequence>
|
48 |
|
|
<element ref="gml:remarks" minOccurs="0"/>
|
49 |
|
|
</sequence>
|
50 |
|
|
</extension>
|
51 |
|
|
</complexContent>
|
52 |
|
|
</complexType>
|
53 |
|
|
<element name="remarks" type="string"/>
|
54 |
|
|
<element name="Dictionary" type="gml:DictionaryType" substitutionGroup="gml:Definition">
|
55 |
|
|
<annotation>
|
56 |
|
|
<documentation>Sets of definitions may be collected into dictionaries or collections.
|
57 |
|
|
A gml:Dictionary is a non-abstract collection of definitions.
|
58 |
|
|
The gml:Dictionary content model adds a list of gml:dictionaryEntry properties that contain or reference gml:Definition objects. A database handle (gml:id attribute) is required, in order that this collection may be referred to. The standard gml:identifier, gml:description, gml:descriptionReference and gml:name properties are available to reference or contain more information about this dictionary. The gml:description and gml:descriptionReference property elements may be used for a description of this dictionary. The derived gml:name element may be used for the name(s) of this dictionary. for remote definiton references gml:dictionaryEntry shall be used. If a Definition object contained within a Dictionary uses the descriptionReference property to refer to a remote definition, then this enables the inclusion of a remote definition in a local dictionary, giving a handle and identifier in the context of the local dictionary.</documentation>
|
59 |
|
|
</annotation>
|
60 |
|
|
</element>
|
61 |
|
|
<complexType name="DictionaryType">
|
62 |
|
|
<complexContent>
|
63 |
|
|
<extension base="gml:DefinitionType">
|
64 |
|
|
<choice minOccurs="0" maxOccurs="unbounded">
|
65 |
|
|
<element ref="gml:dictionaryEntry"/>
|
66 |
|
|
<element ref="gml:indirectEntry"/>
|
67 |
|
|
</choice>
|
68 |
|
|
<attributeGroup ref="gml:AggregationAttributeGroup"/>
|
69 |
|
|
</extension>
|
70 |
|
|
</complexContent>
|
71 |
|
|
</complexType>
|
72 |
|
|
<element name="dictionaryEntry" type="gml:DictionaryEntryType">
|
73 |
|
|
<annotation>
|
74 |
|
|
<documentation>This property element contains or refers to the definitions which are members of a dictionary.
|
75 |
|
|
The content model follows the standard GML property pattern, so a gml:dictionaryEntry may either contain or refer to a single gml:Definition. Since gml:Dictionary is substitutable for gml:Definition, the content of an entry may itself be a lower level dictionary.
|
76 |
|
|
Note that if the value is provided by reference, this definition does not carry a handle (gml:id) in this context, so does not allow external references to this specific definition in this context. When used in this way the referenced definition will usually be in a dictionary in the same XML document.</documentation>
|
77 |
|
|
</annotation>
|
78 |
|
|
</element>
|
79 |
|
|
<complexType name="DictionaryEntryType">
|
80 |
|
|
<complexContent>
|
81 |
|
|
<extension base="gml:AbstractMemberType">
|
82 |
|
|
<sequence minOccurs="0">
|
83 |
|
|
<element ref="gml:Definition"/>
|
84 |
|
|
</sequence>
|
85 |
|
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
86 |
|
|
</extension>
|
87 |
|
|
</complexContent>
|
88 |
|
|
</complexType>
|
89 |
|
|
</schema>
|