1、 ISO 2012 Geographic information Metadata XML schema implementation Part 2: Extensions for imagery and gridded data Information gographique Mtadonnes Mise en oeuvre par des schmas XML Partie 2: Extension pour limagerie et les donnes mailles TECHNICAL SPECIFICATION ISO/TS 19139-2 First edition 2012-1
2、2-15 Reference number ISO/TS 19139-2:2012(E) ISO/TS 19139-2:2012(E)ii ISO 2012 All rights reserved COPYRIGHT PROTECTED DOCUMENT ISO 2012 All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, i
3、ncluding photocopying and microfilm, without permission in writing from either ISO at the address below or ISOs member body in the country of the requester. ISO copyright office Case postale 56 CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.org Web www.iso.org Pub
4、lished in Switzerland ISO/TS 19139-2:2012(E) ISO 2012 All rights reserved iii Contents Page Foreword iv Introduction v 1 Scope . 1 2 Conformance . 1 3 Normative references 1 4 T erms and definitions . 1 5 Symbols and abbreviated terms . 2 5.1 Abbreviations . 2 5.2 UML model stereotypes. 2 6 XML Sche
5、ma requirements 3 6.1 Introduction 3 6.2 XML namespaces . 3 6.3 gmi namespace . 4 7 XML document requirements . 9 7.1 Introduction 9 7.2 XML document and gmi namespace . 9 7.3 XML validation 9 7.4 Requirements not enforceable with XML Schema . 9 7.5 By-value or by-reference or expressing a NULL reas
6、on .10 7.6 ISO 19115-2 completeness 10 Annex A (normative) Abstract test suite .11 Annex B (informative) XML Resources related to Geographic Metadata for imagery and gridded data .14 Annex C (informative) Implementation examples 15 ISO/TS 19139-2:2012(E) Foreword ISO (the International Organization
7、for Standardization) is a worldwide federation of national standards bodies (ISO member bodies). The work of preparing International Standards is normally carried out through ISO technical committees. Each member body interested in a subject for which a technical committee has been established has t
8、he right to be represented on that committee. International organizations, governmental and non-governmental, in liaison with ISO, also take part in the work. ISO collaborates closely with the International Electrotechnical Commission (IEC) on all matters of electrotechnical standardization. Interna
9、tional Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2. The main task of technical committees is to prepare International Standards. Draft International Standards adopted by the technical committees are circulated to the member bodies for voting. Publicatio
10、n as an International Standard requires approval by at least 75 % of the member bodies casting a vote. In other circumstances, particularly when there is an urgent market requirement for such documents, a technical committee may decide to publish other types of normative document: an ISO Publicly Av
11、ailable Specification (ISO/PAS) represents an agreement between technical experts in an ISO working group and is accepted for publication if it is approved by more than 50 % of the members of the parent committee casting a vote; an ISO Technical Specification (ISO/TS) represents an agreement between
12、 the members of a technical committee and is accepted for publication if it is approved by 2/3 of the members of the committee casting a vote. An ISO/PAS or ISO/TS is reviewed after three years in order to decide whether it will be confirmed for a further three years, revised to become an Internatio
13、nal Standard, or withdrawn. If the ISO/PAS or ISO/TS is confirmed, it is reviewed again after a further three years, at which time it must either be transformed into an International Standard or be withdrawn. Attention is drawn to the possibility that some of the elements of this document may be the
14、 subject of patent rights. ISO shall not be held responsible for identifying any or all such patent rights. ISO/TS 19139-2 was prepared by Technical Committee ISO/TC 211, Geographic information/Geomatics. ISO/TS 19139 consists of the following parts, under the general title Geographic information Me
15、tadata XML schema implementation: Part 1: Geographic information Metadata XML schema implementation Part 2: Extensions for imagery and gridded dataiv ISO 2012 All rights reserved ISO/TS 19139-2:2012(E) Introduction The importance of metadata describing digital geographic data is explained in detail
16、in the text of ISO 19115 and in the text of ISO 19115-2 (for imagery and gridded data). ISO 19115 and ISO 19115-2 are abstract in that they provide a worldwide view of metadata relative to geographic information, but no encoding. Since ISO 19115 does not provide any encoding, implementation of geogr
17、aphic information metadata could vary based on the interpretation of metadata producers. In an attempt to facilitate the standardization of implementations, ISO/TS 19139 provides a definitive, rule-based encoding for carrying out ISO 19115. ISO/TS 19139 provides Extensible Markup Language (XML) sche
18、mas that are meant to enhance interoperability by providing a common specification for describing, validating and exchanging metadata about geographic datasets, dataset series, individual geographic features, feature attributes, feature types, feature properties, etc. This Technical Specification ut
19、ilizes ISO/TS 19139 specification and extends it to define XML Schema implementation for ISO 19115-2. It provides a definitive, rule-based encoding for carrying out ISO 19115-2. ISO 2012 All rights reserved v Geographic information Metadata XML schema implementation Part 2: Extensions for imagery an
20、d gridded data 1 Scope This Technical Specification defines Geographic Metadata for imagery and gridded data (gmi) encoding. This is an XML Schema implementation derived from ISO 19115-2. 2 Conformance The framework, concepts, and methodology for testing, and the criteria to be achieved to claim con
21、formance, are specified in ISO 19105. Conformance to this specification may apply to: a) a candidate XML Schema implementation of ISO 19115-2 which shall pass the test module defined in A.2; b) an XML document containing XML fragments referring to an XML Schema implementation of ISO 19115-2 conforma
22、nt to this Technical Specification. Such an XML document shall pass the module defined in A.3. 3 Normative references The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated references, the latest ed
23、ition of the referenced document (including any amendments) applies. ISO 19105:2000, Geographic information Conformance and testing ISO 19107:2003, Geographic information Spatial schema ISO 19115:2003, Geographic information Metadata ISO 19115:2003/Cor.1:2006, Geographic information Metadata Technic
24、al Corrigendum 1 ISO 19115-2:2009, Geographic information Metadata Part 2: Extensions for imagery and gridded data ISO 19136:2007, Geographic information Geography Markup Language (GML) ISO/TS 19139:2007, Geographic information Metadata XML schema implementation W3C XML, Extensible Markup Language (
25、XML) 1.0 (Second Edition), W3C Recommendation (6 October 2000) W3C XML Schema Part 1, XML Schema Part 1: Structures. W3C Recommendation (2 May 2001) W3C XML Schema Part 2, XML Schema Part 2: Datatypes. W3C Recommendation (2 May 2001) 4 T erms an d definiti ons For the purposes of this document, the
26、following terms and definitions apply. TECHNICAL SPECIFICATION ISO/TS 19139-2:2012(E) ISO 2012 All rights reserved 1 ISO/TS 19139-2:2012(E) 4.1 document well-formed data object SOURCE: W3C XML 4.2 schema document XML document (4.1) containing schema component definitions and declarations Note 1 to e
27、ntry: The W3C XML Schema provides an XML interchange format for schema information. A single schema document provides descriptions of components associated with a single XML namespace, but several documents may describe components in the same schema, i.e. the same target namespace. SOURCE: ISO 19136
28、:2007, 4.1.55 4.3 namespace collection of names, identified by a URI reference, which are used in XML documents (4.1) as element names and attribute names SOURCE: W3C XML 4.4 package general purpose mechanism for organizing elements into groups SOURCE: ISO/TS 19103:2005, 4.2.22 EXAMPLE Identificatio
29、n information, Metadata entity set information, Constraint information. 5 Symbols and abbreviated terms 5.1 Abbreviations UML Unified Modelling Language URI Unique Resource Identifier XML eXtensible Markup Language XCGE XML Class Global Element XSD XML Schema Definition 5.2 UML model stereotypes A U
30、ML stereotype is an extension mechanism for existing UML concepts (see ISO 19115-2. In addition to the stereotypes already defined in ISO 19115-2 for describing metadata, this Technical Specification uses stereotypes defined in ISO/TS 19139 which are necessary for a rules-based encoding into XML Sch
31、ema. The elements of the UML diagrams depicted in this Technical Specification can carry stereotypes specifying an XML implementation. Those stereotypes are carried by classes representing XML elements or XML types, UML attributes, UML links (realizations or dependencies) and UML packages. In this T
32、echnical Specification the following Stereotypes of classes are used: a) : The class represents an XML global element.2 ISO 2012 All rights reserved ISO/TS 19139-2:2012(E) In this Technical Specification the following Stereotypes of links are used: b) : (carried by realization relationships). The XC
33、GE of the abstract concept to implement is substituted by the specified external implementation. c) : (carried by dependency relationships). The source represents an XML schema implementing the abstract concepts defined in the target. d) : (carried by dependency relationships). The source and the ta
34、rget represent XML schemas. The source includes () the target. e) : (carried by dependency relationships). The source and the target represent sets of XML objects grouped within the same namespace. The source imports () the target. In this Technical Specification the following Stereotypes of package
35、s are used: f) : The package represents an XML schema. g) : T he pack a ge r epr e sent s a se t of X ML obje c t s g r oupe d w it h i n t he s a me n a me s pac e . 6 XML Schema requirements 6.1 Introduction This XML Schema implementation of ISO 19115-2 follows the encoding rules stated in ISO/TS
36、19139:2007, Clause 8. Its specificity (particularly, the exceptions and the implementations based on external types) is detailed in this clause, using the UML notation commonly used in the ISO 191nn family of International Standards and the specific notations defined in ISO/TS 19139:2007, 5.4. 6.2 X
37、ML namespaces In the list below, the item on the left describes the namespace prefix commonly used to describe the elements in the namespace. The second item is an English description of the namespace prefix, and the item in parentheses is the URI of the actual namespace. gmi Geographic Metadata for
38、 imagery and gridded data (http:/ /www.isotc211.org/2005/gmi) gco Geographic Common extensible markup language (http:/ /www.isotc211.org/2005/gco) gmd Geographic MetaData extensible markup language (http:/ /www.isotc211.org/2005/gmd) gml Geography Markup Language (http:/ / gmx Geographic Metadata XM
39、L Schema (http:/ /www.isotc211.org/2005/gmx) gss Geographic Spatial Schema extensible markup lan- guage (http:/ /www.isotc211.org/2005/gss) gsr Geographic Spatial Referencing extensible markup language (http:/ /www.isotc211.org/2005/gsr) gts Geographic Temporal Schema extensible markup language (htt
40、p:/ /www.isotc211.org/2005/gts) While the namespace URI is the normative identifier of a namespace from the perspective of the W3C XML Schema specification, the designations of the namespaces in this document are based on prefixes within this document (i.e. gmi namespace means the namespace identifi
41、ed by the http:/ /www.isotc211. org/2005/gmi URI). ISO 2012 All rights reserved 3 ISO/TS 19139-2:2012(E) 6.3 gmi namespace 6.3.1 Organization of the gmi namespace The XML Schema definitions resulting from this XML Schema implementation of ISO 19115-2 shall pertain to the gmi namespace as illustrated
42、 in Figure 1. ISO 19115-2 Metadata - Part 2: Extensions for imagery and gridded data gmi Metadata Entity Set - Im agery spatialRepresentationInformation.xsd Content Information - Im agery Data Q uality Information - Im agery Acquisition Information - Im agery Spatial Representation Information - Im
43、agery acquisitionInformation.xsd dataQualityInformation.xsd contentInformation.xsd metadataEntitySet.xsd gmi.xsd Figure 1 Relationship between the gmi XML Schema documents and ISO 19115-2 packages The root of this namespace shall be gmi.xsd.4 ISO 2012 All rights reserved ISO/TS 19139-2:2012(E) spati
44、alRepresentationInformation.xsd acquisitionInformation.xsd dataQualityInformation.xsd contentInformation.xsd metadataEntitySet.xsd gmi.xsd Figure 2 Organization of gmi namespace 6.3.2 gmi.xsd As described in Figure 2, t h i s X M L S c h e m a d o c u m e n t s h a l l d i r e c t l y i n c l u d e
45、t h e X M L S c h e m a documents implementing all the concepts of the gmi namespace. It shall not contain the declaration of any type or element. 6.3.3 metadataEntitySet.xsd As described in Figure 3, this XML Schema document shall import the gco and gmd namespaces using their respective root XML Sc
46、hema document as defined in ISO/TS 19139. It is highly recommended to express the location of these root XML Schema documents using an absolute URL. As described in Figure 2, this XML Schema document shall also directly include the acquisitionInformation.xsd XML Schema document. This XML Schema docu
47、ment shall implement the UML conceptual schema defined in ISO 19115-2:2009, A.2.1, i.e. MI_Metadata (which inherits from ISO 19115 MD_Metadata class). The classes implemented in this XML Schema document shall follow the encoding rules defined in Clause 8 of ISO/TS 19139:2007. ISO 2012 All rights res
48、erved 5 ISO/TS 19139-2:2012(E) gmd gco metadataEntitySet.xsd Metadata Entity Set - Im agery ISO/TS 19103 Conceptual Schema Language ISO 19115 Metadata Figure 3 Metadata Entity Set dependencies 6.3.4 contentInformation.xsd As described in Figure 4, this XML Schema document shall import the gco and gm
49、d namespaces using their respective root XML Schema document as defined in ISO/TS 19139. It is highly recommended to express the location of these root XML Schema documents using an absolute URL. gmd gco Content Information - Im agery ISO/TS 19103 Conceptual Schema Language ISO 19115 Metadata contentInformation.xsd Figure 4 Content information dependencies This XML Schema document shall implement the UML conceptual schema defined in ISO 19115-2:2009, A.
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1