Quality Examples

From DGIWG
Jump to: navigation, search

These examples are only applicable in case of an ISO 19139 XML Schema Implementation of the first generation of standards. Their use can require a higher conformance class.

Quantitative result

Here are several examples of quantitative results.

The use of DMF RecordType element requires the DMF/Specific conformance class.

Boolean result

<?xml version="1.0" encoding="UTF-8"?>
<gmd:DQ_QuantitativeResult xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://standards.iso.org/itff/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd">
 <!--  ISO 19103 Boolean is implemented in XML as xs:boolean. 
   The current location of the XML Schema implementation of the xs namespace is http://www.w3.org/2001/XMLSchema.xsd. But, its location is subject to change. A URN is used instead of a URL to prevent any change. urn:dgiwg:metadata:dmf:1.0:xmlns:w3:XMLSchema:2001:boolean currently corresponds to http://www.w3.org/2001/XMLSchema.xsd#boolean -->
 <gmd:valueType>
  <gco:RecordType xlink:href="http://www.w3.org/2001/XMLSchema.xsd#boolean">Boolean</gco:RecordType>
 </gmd:valueType>
 <!-- The value unit can be defaulted to unity for Boolean
         NOTE: The xlink:href attribute for the unit of measure is nowadays pointing on the OGC register. It will point on the DGIWG register when this one will be operational. -->
 <gmd:valueUnit xlink:href="http://www.opengis.net/def/uom/OGC/1.0/unity"/>
 <!-- Encoding of a record containing a Boolean value -->
 <gmd:value>
  <gco:Record xsi:type="xs:boolean">true</gco:Record>
 </gmd:value>
</gmd:DQ_QuantitativeResult>

Citation result

<gmd:DQ_QuantitativeResult xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://standards.iso.org/itff/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd">

<gmd:valueType>

<gco:RecordType xlink:href="urn:dgiwg:metadata:dmf:1.0:xmlns:isotc211:gmd:1.0:CI_Citation_Type">CI_Citation</gco:RecordType>

</gmd:valueType>

<gmd:valueUnit xlink:href="http://www.opengis.net/def/uom/OGC/1.0/unity"/>

<gmd:value>

<gco:Record xsi:type="gmd:CI_Citation_Type">

<gmd:title>

<gco:CharacterString>Citation title</gco:CharacterString>

</gmd:title>

<gmd:date>

<gmd:CI_Date>

<gmd:date>

<gco:Date>2013-05-27</gco:Date>

</gmd:date>

<gmd:dateType>

<gmd:CI_DateTypeCode codeListValue="creation" codeList="urn:dgiwg:metadata:dmf:1.0:iso19115:2003:CI_DateTypeCode" codeSpace="urn:dgiwg">urn:dgiwg:metadata:dmf:1.0:iso19115:2003:CI_DateTypeCode:creation</gmd:CI_DateTypeCode>

</gmd:dateType>

</gmd:CI_Date>

</gmd:date>

</gco:Record>

</gmd:value>

</gmd:DQ_QuantitativeResult>

Date result

<?xml version="1.0" encoding="UTF-8"?>

<gmd:DQ_QuantitativeResult xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://standards.iso.org/itff/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd">

<gmd:valueType>

<gco:RecordType xlink:href="urn:dgiwg:metadata:dmf:1.0:xmlns:isotc211:gco:1.0:Date_Type">Date</gco:RecordType>

</gmd:valueType>

<gmd:valueUnit xlink:href="http://www.opengis.net/def/uom/OGC/1.0/unity"/>

<gmd:value>

<gco:Record xsi:type="gco:Date_Type">2013-05-27</gco:Record>

</gmd:value>

</gmd:DQ_QuantitativeResult>

DateTime result

<?xml version="1.0" encoding="UTF-8"?>

<gmd:DQ_QuantitativeResult xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://standards.iso.org/itff/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd">

<gmd:valueType>

<gco:RecordType xlink:href="urn:dgiwg:metadata:dmf:1.0:xmlns:w3:XMLSchema:2001:dateTime">DateTime</gco:RecordType>

</gmd:valueType>

<gmd:valueUnit xlink:href="http://www.opengis.net/def/uom/OGC/1.0/unity"/>

<gmd:value>

<gco:Record xsi:type="xs:dateTime">2013-05-27T18:07:34</gco:Record>

</gmd:value>

</gmd:DQ_QuantitativeResult>

File result

<?xml version="1.0" encoding="UTF-8"?>

<gmd:DQ_QuantitativeResult xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:gco="http://www.isotc211.org/2005/gco"

xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://www.isotc211.org/2005/gmx http://standards.iso.org/itff/PubliclyAvailableStandards/ISO_19139_Schemas/gmx/gmx.xsd">

<gmd:valueType>

<gco:RecordType xlink:href="urn:dgiwg:metadata:dmf:1.0:xmlns:isotc211:gmx:1.0:MX_SupportFile_Type">MX_SupportFile</gco:RecordType>

</gmd:valueType>

<gmd:valueUnit xlink:href="http://www.opengis.net/def/uom/OGC/1.0/unity"/>

<gmd:value>

<gco:Record xsi:type="gmx:MX_SupportFile_Type" >

<gmx:fileName><gmx:FileName src="thePath/theFileName.xml">Title of the support file</gmx:FileName></gmx:fileName>

<gmx:fileDescription><gco:CharacterString>An explanation of the content of the support file</gco:CharacterString></gmx:fileDescription>

<gmx:fileType><gmx:MimeFileType type="text/xml">XML File</gmx:MimeFileType></gmx:fileType>

</gco:Record>

</gmd:value>

</gmd:DQ_QuantitativeResult>

Integer result

<?xml version="1.0" encoding="UTF-8"?>

<gmd:DQ_QuantitativeResult xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://standards.iso.org/itff/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd">

<gmd:valueType>

<gco:RecordType xlink:href="http://www.w3.org/2001/XMLSchema.xsd#integer">Integer</gco:RecordType>

</gmd:valueType>

<gmd:valueUnit xlink:href="http://www.opengis.net/def/uom/OGC/1.0/unity"/>

<gmd:value>

<gco:Record xsi:type="xs:integer">12</gco:Record>

</gmd:value>

</gmd:DQ_QuantitativeResult>

Float result

<?xml version="1.0" encoding="UTF-8"?>

<gmd:DQ_QuantitativeResult xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://standards.iso.org/itff/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd">

<gmd:valueType>

<gco:RecordType xlink:href=" http://www.w3.org/2001/XMLSchema.xsd#double">Real</gco:RecordType>

</gmd:valueType>

<gmd:valueUnit xlink:href="http://www.opengis.net/def/uom/OGC/1.0/metre"/>

<gmd:value>

<gco:Record xsi:type="xs:double">12.0</gco:Record>

</gmd:value>

</gmd:DQ_QuantitativeResult>


Record result

A result is expressed using the standard XML Schema Implementation of a standard data type when it exists. The DMF Record enables a generic encoding of any type of structured information which needs to be expressed while no standard encoding is available. A record expressing the red, green and blue component of an RGB image, and a record expressing a 2D matrix of real values are provided as examples.

RGB matrix

<?xml version="1.0" encoding="UTF-8"?>

<gmd:DQ_QuantitativeResult xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:egco="urn:dgiwg:xmlns:dmf:1.0:iso-g1:egco" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:dgiwg:xmlns:dmf:1.0:iso-g1:egco http://www.dgiwg.org/xmln/dmf/1.0/iso-g1/egco/egco.xsd">

<gmd:valueType>

<gco:RecordType xlink:href="urn:dgiwg:xmlns:dmf:1.0:iso-g1:egco:Record">Record</gco:RecordType>

</gmd:valueType>

<gmd:valueUnit xlink:href="http://www.opengis.net/def/uom/OGC/1.0/unity"/>

<gmd:value>

<egco:Record>

<egco:property name="red">

<gml:Count>12</gml:Count>

</egco:property>

<egco:property name="green">

<gml:Count>223</gml:Count>

</egco:property>

<egco:property name="blue">

<gml:Count>153</gml:Count>

</egco:property>

</egco:Record>

</gmd:value>

</gmd:DQ_QuantitativeResult>

2D matrix

<?xml version="1.0" encoding="UTF-8"?>

<gmd:DQ_QuantitativeResult xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:egco="urn:dgiwg:xmlns:dmf:1.0:iso-g1:egco" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:dgiwg:xmlns:dmf:1.0:iso-g1:egco http://www.dgiwg.org/xmln/dmf/1.0/iso-g1/egco/egco.xsd">

<gmd:valueType>

<gco:RecordType xlink:href="urn:dgiwg:xmlns:dmf:1.0:iso-g1:egco:Record">Record</gco:RecordType>

</gmd:valueType>

<gmd:valueUnit xlink:href="http://www.opengis.net/def/uom/OGC/1.0/unity"/>

<gmd:value>

<egco:Record>

<egco:property name="2dMatrix">

<gml:ValueArray gml:id="rows">

<gml:valueComponent>

<gml:QuantityList uom="http://www.opengis.net/def/uom/OGC/1.0/metre">12.0 25.0 inapplicable 36.0 missing</gml:QuantityList>

</gml:valueComponent>

<gml:valueComponent>

<gml:QuantityList uom="http://www.opengis.net/def/uom/OGC/1.0/metre">13.0 inapplicable 36.0 missing 12.0</gml:QuantityList>

</gml:valueComponent>

</gml:ValueArray>

</egco:property>

</egco:Record>

</gmd:value>

</gmd:DQ_QuantitativeResult>

Example of Quantitative Result

Horizontal geometric accuracy

This quality report provides the absolute horizontal accuracy of the data. The DMF view of this result is as following:


Identifier Value
measureName Horizontal accuracy
measureDescription This measure provides the absolute horizontal accuracy of the data.
method The method used is described in STANAG 2215.
qtyResult


unit meter
result 12.0


And encoded in XML as a float result:

<?xml version="1.0" encoding="UTF-8"?>

<gmd:DQ_AbsoluteExternalPositionalAccuracy>

<gmd:nameOfMeasure>

<gco:CharacterString> Horizontal accuracy</gco:CharacterString>

</gmd:nameOfMeasure>

<gmd:measureDescription>

<gco:CharacterString> This measure provides the absolute horizontal accuracy of the data.</gco:CharacterString>

</gmd:measureDescription>

<gmd:evaluationMethodDescription>

<gco:CharacterString> The method used is described in STANAG 2215.</gco:CharacterString>

</gmd:evaluationMethodDescription>

</gmd:result>

<gmd:DQ_QuantitativeResult xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://standards.iso.org/itff/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd">

<gmd:valueType>

<gco:RecordType xlink:href=" http://www.w3.org/2001/XMLSchema.xsd#double">Real</gco:RecordType>

</gmd:valueType>

<gmd:valueUnit xlink:href="http://www.opengis.net/def/uom/OGC/1.0/metre"/>

<gmd:value>

<gco:Record xsi:type="xs:double">12.0</gco:Record>

</gmd:value>

</gmd:DQ_QuantitativeResult>

</gmd:result>

</gmd:DQ_AbsoluteExternalPositionalAccuracy>


Descriptive result

Descriptive results can be expressed through different ways: String, FreeText or Anchor. The expression through Anchor requires a conformance to the DMF/Data+ metadata class.

Anchor result

This type of result requires a conformance to the DMF/Data+ conformance class.


<?xml version="1.0" encoding="UTF-8"?>

<gmd:DQ_QuantitativeResult xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:gco="http://www.isotc211.org/2005/gco"

xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://www.isotc211.org/2005/gmx http://standards.iso.org/itff/PubliclyAvailableStandards/ISO_19139_Schemas/gmx/gmx.xsd">

<gmd:valueType>

<gco:RecordType xlink:href="urn:dgiwg:metadata:dmf:1.0:xmlns:isotc211:gmx:1.0:Anchor_Type">Anchor</gco:RecordType>

</gmd:valueType>

<gmd:valueUnit xlink:href="http://www.opengis.net/def/uom/OGC/1.0/unity"/>

<gmd:value>

<gco:Record xsi:type="gmx:Anchor_Type" xlink:href="urn:dgiwg:metadata:dmf:1.0:xmlns:isotc211:gmx:1.0:Anchor_Type"> Anchor XML Type</gco:Record>

</gmd:value>

</gmd:DQ_QuantitativeResult>

FreeText result

<?xml version="1.0" encoding="UTF-8"?>

<gmd:DQ_QuantitativeResult xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://standards.iso.org/itff/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd">

<gmd:valueType>

<gco:RecordType xlink:href="urn:dgiwg:metadata:dmf:1.0:xmlns:isotc211:gmd:1.0:PT_FreeText_Type">PT_FreeText</gco:RecordType>

</gmd:valueType>

<gmd:valueUnit xlink:href="http://www.opengis.net/def/uom/OGC/1.0/unity"/>

<gmd:value>

<gco:Record xsi:type="gmd:PT_FreeText_Type">

<gmd:textGroup>

<gmd:LocalisedCharacterString locale="urn:dgiwg:metadata:dmf:1.0:locale:eng:uk:utf8">Any localised character string</gmd:LocalisedCharacterString>

</gmd:textGroup>

<gmd:textGroup>

<gmd:LocalisedCharacterString locale="urn:dgiwg:metadata:dmf:1.0:locale:fra:fra:utf8">N'importe quelle chaîne de caractères</gmd:LocalisedCharacterString>

</gmd:textGroup>

</gco:Record>

</gmd:value>

</gmd:DQ_QuantitativeResult>

String result

<?xml version="1.0" encoding="UTF-8"?>

<gmd:DQ_QuantitativeResult xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://standards.iso.org/itff/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd">

<gmd:valueType>

<gco:RecordType xlink:href="urn:dgiwg:metadata:dmf:1.0:xmlns:w3:XMLSchema:2001:string">CharacterString</gco:RecordType>

</gmd:valueType>

<gmd:valueUnit xlink:href="http://www.opengis.net/def/uom/OGC/1.0/unity"/>

<gmd:value>

<gco:Record xsi:type="xs:string">Any character string</gco:Record>

</gmd:value>

</gmd:DQ_QuantitativeResult>

Coverage result

Example of vector quality coverage result

Cartography of homogeneous quality zones

This mask provides qualitative information about the quality of the product.

Format: GML

Type of geometry: surface

Content:Contains homogeneous quality areas.

To each area are associated the four following information:* HQUAL (String) A mark on the planimetric geometric precision from A to E.

  • VQUAL (String) A mark on the altimetric geometric precision from 0 to 4.
  • FIDEL (String) An indication on the fidelity towards the specification: M, R or X
  • VALDAT (String) The year in which the information is considered as valid.


The information is represented this way in DMF:

Table 3 – Vector coverage result example


Unregulated quality element:

DQ_AbsoluteExternalPositionalAccuracy

   
  measureName Planimetric quality cartography
  measureDescription This layer contains the planimetric evaluated quality
  method Automatic derivation
  coverage Result See next table

 


coverageResult          
  format        
    citation Name   GML 3.2.1
      Version   3.2.1
  geometry       surface
  file   name   ./QUALITY/<FileName>.gml
      description   File containing the quality coverage
  content        
      contentType   thematicClassification
      Range    
        identifier HQUAL
        type string
        descriptor Horizontal quality
      Range    
        identifier VQUAL
        type string
        descriptor Vertical quality
      Range    
        identifier FIDEL
        type string
        descriptor Compliance
      Range    
        identifier VALDAT
        type string
        descriptor Date of validity
      SpecialCell    
        name HQUAL#A
        definition Horizontal quality better than 6m
        cellvalue A
      SpecialCell    
        name HQUAL#B
        definition Horizontal quality better than 12,5m
        cellvalue B
      SpecialCell    
        name HQUAL#C
        definition Horizontal quality better than 25m
        cellvalue C
      SpecialCell    
        name HQUAL#D
        definition Horizontal quality worse than 25m
        cellvalue D
      SpecialCell    
        name HQUAL#E
        definition Unevaluated or unknown horizontal quality
        cellvalue E
      SpecialCell    
        name VQUAL#4
        definition Unevaluated or unknown vertical quality
        cellvalue 4
      SpecialCell    
        name FIDEL#M
        definition Compliant to product requirements
        cellvalue M
      SpecialCell    
        name FIDEL#R
        definition Revision / update required
        cellvalue R
      SpecialCell    
        name FIDEL#X
        definition Unevaluated or unknown compliance
        cellvalue X
      SpecialCell    
        name VALDAT#YYYY
        definition Unknown date of validity
        cellvalue YYYY

This would lead to the following gml file:

<?xml version="1.0" encoding="UTF-8"?>

<gml:MultiSurfaceCoverage xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/gml/3.2 http://schemas.opengis.net/gml/3.2.1/gml.xsd" gml:id="coverage">

<gml:multiSurfaceDomain>

<gml:MultiSurface gml:id="geometry" srsName="urn:x-ogc:def:crs:EPSG::4326">

<gml:surfaceMember>

<gml:Surface gml:id="surface1">

<gml:patches>

<gml:PolygonPatch>

<gml:exterior>

<gml:Ring>

<gml:curveMember>

<gml:Curve gml:id="curve1">

<gml:segments>

<gml:LineStringSegment>

<gml:pos>21 20</gml:pos>

<gml:pos>20 20</gml:pos>

</gml:LineStringSegment>

<gml:LineStringSegment>

<gml:pos>20 20</gml:pos>

<gml:pos>20 21</gml:pos>

</gml:LineStringSegment>

<gml:LineStringSegment>

<gml:pos>20 21</gml:pos>

<gml:pos>20 22</gml:pos>

</gml:LineStringSegment>

<gml:LineStringSegment>

<gml:pos>20 22</gml:pos>

<gml:pos>21 22</gml:pos>

</gml:LineStringSegment>

<gml:LineStringSegment>

<gml:pos>21 22</gml:pos>

<gml:pos>21 21</gml:pos>

</gml:LineStringSegment>

<gml:LineStringSegment>

<gml:pos>21 21</gml:pos>

<gml:pos>21 20</gml:pos>

</gml:LineStringSegment>

</gml:segments>

</gml:Curve>

</gml:curveMember>

</gml:Ring>

</gml:exterior>

</gml:PolygonPatch>

</gml:patches>

</gml:Surface>

</gml:surfaceMember>

</gml:MultiSurface>

</gml:multiSurfaceDomain>

<gml:rangeSet>

<gml:ValueArray gml:id="HQUAL">

<gml:valueComponents>

<gml:Category>A</gml:Category>

</gml:valueComponents>

</gml:ValueArray>

<gml:ValueArray gml:id="VQUAL">

<gml:valueComponents>

<gml:Category>4</gml:Category>

</gml:valueComponents>

</gml:ValueArray>

<gml:ValueArray gml:id="FIDEL">

<gml:valueComponents>

<gml:Category>M</gml:Category>

</gml:valueComponents>

</gml:ValueArray>

<gml:ValueArray gml:id="VALDAT">

<gml:valueComponents>

<gml:Category>2007</gml:Category>

</gml:valueComponents>

</gml:ValueArray>

</gml:rangeSet>

</gml:MultiSurfaceCoverage>==== Data gaps mask ====

This mask provides information about the inclusion of gaps (no data) into the dataset.

Format: GML

Type of geometry: surface

Content: gaps.

To each area are associated the following information:* Gaps reason (String): An indication of the reason why there is no data on the area (sea, cloud, etc.).


The information is represented this way in DMF:

Table 4 – Data gaps example


Unregulated quality element:

DQ_CompletenessOmission

   
  measureName Data gaps mask
  measureDescription Detection of “no data” area
  method Automatic derivation
  coverage Result See next table

 


coverageResult          
  format        
    citation Name   GML 3.2.1
      Version   3.2.1
  geometry       surface
  file   name   ./QUALITY/<FileName>.gml
      description   File containing the quality coverage
  content        
      contentType   thematicClassification
      Range    
        identifier GAP
        type string
        descriptor Reason of the gap
      SpecialCell    
        name GAP#UNKNOWN
        definition Unknown reason for the gap
        cellvalue UNKNOWN

This would lead to the following gml file:

<?xml version="1.0" encoding="UTF-8"?>

<gml:MultiSurfaceCoverage xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/gml/3.2 http://schemas.opengis.net/gml/3.2.1/gml.xsd" gml:id="coverage">

<gml:multiSurfaceDomain>

<gml:MultiSurface gml:id="geometry" srsName="urn:x-ogc:def:crs:EPSG::4326">

<gml:surfaceMember>

<gml:Surface gml:id="surface1">

<gml:patches>

<gml:PolygonPatch>

<gml:exterior>

<gml:Ring>

<gml:curveMember>

<gml:Curve gml:id="curve1">

<gml:segments>

<gml:LineStringSegment>

<gml:pos>21 20</gml:pos>

<gml:pos>20 20</gml:pos>

</gml:LineStringSegment>

<gml:LineStringSegment>

<gml:pos>20 20</gml:pos>

<gml:pos>20 21</gml:pos>

</gml:LineStringSegment>

<gml:LineStringSegment>

<gml:pos>20 21</gml:pos>

<gml:pos>20 22</gml:pos>

</gml:LineStringSegment>

<gml:LineStringSegment>

<gml:pos>20 22</gml:pos>

<gml:pos>21 22</gml:pos>

</gml:LineStringSegment>

<gml:LineStringSegment>

<gml:pos>21 22</gml:pos>

<gml:pos>21 21</gml:pos>

</gml:LineStringSegment>

<gml:LineStringSegment>

<gml:pos>21 21</gml:pos>

<gml:pos>21 20</gml:pos>

</gml:LineStringSegment>

</gml:segments>

</gml:Curve>

</gml:curveMember>

</gml:Ring>

</gml:exterior>

</gml:PolygonPatch>

</gml:patches>

</gml:Surface>

</gml:surfaceMember>

</gml:MultiSurface>

</gml:multiSurfaceDomain>

<gml:rangeSet>

<gml:ValueArray gml:id="GAP">

<gml:valueComponents>

<gml:Category>cloud</gml:Category>

</gml:valueComponents>

</gml:ValueArray>

</gml:rangeSet>

</gml:MultiSurfaceCoverage>


Example of raster quality coverage result

Water mask

It contains water surfaces larger than 3km2 for which the DEM must be set to a constant altitude. It is produced by manual selection on an orthoimage, or automatic image-cutting process.

Format: Geotiff

Content:

0: water or sea

1: no water
Table 5 – Raster coverage result example


Unregulated quality Element: DQ_QuantitativeAttributeAccuracy    
  measureName Water mask
  measureDescription This layer contains water areas
  method automatic derivation
  coverageResult See next table

 


coverageResult      
  format      
    citation Name GEOTIFF
      Version 1.0
  gridRep axisDimensionsProperties dimensionName row
      dimensionSize 1024
    axisDimensionsProperties dimensionName column
      dimensionSize 1024
    cellGeom   area
  file name   ./QUALITY/<File Name>.tif
    description   Image of the quality result.
  content contentType   image
    range identifier 1
      type integer
      description grayscale
      bitsPerValue 8
    specialCell name Water
      definition Water area or sea presence
      cellValue 0
    specialCell name No Water
      definition Absence of water
      cellValue 1