1、Geographic information Metadata Part 3: XML schema implementation for fundamental concepts PD ISO/TS 19115-3:2016 BSI Standards Publication WB11885_BSI_StandardCovs_2013_AW.indd 1 15/05/2013 15:06National foreword This Published Document is the UK implementation of ISO/TS 19115-3:2016. The UK partic
2、ipation in its preparation was entrusted to Technical Committee IST/36, Geographic information. A list of organizations represented 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 respon
3、sible for its correct application. The British Standards Institution 2016. Published by BSI Standards Limited 2016 ISBN 978 0 580 86174 1 ICS 35.240.70 Compliance with a British Standard cannot confer immunity from legal obligations. This Published Document was published under the authority of the S
4、tandards Policy and Strategy Committee on 31 August 2016. Amendments/corrigenda issued since publication Date Text affected PUBLISHED DOCUMENT PD ISO/TS 19115-3:2016 ISO 2016 Geographic information Metadata Part 3: XML schema implementation for fundamental concepts Information gographique Mtadonnes
5、Partie 3: Mise en oeuvre par des schmas XML TECHNICAL SPECIFICATION ISO/TS 19115-3 Reference number ISO/TS 19115-3:2016(E) First edition 2016-08- 15 PD ISO/TS 19115-3:2016 ISO/TS 19115-3:2016(E)ii ISO 2016 All rights reserved COPYRIGHT PROTECTED DOCUMENT ISO 2016, Published in Switzerland All rights
6、 reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized otherwise in any form or by any means, electronic or mechanical, including photocopying, or posting on the internet or an intranet, without prior written permission. Permission can be requested from eith
7、er ISO at the address below or ISOs member body in the country of the requester. ISO copyright office Ch. de Blandonnet 8 CP 401 CH-1214 Vernier, Geneva, Switzerland Tel. +41 22 749 01 11 Fax +41 22 749 09 47 copyrightiso.org www.iso.org PD ISO/TS 19115-3:2016 ISO/TS 19115-3:2016(E)Foreword iv Intro
8、duction v 1 Scope . 1 2 Conformance . 1 2.1 General . 1 2.2 Conformance classes for metadata modules . 2 2.3 Conformance classes for metadata interchange documents . 3 3 Normative references 3 4 T erms and definitions . 3 5 Symbols and abbreviated terms . 4 5.1 Acronyms . 4 5.2 Namespaces . 5 6 Requ
9、irements 8 6.1 Automated generation of XML schema 8 6.2 Multilingual adaptability and polymorphism 8 6.3 Introduction to requirements classes . 8 6.4 Core Requirements 9 6.5 Requirements for metadata modules 9 6.6 Requirements for metadata interchange documents .18 6.7 Requirements dependency diagra
10、ms .24 7 Extensions to the UML models in the ISO geographic information series of International Standards for this schema .25 8 Encoding approach and rules .26 8.1 UML packages and XML namespaces .26 8.2 UML model for XML implementation .26 8.3 Implementation approach for decoupling XML packages 26
11、8.3.1 General.26 8.3.2 Implementation approach to decouple optional classes29 8.4 XML encoding rules31 8.5 Default values 32 Annex A (normative) Abstract test suite .33 Annex B (informative) Geographic metadata XML resources47 Annex C (informative) Encoding descriptions .49 Annex D (informative) Imp
12、lementation examples .51 Bibliography .64 ISO 2016 All rights reserved iii Contents Page PD ISO/TS 19115-3:2016 ISO/TS 19115-3:2016(E) Foreword ISO (the International Organization for Standardization) is a worldwide federation of national standards bodies (ISO member bodies). The work of preparing I
13、nternational 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 the right to be represented on that committee. International organizations, governmental and non-governmental, in liaison
14、 with ISO, also take part in the work. ISO collaborates closely with the International Electrotechnical Commission (IEC) on all matters of electrotechnical standardization. The procedures used to develop this document and those intended for its further maintenance are described in the ISO/IEC Direct
15、ives, Part 1. In particular the different approval criteria needed for the different types of ISO documents should be noted. This document was drafted in accordance with the editorial rules of the ISO/IEC Directives, Part 2 (see www.iso.org/directives). Attention is drawn to the possibility that som
16、e of the elements of this document may be the subject of patent rights. ISO shall not be held responsible for identifying any or all such patent rights. Details of any patent rights identified during the development of the document will be in the Introduction and/or on the ISO list of patent declara
17、tions received (see www.iso.org/patents). Any trade name used in this document is information given for the convenience of users and does not constitute an endorsement. For an explanation on the meaning of ISO specific terms and expressions related to conformit y assessment, as well as information a
18、bout ISOs adherence to the World Trade Organization (WTO) principles in the Technical Barriers to Trade (TBT) see the following URL: www.iso.org/iso/foreword.html. The committee responsible for this document is ISO/TC 211, Geographic information/Geomatics. A list of all parts in the ISO 19115 series
19、 can be found on the ISO website.iv ISO 2016 All rights reserved PD ISO/TS 19115-3:2016 ISO/TS 19115-3:2016(E) Introduction ISO 19115-1 explains the importance of metadata, specifies a model for describing geographic information resources by defining metadata entities, elements and terminology, and
20、establishing an extension procedure for additional metadata content. ISO 19115-1:2014, Annex G describes the revisions from ISO 19115:2003. The revised content model also incorporates metadata elements defined in ISO 19119:2005 and ISO 19119:2005/Amd 1:2008 for metadata describing web services. More
21、 detailed metadata for geographic data types and data quality are defined in other ISO geographic information standards (e.g. ISO 19110 and ISO 19157). Where necessary, interpretations of some other ISO geographic information standards are incorporated for this implementation. ISO 19115-2 extends IS
22、O 19115-1 by adding models for acquisition information and extending the models for metadata (MD_Metadata), data quality (DQ_DataQuality, now in ISO 19157), spatial representation (MD_SpatialRepresentation), and content information (MD_ContentInformation). ISO 19115-1 and ISO 19115-2 define conceptu
23、al models for metadata content that are independent of any particular encoding scheme. ISO/TS 19139 and ISO/TS 19139-2 define eXtensible Markup Language (XML) schemas for encoding that content. This document defines XML encodings for ISO 19115-1 and ISO 19115-2 metadata content. This integrated sche
24、ma makes it possible to use concepts from ISO 19115-1 and ISO 19115-2 together in metadata instance documents, effectively replacing ISO/TS 19139 and ISO/TS 19139-2 and enables automated validation and interchange of ISO 19115-1 and ISO 19115-2, metadata content using standard software tools. The in
25、tegrated schema were derived from ISO 19115-1 and ISO 19115-2 conceptual models using the rules defined in ISO 19118:2011, Annex A, ISO/TS 19139 applied to an adopted implementation-ready UML version of the conceptual models as described in Clause 8. The implementation approach enables modularizatio
26、n and eases reuse of elements of the conceptual models. Abstract classes were added to the ISO geographic information harmonized model, without altering the semantics, to create an implementation model that was used for this XML implementation (see Clause 8 for details). The primary use case envisio
27、ned for this XML implementation is the exchange of geographic metadata in a client-server environment exemplified by the World Wide Web, in which the internal management and structure of metadata content is independent of the encoding used for exchange of metadata information. Adoption of this geogr
28、aphic metadata XML schema within an information- sharing community will garner the benefits of standardization for resource discovery, access, use, and understanding. ISO 2016 All rights reserved v PD ISO/TS 19115-3:2016 Geographic information Metadata Part 3: XML schema implementation for fundament
29、al concepts 1 Scope This document defines an integrated XML implementation of ISO 19115-1, ISO 19115-2, and concepts from ISO/TS 19139 by defining the following artefacts: a) a set of XML schema required to validate metadata instance documents conforming to conceptual model elements defined in ISO 1
30、9115-1, ISO 19115-2, and ISO/TS 19139; b) a set of ISO/IEC 19757-3 (Schematron) rules that implement validation constraints in the ISO 19115-1 and ISO 19115-2 UML models that are not validated by the XML schema; c) an Extensible Stylesheet Language Transformation (XSLT) for transforming ISO 19115-1
31、metadata encoded using the ISO/TS 19139 XML schema and ISO 19115-2 metadata encoded using the ISO/TS 19139-2 XML schema into an equivalent document that is valid against the XML schema defined in this document. This document describes the procedure used to generate XML schema from ISO geographic inf
32、ormation conceptual models related to metadata. The procedure includes creation of an UML model for XML implementation derived from the conceptual UML model. This implementation model does not alter the semantics of the target conceptual model, but adds abstract classes that remove dependencies betw
33、een model packages, tagged values and stereotypes required by the UML to XML transformation software, and refactors the packaging of a few elements into XML namespaces. The XML schema has been generated systematically from the UML model for XML implementation according to the rules defined in ISO/TS
34、 19139 or ISO 19118. 2 Conformance 2.1 General In order to claim conformance to a conformance class defined in this document, an XML instance shall validate against the test procedures specified in Annex A. These tests include validation using a specific XML schema document, as well as Schematron ru
35、le documents that test conformance with constraints specified by the base conceptual model that are not tested by XML schema validation. Each namespace module and interchange document schema defined by the implementation carries with it an implicit conformance class for xml instance documents. This
36、conformance class tests the requirement that xml element and attribute instances from the namespace shall be well formed and valid. The test is validation with a specific XML schema and Schematron rule set if necessary. The framework, concepts, and methodology for testing, and the criteria to be ach
37、ieved to claim conformance are specified in ISO 19105. Implementers may choose to define other “information exchange” document schemas that import normative XML schemas not specified here to identify and validate interchange documents. The design of these schemas will be contingent on the requiremen
38、ts of the user community for the particular information exchange. These information exchange schema should be documented in a technical note. TECHNICAL SPECIFICATION ISO/TS 19115-3:2016(E) ISO 2016 All rights reserved 1 PD ISO/TS 19115-3:2016 ISO/TS 19115-3:2016(E) 2.2 Conformance classes for metada
39、ta modules This document defines a set of conformance classes for various content modules defined by ISO 19115-1 and ISO 19115-2 to allow these to be used as components in other interchange document implementations. Each module is packaged in a separate XML namespace. Table 1 lists the module define
40、d in this document. T a b l e 1 C o n f o r m a n c e c l a s s e s d e f i n e d f o r m e t a d a t a m o d u l e s Namespace a Conformance class URI b Conformance class name (implemented clause) /mcc/1.0 /conf/common-classes-xml Valid XML instance of common classes namespace (this document) /cit/
41、1.0 /conf/citation-xml Valid XML instance of citation namespace (ISO 19115-1:2014, 6.6.2) /lan/1.0 /conf/language-localisation-xml Valid XML instance of language localization namespace (ISO 19115-1:2014, 6.7) /mas/1.0 /conf/application-schema-xml Valid XML instance of application schema namespace (I
42、SO 19115-1:2014, 6.5.13) /mac/1.0 /conf/ acquisition-xml Valid XML instance of metadata for acquisition namespace (ISO 19115-2:2009, A.2.5) /mco/1.0 /conf/constraints-xml Valid XML instance of constraints namespace (ISO 19115-1:2014, 6.5.4) /gex/1.0 /conf/geospatial-extent-xml Valid XML instance of
43、geospatial extent namespace (ISO 19115-1:2014, 6.6.1) /mdb/1.0 /conf/metadata-base-xml Valid XML instance of metadata base namespace (ISO 19115-1:2014, 6.5.2) /mmi/1.0 /conf/maintenance-information-xml Valid XML instance of maintenance information namespace (ISO 19115-1:2014, 6.5.6) /mpc/1.0 /conf/p
44、ortrayal-catalogue-xml Valid XML instance of portrayal catalogue namespace (ISO 19115-1:2014, 6.5.10) /mrc/1.0 /conf/resource-content-xml Valid XML instance of resource content namespace (ISO 19115-1:2014, 6.5.9, ISO 19115-2) /mrd/1.0 /conf/resource-distribution-xml Valid XML instance of resource di
45、stribution namespace (ISO 19115-1:2014, 6.5.11) /mri/1.0 /conf/resource-identification-xml Valid XML instance of resource identification namespace (ISO 19115-1:2014, 6.5.6) /mrl/1.0 /conf/lineage-xml Valid XML instance of resource lineage namespace (ISO 19115-1:2014, 6.5.5, ISO 19115-2) /mrs/1.0 /co
46、nf/reference-system-xml Valid XML instance of reference system namespace (ISO 19115-1:2014, 6.5.8) /msr/1.0 /conf/spatial-representation-xml Valid XML instance of spatial representation (ISO 19115-1:2014, 6.5.7, ISO 19115-2) /msr/1.0 /conf/spatial-representation-xml Valid XML instance of spatial rep
47、resentation (ISO 19115-1:2014, 6.5.7, ISO 19115-2) /sr v/2.0 /conf/service-metadata-xml Valid XML instance of service metadata namespace (ISO 19115-1:2014, 6.5.14) /mex/1.0 /conf/metadata-extension-xml Valid XML instance of metadata extension namespace (ISO 19115-1:2014, 6.5.12) /gcx/1.0 /conf/exten
48、ded-types-xml XML implementation of geospatial common extended types (ISO/TS 19139:2007, 7.2) aFor complete namespace URIs, prefix “http:/ /standards.iso.org/iso/19115/-3”. bAll Conformance Class URIs are HTTP URIs, prefix “http:/ /standards.iso.org/iso/19115/-3” to the paths in the table cell to ge
49、t the complete URI.2 ISO 2016 All rights reserved PD ISO/TS 19115-3:2016 ISO/TS 19115-3:2016(E) 2.3 Conformance classes for metadata interchange documents This document defines a set of XML schema that import various modular namespace components to define useful metadata interchange documents. Each of these document schema has an associated requirements and conformance class, and a namespace URI to identify the document type. Table 2 lists these interchange document schemes. Table 2 Conformance classes for metadata interchange Namespa
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1