diff --git a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/index-fields/index.xsl b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/index-fields/index.xsl index 1bf9072c1b1..7f72659091f 100644 --- a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/index-fields/index.xsl +++ b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/index-fields/index.xsl @@ -1167,21 +1167,28 @@ + ]/mdq:result/mdq:DQ_QuantitativeResult"> + select="(../../mdq:measure/*/mdq:nameOfMeasure/gco:CharacterString)[1]"/> + select="mdq:value"/> + select="mdq:valueUnit//gml:identifier"/> + select="(../../mdq:measure/*/mdq:measureDescription/gco:CharacterString)[1]"/> + + + { "name": "", "description": "", + + "date": "", + "value": "", @@ -1191,7 +1198,7 @@ } - + diff --git a/schemas/iso19139/src/main/plugin/iso19139/index-fields/index.xsl b/schemas/iso19139/src/main/plugin/iso19139/index-fields/index.xsl index 993604b2329..79322f2ee86 100644 --- a/schemas/iso19139/src/main/plugin/iso19139/index-fields/index.xsl +++ b/schemas/iso19139/src/main/plugin/iso19139/index-fields/index.xsl @@ -977,20 +977,25 @@ + or gmd:measureDescription/gco:CharacterString != '']/gmd:result/gmd:DQ_QuantitativeResult"> + select="(../../gmd:nameOfMeasure/gco:CharacterString)[1]"/> + select="(gmd:value)[1]"/> + select="(gmd:valueUnit//(gml:identifier|gml320:identifier))[1]"/> + select="(../../gmd:measureDescription/gco:CharacterString)[1]"/> + { "name": "", "description": "", + + "date": "", + "value": "", @@ -1000,7 +1005,7 @@ } - + diff --git a/web-ui/src/main/resources/catalog/components/search/mdview/mdviewDirective.js b/web-ui/src/main/resources/catalog/components/search/mdview/mdviewDirective.js index 509a10e9742..4808ce63f77 100644 --- a/web-ui/src/main/resources/catalog/components/search/mdview/mdviewDirective.js +++ b/web-ui/src/main/resources/catalog/components/search/mdview/mdviewDirective.js @@ -566,8 +566,7 @@ ]); module.directive("gnQualityMeasuresTable", [ - "gnGlobalSettings", - function (gnGlobalSettings) { + function () { return { templateUrl: "../../catalog/components/search/mdview/partials/qualitymeasures.html", @@ -579,9 +578,10 @@ name: false, description: false, value: false, - type: false + type: false, + date: false }; - for (idx in scope.measures) { + for (var idx in scope.measures) { angular.forEach(Object.keys(scope.columnVisibility), function (p) { if (scope.measures[idx][p]) { scope.columnVisibility[p] = true; diff --git a/web-ui/src/main/resources/catalog/components/search/mdview/partials/qualitymeasures.html b/web-ui/src/main/resources/catalog/components/search/mdview/partials/qualitymeasures.html index 7673cacffa6..cb4c891ed5f 100644 --- a/web-ui/src/main/resources/catalog/components/search/mdview/partials/qualitymeasures.html +++ b/web-ui/src/main/resources/catalog/components/search/mdview/partials/qualitymeasures.html @@ -7,6 +7,7 @@ {{(columnVisibility['name'] ? 'measureDescription' : 'measureName') | translate}} measureValue + measureDate @@ -17,6 +18,7 @@ {{m.value}} {{m.unit}} + {{m.date}} diff --git a/web-ui/src/main/resources/catalog/locales/en-v4.json b/web-ui/src/main/resources/catalog/locales/en-v4.json index af92c9e68bb..3f6190cd800 100644 --- a/web-ui/src/main/resources/catalog/locales/en-v4.json +++ b/web-ui/src/main/resources/catalog/locales/en-v4.json @@ -392,6 +392,7 @@ "measureName": "Measure", "measureDescription": "Description", "measureValue": "Value", + "measureDate": "Date", "switchPortals": "Switch to another Portal", "dataPreview": "Discover data", "tableOfContents": "Table of Contents", diff --git a/web-ui/src/main/resources/catalog/views/default/templates/recordView/type-dataset.html b/web-ui/src/main/resources/catalog/views/default/templates/recordView/type-dataset.html index 3cffea6401a..6d54f107e4c 100644 --- a/web-ui/src/main/resources/catalog/views/default/templates/recordView/type-dataset.html +++ b/web-ui/src/main/resources/catalog/views/default/templates/recordView/type-dataset.html @@ -169,7 +169,7 @@

technicalInformation