Skip to content

Usage Examples

ghobona edited this page Jul 5, 2018 · 11 revisions

Introduction

This page provides informative examples of how OGC names can be used in metadata, data and other resources.

ISO 19139 Metadata

Below is an example of how the persistent URIs of SOS 2.0 conformance classes could be used within ISO 19139 metadata. The structure of the persistent URIs is presented in OGC 10-103 on the OGC-NA policies web page. Note as well that this example includes two reports, one for the SOS 2.0 Core conformance class (http://www.opengis.net/spec/SOS/2.0/conf/core) and another for the SOS Observation Retrieval by ID conformance class (http://www.opengis.net/spec/SOS/2.0/conf/obsByIdRetrieval). The referencing of the conformance classes uses gmx:Anchor elements as per Technical Guidance for the implementation of INSPIRE dataset and service metadata based on ISO/TS 19139:2007.

   <gmd:dataQualityInfo>
        <gmd:DQ_DataQuality>
            <gmd:scope>
                <gmd:DQ_Scope>
                    <gmd:level>
                        <gmd:MD_ScopeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ScopeCode" codeListValue="service">service</gmd:MD_ScopeCode>
                    </gmd:level>
                </gmd:DQ_Scope>
            </gmd:scope>
            <gmd:report>
                <gmd:DQ_DomainConsistency>
                    <gmd:nameOfMeasure>
                        <gco:CharacterString>Conformance to Sensor Observation Service (SOS) 2.0 Core Conformance Class</gco:CharacterString>
                    </gmd:nameOfMeasure>
                    <gmd:result>
                        <gmd:DQ_ConformanceResult>
                            <gmd:specification>
                                <gmd:CI_Citation>
                                    <gmd:title>
                                        <gmx:Anchor xlink:href="http://www.opengis.net/spec/SOS/2.0/conf/core">Sensor Observation Service (SOS) 2.0 - Core - Conformance Class</gmx:Anchor>
                                    </gmd:title>
                                    <gmd:date>
                                        <gmd:CI_Date>
                                            <date>
                                                <gco:Date>2012-04-20</gco:Date>
                                            </date>
                                            <dateType>
                                                <gmd:CI_DateTypeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication">publication</gmd:CI_DateTypeCode>
                                            </dateType>
                                        </gmd:CI_Date>
                                    </gmd:date>                                   
                                </gmd:CI_Citation>
                            </gmd:specification>
                            <gmd:explanation>
                                <gco:CharacterString>This service satisfies all of the requirements of the SOS 2.0 Core Conformance Class</gco:CharacterString>
                            </gmd:explanation>
                            <gmd:pass>
                                <gco:Boolean>true</gco:Boolean>
                            </gmd:pass>
                        </gmd:DQ_ConformanceResult>
                    </gmd:result>
                </gmd:DQ_DomainConsistency>
            </gmd:report> 
            <gmd:report>
                <gmd:DQ_DomainConsistency>
                    <gmd:nameOfMeasure>
                        <gco:CharacterString>Conformance to SOS Observation Retrieval by ID Conformance Class</gco:CharacterString>
                    </gmd:nameOfMeasure>
                    <gmd:result>
                        <gmd:DQ_ConformanceResult>
                            <gmd:specification>
                                <gmd:CI_Citation>
                                    <gmd:title>
                                        <gmx:Anchor xlink:href="http://www.opengis.net/spec/SOS/2.0/conf/obsByIdRetrieval">Sensor Observation Service (SOS) 2.0 - SOS Observation Retrieval by ID - Conformance Class</gmx:Anchor>
                                    </gmd:title>
                                    <gmd:date>
                                        <gmd:CI_Date>
                                            <date>
                                                <gco:Date>2012-04-20</gco:Date>
                                            </date>
                                            <dateType>
                                                <gmd:CI_DateTypeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication">publication</gmd:CI_DateTypeCode>
                                            </dateType>
                                        </gmd:CI_Date>
                                    </gmd:date>                                    
                                </gmd:CI_Citation>
                            </gmd:specification>
                            <gmd:explanation>
                                <gco:CharacterString>This service satisfies all of the requirements of the SOS Observation Retrieval by ID Conformance Class</gco:CharacterString>
                            </gmd:explanation>
                            <gmd:pass>
                                <gco:Boolean>true</gco:Boolean>
                            </gmd:pass>
                        </gmd:DQ_ConformanceResult>
                    </gmd:result>
                </gmd:DQ_DomainConsistency>
            </gmd:report>                                  
            <gmd:lineage>
                <gmd:LI_Lineage>
                    <gmd:statement>
                        <gco:CharacterString>Some information about the lineage of the service</gco:CharacterString>
                    </gmd:statement>
                </gmd:LI_Lineage>
            </gmd:lineage>
        </gmd:DQ_DataQuality>
    </gmd:dataQualityInfo>
Clone this wiki locally