Skip to content

Commit

Permalink
EEA / Editor configuration / Add statistical fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
fxprunayre committed Feb 22, 2024
1 parent 4aa303b commit fab399c
Show file tree
Hide file tree
Showing 2 changed files with 137 additions and 0 deletions.
132 changes: 132 additions & 0 deletions schemas/iso19139/src/main/plugin/iso19139/layout/config-editor.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1615,6 +1615,138 @@
</action>
<text ref="eea-mmuw-help"/>

<field xpath="/gmd:MD_Metadata/gmd:identificationInfo/*/gmd:descriptiveKeywords[contains(*/gmd:thesaurusName/*/gmd:title/*/text(), 'Unit of measure')]"/>


<field name="Accuracy - overall"
xpath="/gmd:MD_Metadata/gmd:dataQualityInfo/*/gmd:report/*[
gmd:nameOfMeasure/*/text() = 'Accuracy - overall']/gmd:result/*/gmd:value"
del="ancestor::gmd:report"/>

<field name="Timeliness"
xpath="/gmd:MD_Metadata/gmd:dataQualityInfo/*/gmd:report/*[
gmd:nameOfMeasure/*/text() = 'Timeliness']/gmd:result/*/gmd:value"
del="ancestor::gmd:report"/>

<field name="Comparability - geographical"
xpath="/gmd:MD_Metadata/gmd:dataQualityInfo/*/gmd:report/*[
gmd:nameOfMeasure/*/text() = 'Comparability - geographical']/gmd:result/*/gmd:value"
del="ancestor::gmd:report"/>

<field name="Comparability - over time"
xpath="/gmd:MD_Metadata/gmd:dataQualityInfo/*/gmd:report/*[
gmd:nameOfMeasure/*/text() = 'Comparability - over time']/gmd:result/*/gmd:value"
del="ancestor::gmd:report"/>

<action type="add"
btnLabel="eea-add-statistical-measures"
or="report"
in="/gmd:MD_Metadata/gmd:dataQualityInfo/*">
<template>
<snippet label="eea-measure-accuracy">
<gmd:report>
<gmd:DQ_QuantitativeAttributeAccuracy>
<gmd:nameOfMeasure>
<gco:CharacterString>Accuracy - overall</gco:CharacterString>
</gmd:nameOfMeasure>
<gmd:measureDescription>
<gco:CharacterString>Assessment of accuracy, linked to a certain Data Set or domain, which is summarising the various components into one single measure.</gco:CharacterString>
</gmd:measureDescription>
<gmd:result>
<gmd:DQ_QuantitativeResult>
<gmd:valueUnit>
<gml:BaseUnit gml:id="d22718e609a1052934">
<gml:identifier codeSpace=""/>
<gml:unitsSystem/>
</gml:BaseUnit>
</gmd:valueUnit>
<gmd:value>
<gco:Record></gco:Record>
</gmd:value>
</gmd:DQ_QuantitativeResult>
</gmd:result>
</gmd:DQ_QuantitativeAttributeAccuracy>
</gmd:report>
</snippet>
<snippet label="eea-measure-timeliness">
<gmd:report>
<gmd:DQ_AccuracyOfATimeMeasurement>
<gmd:nameOfMeasure>
<gco:CharacterString>Timeliness</gco:CharacterString>
</gmd:nameOfMeasure>
<gmd:measureDescription>
<gco:CharacterString>Length of time between data availability and the event or phenomenon they describe.</gco:CharacterString>
</gmd:measureDescription>
<gmd:result>
<gmd:DQ_QuantitativeResult>
<gmd:valueUnit>
<gml:BaseUnit gml:id="d22718e609a1051924">
<gml:identifier codeSpace=""/>
<gml:unitsSystem/>
</gml:BaseUnit>
</gmd:valueUnit>
<gmd:value>
<gco:Record></gco:Record>
</gmd:value>
</gmd:DQ_QuantitativeResult>
</gmd:result>
</gmd:DQ_AccuracyOfATimeMeasurement>
</gmd:report>
</snippet>
<snippet label="eea-measure-comparability-geo">
<gmd:report>
<gmd:DQ_DomainConsistency>
<gmd:nameOfMeasure>
<gco:CharacterString>Comparability - geographical</gco:CharacterString>
</gmd:nameOfMeasure>
<gmd:measureDescription>
<gco:CharacterString>Extent to which statistics are comparable between geographical areas.</gco:CharacterString>
</gmd:measureDescription>
<gmd:result>
<gmd:DQ_QuantitativeResult>
<gmd:valueUnit>
<gml:BaseUnit gml:id="d22718e609a1051934">
<gml:identifier codeSpace=""/>
<gml:unitsSystem/>
</gml:BaseUnit>
</gmd:valueUnit>
<gmd:value>
<gco:Record></gco:Record>
</gmd:value>
</gmd:DQ_QuantitativeResult>
</gmd:result>
</gmd:DQ_DomainConsistency>
</gmd:report>
</snippet>
<snippet label="eea-measure-comparability-overtime">
<gmd:report>
<gmd:DQ_DomainConsistency>
<gmd:nameOfMeasure>
<gco:CharacterString>Comparability - over time</gco:CharacterString>
</gmd:nameOfMeasure>
<gmd:measureDescription>
<gco:CharacterString>Extent to which statistics are comparable or reconcilable over time.</gco:CharacterString>
</gmd:measureDescription>
<gmd:result>
<gmd:DQ_QuantitativeResult>
<gmd:valueUnit>
<gml:BaseUnit gml:id="d9765e687a1051934">
<gml:identifier codeSpace=""/>
<gml:unitsSystem/>
</gml:BaseUnit>
</gmd:valueUnit>
<gmd:value>
<gco:Record></gco:Record>
</gmd:value>
</gmd:DQ_QuantitativeResult>
</gmd:result>
</gmd:DQ_DomainConsistency>
</gmd:report>
</snippet>
</template>
</action>

<text ref="eea-hr"/>

<field xpath="/gmd:MD_Metadata/gmd:identificationInfo/*/gmd:descriptiveKeywords[*/gmd:thesaurusName/*/gmd:title/*/text() = 'Temporal resolution']"/>

Expand Down
5 changes: 5 additions & 0 deletions schemas/iso19139/src/main/plugin/iso19139/loc/eng/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,13 @@
</eea-lineage>
<eea-add-datasharelink>Add Webdav default link</eea-add-datasharelink>

<eea-add-statistical-measures>Add statistical measures</eea-add-statistical-measures>
<eea-mmu>Minimum Mapping Unit (ha)</eea-mmu>
<eea-mmw>Minimum Mapping width (m)</eea-mmw>
<eea-measure-accuracy>Accuracy - overall</eea-measure-accuracy>
<eea-measure-timeliness>Timeliness</eea-measure-timeliness>
<eea-measure-comparability-geo>Comparability - geographical</eea-measure-comparability-geo>
<eea-measure-comparability-overtime>Comparability - over time</eea-measure-comparability-overtime>
<eea-mmuw-help>
<div class="row">
<div class="col-sm-2"/>
Expand Down

0 comments on commit fab399c

Please sign in to comment.