1、raising standards worldwideNO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAWBSI Standards PublicationBS EN ISO 19118:2011Geographic information Encoding (ISO 19118:2011)BS EN ISO 19118:2011 BRITISH STANDARDNational forewordThis British Standard is the UK implementation of EN ISO
2、19118:2011. It supersedes BS EN ISO 19118:2006 which is withdrawn.The UK participation in its preparation was entrusted to TechnicalCommittee IST/36, Geographic information.A list of organizations represented on this committee can beobtained on request to its secretary.This publication does not purp
3、ort to include all the necessaryprovisions of a contract. Users are responsible for its correctapplication. BSI 2011ISBN 978 0 580 65419 0ICS 35.240.70Compliance with a British Standard cannot confer immunity fromlegal obligations.This British Standard was published under the authority of theStandar
4、ds Policy and Strategy Committee on 30 November 2011.Amendments issued since publicationDate Text affectedEUROPEAN STANDARD NORME EUROPENNE EUROPISCHE NORM EN ISO 19118 October 2011 ICS 35.240.70 Supersedes EN ISO 19118:2006English Version Geographic information - Encoding (ISO 19118:2011) Informati
5、on gographique - Codage (ISO 19118:2011) Geoinformation - Kodierung (ISO 19118:2011) This European Standard was approved by CEN on 1 October 2011. CEN members are bound to comply with the CEN/CENELEC Internal Regulations which stipulate the conditions for giving this European Standard the status of
6、a national standard without any alteration. Up-to-date lists and bibliographical references concerning such national standards may be obtained on application to the CEN-CENELEC Management Centre or to any CEN member. This European Standard exists in three official versions (English, French, German).
7、 A version in any other language made by translation under the responsibility of a CEN member into its own language and notified to the CEN-CENELEC Management Centre has the same status as the official versions. CEN members are the national standards bodies of Austria, Belgium, Bulgaria, Croatia, Cy
8、prus, 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 United Kingdom. EUROPEAN COMMITTEE FOR STANDARDIZATION
9、COMIT EUROPEN DE NORMALISATION EUROPISCHES KOMITEE FR NORMUNG Management Centre: Avenue Marnix 17, B-1000 Brussels 2011 CEN All rights of exploitation in any form and by any means reserved worldwide for CEN national Members. Ref. No. EN ISO 19118:2011: EBS EN ISO 19118:2011EN ISO 19118:2011 (E) 3 Fo
10、reword This document (EN ISO 19118:2011) has been prepared by Technical Committee ISO/TC 211 “Geographic information/Geomatics“ in collaboration with Technical Committee CEN/TC 287 “Geographic Information” the secretariat of which is held by BSI. This European Standard shall be given the status of a
11、 national standard, either by publication of an identical text or by endorsement, at the latest by April 2012, and conflicting national standards shall be withdrawn at the latest by April 2012. Attention is drawn to the possibility that some of the elements of this document may be the subject of pat
12、ent rights. CEN and/or CENELEC shall not be held responsible for identifying any or all such patent rights. This document supersedes EN ISO 19118:2006. According to the CEN/CENELEC Internal Regulations, the national standards organizations of the following countries are bound to implement this Europ
13、ean Standard: Austria, Belgium, Bulgaria, Croatia, 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 th
14、e United Kingdom. Endorsement notice The text of ISO 19118:2011 has been approved by CEN as a EN ISO 19118:2011 without any modification. BS EN ISO 19118:2011ISO 19118:2011(E) ISO 2011 All rights reserved iiiContents Page Foreword iv Introduction . v 1 Scope 1 2 Conformance . 1 2.1 Introduction 1 2.
15、2 Conformance classes related to encoding rules . 1 2.3 Conformance classes related to encoding services . 1 3 Normative references 2 4 Terms and definitions . 2 5 Symbols and abbreviated terms 6 6 Fundamental concepts and assumptions . 7 6.1 Concepts 7 6.2 Data interchange . 7 6.3 Application schem
16、a . 8 6.4 Encoding rule . 9 6.5 Encoding service . 10 6.6 Transfer service . 10 7 Character repertoire 11 8 Generic instance model 11 8.1 Introduction 11 8.2 Relation between UML and the instance model . 14 9 Encoding rules . 14 9.1 Introduction 14 9.2 General encoding requirements 15 9.3 Input data
17、 structure . 17 9.4 Output data structure 17 9.5 Conversion rules . 18 9.6 Examples 18 10 Encoding service . 18 Annex A (normative) XML-based encoding rule 20 Annex B (normative) Abstract test suit 21 Annex C (informative) XML-based encoding rule in use by communities 25 Bibliography 68 BS EN ISO 19
18、118:2011ISO 19118:2011(E) iv ISO 2011 All rights reservedForeword ISO (the International Organization 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 committee
19、s. 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 with ISO, also take part in the work. ISO collaborates closely with the Inter
20、national Electrotechnical Commission (IEC) on all matters of electrotechnical standardization. International 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 St
21、andards adopted by the technical committees are circulated to the member bodies for voting. Publication as an International Standard requires approval by at least 75 % of the member bodies casting a vote. Attention is drawn to the possibility that some of the elements of this document may be the sub
22、ject of patent rights. ISO shall not be held responsible for identifying any or all such patent rights. ISO 19118 was prepared by Technical Committee ISO/TC 211, Geographic information/Geomatics. This second edition cancels and replaces the first edition (ISO 19118:2005), which has been technically
23、revised. BS EN ISO 19118:2011ISO 19118:2011(E) ISO 2011 All rights reserved vIntroduction This International Standard specifies the requirements for defining encoding rules used for interchange of geographic data within the set of International Standards known as the “ISO 19100 series”. An encoding
24、rule allows geographic information defined by application schemas and standardized schemas to be coded into a system-independent data structure suitable for transport and storage. The encoding rule specifies the types of data being coded and the syntax, structure and coding schemes used in the resul
25、ting data structure. The resulting data structure can be stored on digital media or transferred using transfer protocols. It is intended that the data be read and interpreted by computers, but data can be in a form that is human readable. The choice of one encoding rule for application-independent d
26、ata interchange does not exclude application domains and individual nations from defining and using their own encoding rules that can be platform dependent or more effective with regard to data size or processing complexity. XML is a subset of ISO/IEC 8879 and has been chosen because it is independe
27、nt of computing platform and interoperable with the World Wide Web. This International Standard is divided into three logical sections. The requirements for creating encoding rules based on UML schemas are specified in Clauses 6 to 9. The requirements for creating encoding service are specified in C
28、lause 10, and the requirements for XML-based encoding rules are specified in Annex A. The XML-based encoding rule is intended for use as a neutral data interchange. It relies on the Extensible Markup Language (XML) and the ISO/IEC 10646 character set standards. The geographic information standards a
29、re organized within the set of International Standards known as the “ISO 19100 series”. The background and the overall structure of this series of International Standards and the fundamental description techniques are defined in ISO 19101, ISO/TS 19103 and ISO/TS 19104. Users of this International S
30、tandard can develop application schemas to formally describe geographic information. An application schema is compiled by integrating elements from other standardized conceptual schemas (e.g. ISO 19107). How this integration takes place is described in ISO 19109. The set of International Standards k
31、nown as the “ISO 19100 series” also defines a set of common services that are available when developing geographic information applications. The common services are generally defined in ISO 19119 and cover access to, and processing of, geographic information according to the common information model
32、. This International Standard covers implementation issues. BS EN ISO 19118:2011BS EN ISO 19118:2011INTERNATIONAL STANDARD ISO 19118:2011(E) ISO 2011 All rights reserved 1Geographic information Encoding 1 Scope This International Standard specifies the requirements for defining encoding rules for us
33、e for the interchange of data that conform to the geographic information in the set of International Standards known as the “ISO 19100 series”. This International Standard specifies requirements for creating encoding rules based on UML schemas, requirements for creating encoding services, and requir
34、ements for XML-based encoding rules for neutral interchange of data. This International Standard does not specify any digital media, does not define any transfer services or transfer protocols, nor does it specify how to encode inline large images. 2 Conformance 2.1 Introduction Two sets of conforma
35、nce classes are defined for this International Standard. 2.2 Conformance classes related to encoding rules All encoding rules shall pass all test cases of the abstract test suite in B.1. All encoding rules shall pass all test cases of the abstract test suite in B.2 and/or B.3. Table 1 Conformance cl
36、asses related to encoding rules Conformance class Subclause of the abstract test suite All encoding rules B.1 Encoding rule with instance conversion B.2 Encoding rule with schema conversion B.3 2.3 Conformance classes related to encoding services All encoding services shall pass all test cases of th
37、e abstract test suite in B.4. Depending on the capabilities of the encoding service, it shall pass all test cases of additional conformance classes in accordance with Table 2. BS EN ISO 19118:2011ISO 19118:2011(E) 2 ISO 2011 All rights reservedTable 2 Conformance classes related to encoding services
38、 Conformance class Subclause of the abstract test suite All encoding services B.4 Generic encoding service B.5 Service that encodes data B.6 Service that decodes data B.7 Service that generates an output data structure schema B.8 3 Normative references The following referenced documents are indispen
39、sable 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 8601:2004, Data elements and interchange formats Information interchange Representation of d
40、ates and times ISO/IEC 10646:2011, Information technology Universal Coded Character Set (UCS) ISO/TS 19103:2005, Geographic information Conceptual schema language ISO 19109:2005, Geographic information Rules for application schema Extensible Markup Language (XML) 1.0, W3C Recommendation. Available a
41、t 4 Terms and definitions For the purposes of this document, the following terms and definitions apply. 4.1 application schema conceptual schema (4.5) for data (4.8) required by one or more applications ISO 19101:2002, 4.2 NOTE An application schema describes the content, the structure and the const
42、raints applicable to information (4.22) in a specific application domain. 4.2 character member of a set of elements that is used for the representation, organization, or control of data (4.8) ISO/IEC 2382-1:1993, 01.02.11 4.3 code representation of a label according to a specified scheme BS EN ISO 1
43、9118:2011ISO 19118:2011(E) ISO 2011 All rights reserved 34.4 conceptual model model (4.27) that defines concepts of a universe of discourse (4.33) ISO 19101:2002, 4.4 4.5 conceptual schema formal description of a conceptual model (4.4) ISO 19101:2002, 4.5 4.6 conceptual schema language formal langua
44、ge based on a conceptual formalism for the purpose of representing conceptual schemas (4.5) ISO 19101:2002, 4.6 EXAMPLES UML, EXPRESS, IDEF1X. NOTE A conceptual schema language may be lexical or graphical. 4.7 conversion rule rule for converting instances in the input data (4.8) structure to instanc
45、es in the output data structure 4.8 data reinterpretable representation of information (4.22) in a formalized manner suitable for communication, interpretation, or processing ISO/IEC 2382-1:1993, 01.01.02 4.9 data interchange delivery, receipt and interpretation of data (4.8) 4.10 data transfer move
46、ment of data (4.8) from one point to another over a medium (4.26) NOTE Transfer of information (4.22) implies transfer of data. 4.11 data type specification of a value domain (4.34) with operations allowed on values in this domain ISO/TS 19103:2005, 4.1.5 EXAMPLES Integer, Real, Boolean, String and
47、Date. NOTE A data type is identified by a term, e.g. Integer. Values of the data types are of the specified value domain, e.g. all integer numbers between 65537 and 65536. The set of operations can be +, -, * and / and is semantically well defined. A data type can be simple or complex. A simple data
48、 type defines a value domain where values are considered atomic in a certain context, e.g. Integer. A complex data type is a collection of data types that are grouped together. A complex data type may represent an object and can, thus, have identity. BS EN ISO 19118:2011ISO 19118:2011(E) 4 ISO 2011
49、All rights reserved4.12 dataset identifiable collection of data (4.8) ISO 19115:2003, 4.2 4.13 encoding conversion of data (4.8) into a series of codes (4.3) 4.14 encoding rule identifiable collection of conversion rules (4.7) that define the encoding (4.13) for a particular data (4.8) structure EXAMPLES XML, ISO 10303-21, ISO/IEC 8211. NOTE An encoding rule specifies the types of data being converted as well as the syntax, structure and codes (4.3) used in the resulting data structure. 4.15 encoding service softwa