SIST-TS ISO/TS 19157-2:2017
Geographic information -- Data quality -- Part 2: XML schema implementation
Geographic information -- Data quality -- Part 2: XML schema implementation
ISO/TS 19157-2:2016 defines data quality encoding in XML. It is an XML schema implementation derived from ISO 19157:2013 and the data quality related concepts from ISO 19115‑2.
Information geographique -- Qualite des donnees -- Partie 2: Implémentation de schémas XML
Geografske informacije - Kakovost podatkov - 2. del: Izvajanje sheme XML
Ta dokument določa kodiranje kakovosti podatkov v XML. Gre za izvajanje sheme XML iz standarda ISO 19157:2013 in povezane koncepte glede kakovosti podatkov iz standarda ISO 19115-2.
General Information
Standards Content (Sample)
SLOVENSKI STANDARD
01-junij-2017
Geografske informacije - Kakovost podatkov - 2. del: Izvajanje sheme XML
Geographic information -- Data quality -- Part 2: XML schema implementation
Information geographique -- Qualite des donnees -- Partie 2: Implémentation de
schémas XML
Ta slovenski standard je istoveten z: ISO/TS 19157-2:2016
ICS:
07.040 Astronomija. Geodezija. Astronomy. Geodesy.
Geografija Geography
35.240.70 Uporabniške rešitve IT v IT applications in science
znanosti
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.
TECHNICAL ISO/TS
SPECIFICATION 19157-2
First edition
2016-12-01
Geographic information — Data
quality —
Part 2:
XML schema implementation
Information geographique — Qualite des donnees —
Partie 2: Implémentation de schémas XML
Reference number
©
ISO 2016
© ISO 2016, Published in Switzerland
All rights 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 either ISO at the address below or ISO’s 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
copyright@iso.org
www.iso.org
ii © ISO 2016 – All rights reserved
Contents Page
Foreword .iv
Introduction .v
1 Scope . 1
2 Normative references . 1
3 Terms and definitions . 1
4 Conformance . 2
4.1 General . 2
4.2 Metadata for data quality . 2
4.3 Data quality measures . 2
5 Abbreviated terms . 2
5.1 Abbreviated terms . 2
5.2 Namespaces . 2
6 XML schema and document requirements . 3
6.1 General . 3
6.2 Core requirements . 3
6.3 XML namespaces and requirements . 4
Annex A (normative) Abstract test suite . 8
Annex B (informative) XML resources related to data quality .11
Annex C (informative) How ISO 19115-2:2009 is included in this document .12
Annex D (informative) Implementation examples .14
Bibliography .20
Foreword
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 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 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 Directives, 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 some 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 declarations 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 conformity assessment,
as well as information about ISO’s 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 19157 series can be found on the ISO website.
iv © ISO 2016 – All rights reserved
Introduction
This document utilizes encoding rules from ISO 19118 and ISO/TS 19139, and the implementation
approach from ISO/TS 19115-3 to define an XML schema implementation of ISO 19157:2013, and the
data quality related concepts from ISO 19115-2. This schema can be used to validate conformance of
XML instance documents with these conceptual models.
TECHNICAL SPECIFICATION ISO/TS 19157-2:2016(E)
Geographic information — Data quality —
Part 2:
XML schema implementation
1 Scope
This document defines data quality encoding in XML. It is an XML schema implementation derived from
ISO 19157:2013 and the data quality related concepts from ISO 19115-2.
2 Normative references
The following documents are referred to in the text in such a way that some or all of their content
constitutes requirements 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 19103:2015, Geographic information — Conceptual schema language
ISO 19105:2000, Geographic information — Conformance and testing
3 Terms and definitions
For the purposes of this document, the following terms and definitions apply.
ISO and IEC maintain terminological databases for use in standardization at the following addresses:
— IEC Electropedia: available at http://www.electropedia.org/
— ISO Online browsing platform: available at http://www.iso.org/obp/ui/
3.1
document
well-formed data object
[SOURCE: W3C XML]
3.2
schema document
XML document containing schema component definitions and declarations
Note 1 to entry: 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 (3.3).
[SOURCE: ISO 19136:2007, 4.1.55]
3.3
namespace
collection of names, identified by a URI reference, which are used in XML documents (3.1) as element
names and attribute names
[SOURCE: W3C XML]
3.4
package
general purpose mechanism for organizing elements into groups
EXAMPLE Identification information, metadata entity set information, constraint information.
[SOURCE: ISO 19103:2015, 4.27, modified – Example has been added.]
4 Conformance
4.1 General
The framework, concepts, and methodology for testing, and the criteria to be achieved to claim
conformance, are specified in ISO 19105. See also Annex A.
4.2 Metadata for data quality
XML documents containing XML fragments with elements related to data quality and metaquality
reports described in ISO 19157 or XML fragments related to data quality elements described in
ISO 19115-2 shall pass the test modules defined in A.2.
4.3 Data quality measures
XML documents containing XML fragments with elements related to data quality measures described
in ISO 19157 shall pass the test modules defined in A.3.
5 Abbreviated terms
5.1 Abbreviated terms
UML Unified Modeling Language
URI Unique Resource Identifier
URL Uniform Resource Locator
XML eXtensible Markup Language
XSD XML Schema Definition
5.2 Namespaces
XML namespaces defined in this document have URIs that follow the pattern: http://standards.iso.
org/iso/19157/-2/xxx/N.M, where xxx is the namespace abbreviation, N is the major version number,
and M is the minor version number. The namespace directories include descriptions of the content of
the namespace, and links to the base specification it implements and to the normative XML schema
location.
The following conventions are used to abbreviate the namespaces used to group XML elements.
Definition of namespaces specific to the implementation of ISO 19157 and their rationale are discussed in
6.3. Table 1 includes namespaces that are from schema defined in other specifications and are imported
by this implementation. The short string in the left column of Table 1 is used as a prefix to associate
an XML element with the namespace. The second column contains an English-language description of
the namespace, and the string in the third column is the URI that identifies the namespace. The final
column lists the standard from which this namespace is imported. Table 2 lists abbreviations and other
information for namespaces used for UML packages defined in ISO 19157:2013 and ISO 19115-2:2009.
2 © ISO 2016 – All rights reserved
Table 1 — External namespace URIs and namespace abbreviation conventions used in this
document
Namespace
Namespace
abbreviation Namespace URI Source
name
convention
gco Geog raphic http://standards.iso.org/iso/19139/gco/1.0 ISO/TS 19115-3
Common
gml Geography http://schemas.opengis.net/gml/3.2.1/gml.xsd ISO 19136
Markup
Language
xlink XML linking http://www.w3.org/1999/xlink XML Linking Language (XLink)
language Version 1.1
xs W3C XML http://www.w3.org/2001/XMLSchema W3C XML Schema Definition
Schema Language (XSD) 1.1 Part 1:
definition Structures
schema
W3C XML Schema Definition
Language (XSD) 1.1 Part 2:
Datatypes
Table 2 — Namespace URIs and namespace abbreviation conventions defined and used in this
document for packages defined in ISO 19157
Namespace
Namespace
abbreviation Scope Namespace URI ISO UML Package
name
convention
mdq Metadata for elements for data http://standards.iso.org/iso/19157/- ISO 19157
Data Quality quality and 2/mdq/1.0
<>
metaquality
reports DQ_DataQuality and
ISO 19115-2
<>
QE_CoverageResult
dqm Data Quality elements for data http://standards.iso.org/iso/19157/- <>
Measures quality measures 2/dqm/1.0
DQM_Measure
dqc Data Quality abstract classes http://standards.iso.org/iso/19157/- Implementation
Common required for modular 2/dqc/1.0 Model
implementation
6 XML schema and document requirements
6.1 General
This XML schema implementation of ISO 19157:2013 and the data quality concepts from
ISO 19115-2:2009 follows the encodi
...
TECHNICAL ISO/TS
SPECIFICATION 19157-2
First edition
2016-12-01
Geographic information — Data
quality —
Part 2:
XML schema implementation
Information geographique — Qualite des donnees —
Partie 2: Implémentation de schémas XML
Reference number
©
ISO 2016
© ISO 2016, Published in Switzerland
All rights 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 either ISO at the address below or ISO’s 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
copyright@iso.org
www.iso.org
ii © ISO 2016 – All rights reserved
Contents Page
Foreword .iv
Introduction .v
1 Scope . 1
2 Normative references . 1
3 Terms and definitions . 1
4 Conformance . 2
4.1 General . 2
4.2 Metadata for data quality . 2
4.3 Data quality measures . 2
5 Abbreviated terms . 2
5.1 Abbreviated terms . 2
5.2 Namespaces . 2
6 XML schema and document requirements . 3
6.1 General . 3
6.2 Core requirements . 3
6.3 XML namespaces and requirements . 4
Annex A (normative) Abstract test suite . 8
Annex B (informative) XML resources related to data quality .11
Annex C (informative) How ISO 19115-2:2009 is included in this document .12
Annex D (informative) Implementation examples .14
Bibliography .20
Foreword
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 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 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 Directives, 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 some 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 declarations 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 conformity assessment,
as well as information about ISO’s 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 19157 series can be found on the ISO website.
iv © ISO 2016 – All rights reserved
Introduction
This document utilizes encoding rules from ISO 19118 and ISO/TS 19139, and the implementation
approach from ISO/TS 19115-3 to define an XML schema implementation of ISO 19157:2013, and the
data quality related concepts from ISO 19115-2. This schema can be used to validate conformance of
XML instance documents with these conceptual models.
TECHNICAL SPECIFICATION ISO/TS 19157-2:2016(E)
Geographic information — Data quality —
Part 2:
XML schema implementation
1 Scope
This document defines data quality encoding in XML. It is an XML schema implementation derived from
ISO 19157:2013 and the data quality related concepts from ISO 19115-2.
2 Normative references
The following documents are referred to in the text in such a way that some or all of their content
constitutes requirements 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 19103:2015, Geographic information — Conceptual schema language
ISO 19105:2000, Geographic information — Conformance and testing
3 Terms and definitions
For the purposes of this document, the following terms and definitions apply.
ISO and IEC maintain terminological databases for use in standardization at the following addresses:
— IEC Electropedia: available at http://www.electropedia.org/
— ISO Online browsing platform: available at http://www.iso.org/obp/ui/
3.1
document
well-formed data object
[SOURCE: W3C XML]
3.2
schema document
XML document containing schema component definitions and declarations
Note 1 to entry: 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 (3.3).
[SOURCE: ISO 19136:2007, 4.1.55]
3.3
namespace
collection of names, identified by a URI reference, which are used in XML documents (3.1) as element
names and attribute names
[SOURCE: W3C XML]
3.4
package
general purpose mechanism for organizing elements into groups
EXAMPLE Identification information, metadata entity set information, constraint information.
[SOURCE: ISO 19103:2015, 4.27, modified – Example has been added.]
4 Conformance
4.1 General
The framework, concepts, and methodology for testing, and the criteria to be achieved to claim
conformance, are specified in ISO 19105. See also Annex A.
4.2 Metadata for data quality
XML documents containing XML fragments with elements related to data quality and metaquality
reports described in ISO 19157 or XML fragments related to data quality elements described in
ISO 19115-2 shall pass the test modules defined in A.2.
4.3 Data quality measures
XML documents containing XML fragments with elements related to data quality measures described
in ISO 19157 shall pass the test modules defined in A.3.
5 Abbreviated terms
5.1 Abbreviated terms
UML Unified Modeling Language
URI Unique Resource Identifier
URL Uniform Resource Locator
XML eXtensible Markup Language
XSD XML Schema Definition
5.2 Namespaces
XML namespaces defined in this document have URIs that follow the pattern: http://standards.iso.
org/iso/19157/-2/xxx/N.M, where xxx is the namespace abbreviation, N is the major version number,
and M is the minor version number. The namespace directories include descriptions of the content of
the namespace, and links to the base specification it implements and to the normative XML schema
location.
The following conventions are used to abbreviate the namespaces used to group XML elements.
Definition of namespaces specific to the implementation of ISO 19157 and their rationale are discussed in
6.3. Table 1 includes namespaces that are from schema defined in other specifications and are imported
by this implementation. The short string in the left column of Table 1 is used as a prefix to associate
an XML element with the namespace. The second column contains an English-language description of
the namespace, and the string in the third column is the URI that identifies the namespace. The final
column lists the standard from which this namespace is imported. Table 2 lists abbreviations and other
information for namespaces used for UML packages defined in ISO 19157:2013 and ISO 19115-2:2009.
2 © ISO 2016 – All rights reserved
Table 1 — External namespace URIs and namespace abbreviation conventions used in this
document
Namespace
Namespace
abbreviation Namespace URI Source
name
convention
gco Geog raphic http://standards.iso.org/iso/19139/gco/1.0 ISO/TS 19115-3
Common
gml Geography http://schemas.opengis.net/gml/3.2.1/gml.xsd ISO 19136
Markup
Language
xlink XML linking http://www.w3.org/1999/xlink XML Linking Language (XLink)
language Version 1.1
xs W3C XML http://www.w3.org/2001/XMLSchema W3C XML Schema Definition
Schema Language (XSD) 1.1 Part 1:
definition Structures
schema
W3C XML Schema Definition
Language (XSD) 1.1 Part 2:
Datatypes
Table 2 — Namespace URIs and namespace abbreviation conventions defined and used in this
document for packages defined in ISO 19157
Namespace
Namespace
abbreviation Scope Namespace URI ISO UML Package
name
convention
mdq Metadata for elements for data http://standards.iso.org/iso/19157/- ISO 19157
Data Quality quality and 2/mdq/1.0
<>
metaquality
reports DQ_DataQuality and
ISO 19115-2
<>
QE_CoverageResult
dqm Data Quality elements for data http://standards.iso.org/iso/19157/- <>
Measures quality measures 2/dqm/1.0
DQM_Measure
dqc Data Quality abstract classes http://standards.iso.org/iso/19157/- Implementation
Common required for modular 2/dqc/1.0 Model
implementation
6 XML schema and document requirements
6.1 General
This XML schema implementation of ISO 19157:2013 and the data quality concepts from
ISO 19115-2:2009 follows the encoding rules stated in ISO 19118, ISO/TS 19139:2007, and the
implementation approach from ISO/TS 19115-3:2016, Clause 8.
6.2 Core requirements
The requirements class described in Table 3 defines requirements that shall be met by any XML instance
document based on this document.
Table 3 — Core requirements for data quality instance
Requirements class
http://standards.iso.org/iso/19157/-2/1.0/req/data-quality-core-instance
Target Type XML instance document
Name Core requirements for data quality instance
Dependency http://standards.iso.org/iso/19157/-2/1.0/req/data-quality-core-encoding
Requirement /req/data-quality-external-instance/property-type-content
A property element instance SHALL have exactly one of 1) inline content (by-value) that is
a schema-valid XML class instance, or 2) an xlink:href attribute (by-reference value), or 3) a
gco:nilReason attribute (nil value).
Requirement /req/data-quality-external-instance/xml-well-formed
An XML instance document SHALL be well-formed and valid with r
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.