1、DRAFT FOR DEVELOPMENTDD CEN ISO/TS 19139:2009Geographic information Metadata XML schema implementationICS 35.240.70g49g50g3g38g50g51g60g44g49g42g3g58g44g55g43g50g56g55g3g37g54g44g3g51g40g53g48g44g54g54g44g50g49g3g40g59g38g40g51g55g3g36g54g3g51g40g53g48g44g55g55g40g39g3g37g60g3g38g50g51g60g53g44g42g4
2、3g55g3g47g36g58National forewordThis Draft for Development is the UK implementation of CEN ISO/TS 19139:2009. It is identical to ISO/TS 19139:2007. It supersedes DD ISO/TS 19139:2007 which is withdrawn.This publication is not to be regarded as a British Standard. It is being issued in the Draft for
3、Development series of publications and is of a provisional nature. It should be applied on this provisional basis, so that information and experience of its practical application can be obtained. Comments arising from the use of this Draft for Development are requested so that UK experience can be r
4、eported to the European organization responsible for its conversion to a European standard. A review of this publication will be initiated two years after its publication by the European organization so that a decision can be taken on its status. Notification of the start of the review period will b
5、e made in an announcement in the appropriate issue of Update Standards. According to the replies received by the end of the review period, the responsible BSI Committee will decide whether to support the conversion into a European Standard, to extend the life of the Technical Specification or to wit
6、hdraw it. Comments should be sent to the Secretary of the responsible BSI Technical Committee at British Standards House, 389 Chiswick High Road, London W4 4AL. The UK participation in its preparation was entrusted to Technical Committee IST/36, Geographic information. A list of organizations repres
7、ented on this committee can be obtained on request to its secretary. This publication does not purport to include all the necessary provisions of a contract. Users are responsible for its correct application.DD CEN ISO/TS 19139:2009This Draft for Development was published under the authority of the
8、Standards Policy and Strategy Committee on 29 June 2007 BSI 2010 Amendments/corrigenda issued since publicationDate Comments 28 February 2010 This corrigendum renumbers DD ISO/TS 19139:2007 as DD CEN ISO/TS 19139:2009ISBN 978 0 580 64446 7TECHNICAL SPECIFICATION SPCIFICATION TECHNIQUE TECHNISCHE SPE
9、ZIFIKATION CEN ISO/TS 19139 November 2009 ICS 35.240.70 English Version Geographic information - Metadata - XML schema implementation (ISO/TS 19139:2007) Information gographique - Mtadonnes - Implmentation de schmas XML (ISO/TS 19139:2007) Geoinformation - Metadaten - XML-Schema-Implementierung (ISO
10、/TS 19139:2007) This Technical Specification (CEN/TS) was approved by CEN on 14 May 2009 for provisional application. The period of validity of this CEN/TS is limited initially to three years. After two years the members of CEN will be requested to submit their comments, particularly on the question
11、 whether the CEN/TS can be converted into a European Standard. CEN members are required to announce the existence of this CEN/TS in the same way as for an EN and to make the CEN/TS available promptly at national level in an appropriate form. It is permissible to keep conflicting national standards i
12、n force (in parallel to the CEN/TS) until the final decision about the possible conversion of the CEN/TS into an EN is reached. CEN members are the national standards bodies of Austria, Belgium, Bulgaria, Cyprus, Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, I
13、reland, Italy, Latvia, Lithuania, Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland and United Kingdom. EUROPEAN COMMITTEE FOR STANDARDIZATION COMIT EUROPEN DE NORMALISATION EUROPISCHES KOMITEE FR NORMUNG Management Centre: Avenue Marni
14、x 17, B-1000 Brussels 2009 CEN All rights of exploitation in any form and by any means reserved worldwide for CEN national Members. Ref. No. CEN ISO/TS 19139 :2009: EiiForeword The text of ISO/TS 19139:2007 has been prepared by Technical Committee ISO/TC 211 “Geographic information/Geomatics” of the
15、 International Organization for Standardization (ISO) and has been taken over as CEN ISO/TS 19139:2009 by Technical Committee CEN/TC 287 “Geographic Information” the secretariat of which is held by NEN. Attention is drawn to the possibility that some of the elements of this document may be the subje
16、ct of patent rights. CEN and/or CENELEC shall not be held responsible for identifying any or all such patent rights. According to the CEN/CENELEC Internal Regulations, the national standards organizations of the following countries are bound to announce this Technical Specification: Austria, Belgium
17、, Bulgaria, Cyprus, Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland and the United Kingdom. Endorsement notice Th
18、e text of ISO/TS 19139:2007 has been approved by CEN as a CEN ISO/TS 19139:2009 without any modification. DD CEN ISO/TS 19139:2009CEN ISO/TS 19139:2009 (E)iiiContents Page Introduction iv 1 Scope1 2 Conformance .1 3 Normative references1 4 Terms and definitions .2 5 Symbols and abbreviated terms 3 5
19、.1 Acronyms .3 5.2 Namespace abbreviations 3 5.3 UML model relationships3 5.4 UML model stereotypes4 6 Requirements.5 6.1 Introduction to gmd.5 6.2 Rule-based .5 6.3 Quality 6 6.4 Web implementations .6 6.5 Use of external XML implementations 6 6.6 Multilingual support 6 6.7 Polymorphism7 6.8 Rules
20、for application schema 7 7 Extensions to the UML models in the ISO 19100 series of International Standards8 7.1 Introduction to extensions .8 7.2 Extensions specific to the web environment .8 7.3 Cultural and linguistic adaptability extensions9 7.4 Extensions for metadata-based transfers of geospati
21、al information 11 8 Encoding rules.17 8.1 Introduction to encoding rules 17 8.2 Default XML Class Type encoding.17 8.3 XML Class Global Element encoding20 8.4 XML Class Property Type encoding20 8.5 Special case encodings22 8.6 XML namespace package encoding40 8.7 XML schema package encoding41 9 Enco
22、ding descriptions43 9.1 Introduction to the encoding descriptions .43 9.2 XML namespaces 43 9.3 gmd namespace 44 9.4 gss namespace50 9.5 gts namespace.52 9.6 gsr namespace 53 9.7 gco namespace54 9.8 gmx namespace.65 9.9 From the conceptual schema to XML file instances72 Annex A (normative) Abstract
23、test suite 74 Annex B (normative) Data dictionary for extensions77 Annex C (informative) Geographic Metadata XML resources 87 Annex D (informative) Implementation examples89 Bibliography111 DD CEN ISO/TS 19139:2009CEN ISO/TS 19139:2009 (E)ivIntroduction The importance of metadata describing digital
24、geographic data is explained in detail in the text of ISO 19115. ISO 19115 provides a structure for describing digital geographic data by defining metadata elements and establishing a common set of metadata terminology, definitions and extension procedures. ISO 19115 is abstract in that it provides
25、a worldwide view of metadata relative to geographic information, but no encoding. Since ISO 19115 does not provide any encoding, the actual implementation of geographic information metadata could vary based on the interpretation of metadata producers. In an attempt to facilitate the standardization
26、of implementations, this comprehensive metadata implementation specification provides a definitive, rule-based encoding for applying ISO 19115. This Technical Specification provides Extensible Markup Language (XML) schemas that are meant to enhance interoperability by providing a common specificatio
27、n for describing, validating and exchanging metadata about geographic datasets, dataset series, individual geographic features, feature attributes, feature types, feature properties, etc. ISO 19115 defines general-purpose metadata in the field of geographic information. More detailed metadata for ge
28、ographic data types and geographic services are defined in other ISO 19100 series standards and user extensions (ISO 19115). This Technical Specification is also intended to define implementation guidelines for general-purpose metadata. Where necessary, interpretations of some other ISO 19100 series
29、 standards are incorporated. ISO 19118 describes the requirements for creating encoding rules based on UML schemas and the XML-based encoding rules as well as providing an introduction to XML. This Technical Specification utilizes the encoding rules defined in ISO 19118 and provides the specific det
30、ails of their application with regard to deriving XML schema for the UML models in ISO 19115. DD CEN ISO/TS 19139:2009CEN ISO/TS 19139:2009 (E)1Geographic information Metadata XML schema implementation 1 Scope This Technical Specification defines Geographic MetaData XML (gmd) encoding, an XML schema
31、 implementation derived from ISO 19115. 2 Conformance Conformance with this Technical Specification shall be checked using all the relevant tests specified in Annex A. The framework, concepts, and methodology for testing, and the criteria to be achieved to claim conformance are specified in ISO 1910
32、5. 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 edition of the referenced document (including any amendments) applies. ISO 639-2, Codes for th
33、e representation of names of languages Part 2: Alpha-3 code ISO 3166 (all parts), Codes for the representation of names of countries and their subdivisions ISO 8601, Data elements and interchange formats Information interchange Representation of dates and times ISO/IEC 10646, Information technology
34、Universal Multiple-Octet Coded Character Set (UCS) ISO/TS 19103, Geographic information Conceptual schema language ISO 19105, Geographic information Conformance and testing ISO 19107, Geographic information Spatial schema ISO 19108, Geographic information Temporal schema ISO 19109, Geographic inform
35、ation Rules for application schema ISO 19110, Geographic information Methodology for feature cataloguing ISO 19111:1), Geographic information Spatial referencing by coordinates ISO 19115:2003, Geographic information Metadata 1) To be published. (Revision of ISO 19111:2003) DD CEN ISO/TS 19139:2009CE
36、N ISO/TS 19139:2009 (E)2 ISO 19115:2003/Cor. 1:2006, Geographic information Metadata Technical Corrigendum 1 ISO 19117, Geographic information Portrayal ISO 19118:2005, Geographic information Encoding ISO 19136:2), Geographic information Geography Markup Language (GML) W3C XMLName, Namespaces in XML
37、. W3C Recommendation (14 January 1999) W3C XMLSchema-1, XML Schema Part 1: Structures. W3C Recommendation (2 May 2001) W3C XMLSchema-2, XML Schema Part 2: Datatypes. W3C Recommendation (2 May 2001) W3C XML, Extensible Markup Language (XML) 1.0 (Second Edition), W3C Recommendation (6 October 2000) W3
38、C XLink, XML Linking Language (XLink) Version 1.0. W3C Recommendation (27 June 2001) 4 Terms and definitions For the purposes of this Technical Specification, the following terms and definitions apply. 4.1 namespace collection of names, identified by a URI reference, that are used in XML documents a
39、s element names and attribute names W3C XML 4.2 package general purpose mechanism for organizing elements into groups ISO/TS 19103, definition 4.2.22 EXAMPLE Identification information; Metadata entity set information; Constraint information. 4.3 realization semantic relationship between classifiers
40、, wherein one classifier specifies a contract that another classifier guarantees to carry out Booch 1999 4.4 polymorphism characteristic of being able to assign a different meaning or usage to something in different contexts specifically, to allow an entity such as a variable, a function, or an obje
41、ct to have more than one form NOTE There are several different kinds of polymorphism. http:/ 2) To be published. DD CEN ISO/TS 19139:2009CEN ISO/TS 19139:2009 (E)35 Symbols and abbreviated terms 5.1 Acronyms UML Unified Modelling Language XCT XML Class Type XCPT XML Class Property Type XCGE XML Clas
42、s Global Element XML Extensible Markup Language XPath XML Path Language XSD XML Schema Definition XSL Extensible Style Language XSLT XSL Transformation 5.2 Namespace abbreviations In the lists below, the item on the left describes the common namespace prefix used to describe the elements in the name
43、space. The second item is an English description of the namespace prefix, and the item in parenthesis is the URI of the actual namespace. These URIs do not correspond necessarily to an effective location of the schemas. This first list corresponds to the namespaces defined by this Technical Specific
44、ation. gco Geographic Common extensible markup language (http:/www.isotc211.org/2005/gco) gmd Geographic MetaData extensible markup language (http:/www.isotc211.org/2005/gmd) gmx Geographic Metadata XML Schema (http:/www.isotc211.org/2005/gmx) gss Geographic Spatial Schema extensible markup language
45、 (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 (http:/www.isotc211.org/2005/gts) This second list corresponds to external namespaces used by this Technical Sp
46、ecification. gml Geography Markup Language (use the GML namespace URI stated in ISO 19136) xlink XML Linking Language (use the XLINK namespace URI stated in the W3C XLink recommendation) xs W3C XML base schemas (use the XML schema namespace URI stated in the W3C XMLSchema-1 and W3C XMLSchema-2 recom
47、mendations) 5.3 UML model relationships The diagrams that appear in this Technical Specification are presented using the Unified Modelling Language (UML) as the conceptual schema language as defined in ISO/TS 19103. ISO 19115:2003, Figure 2, also displays the UML notation that is used to describe th
48、e metadata. In addition to the UML described in ISO/TS 19103 and shown in ISO 19115, this Technical Specification uses the notation shown in Figure 1. DD CEN ISO/TS 19139:2009CEN ISO/TS 19139:2009 (E)4 Figure 1 UML Notation for Realization The class that is the source of the connection (shown on the
49、 left in Figure 1) is guaranteed to carry out (or implement) the specification of the class at the destination of the connection (shown on the right in Figure 1). 5.4 UML model stereotypes A UML stereotype is an extension mechanism for existing UML concepts (see ISO 19115). In addition to the stereotypes already defined in ISO 19115 for describing metadata, this Technical Specification defines stereotypes necessary for a rules-based encoding into XML schema. The elements of the UML dia