Skip to content

Commit

Permalink
Building blocks postprocessing
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-metalinkage committed Oct 29, 2024
1 parent bc0af1d commit 4ee0068
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion build/bblocks.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"name": "Building Blocks - ISO 19115 JSON Schema options",
"abstract": "This repository contains various test cases and examples of previous work to explore options for encoding ISO 19115 using JSON\n",
"description": "Each BuildingBlock will start using the original proposals available, but should be \"refactored\" to remove content duplicated from other specifications, to be replaced by references to building blocks for those specifications.\n\nThis will ensure compliance - but also make the relationships transparent. It will also be easier to maintain.\n",
"modified": "2024-10-29T01:16:26.023021",
"modified": "2024-10-29T01:17:24.444870",
"tooling": {
"bblocks-postprocess": {
"commitId": "\"d42a292b30b8f9c89b07edcdc1ce6c98d4a1e6a2",
Expand Down
12 changes: 6 additions & 6 deletions build/bblocks.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
rdfs:label "Prior BP" ;
dct:abstract "This is a building block based on OGC 17-084 EO Collection GeoJSON(-LD) Encoding. " ;
dct:created "2023-05-19T00:00:00+00:00"^^xsd:dateTime ;
dct:description [ dct:format "text/html" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/iso19115-json/bblock/ogc.metacat.iso19115.bp17-084" ],
[ dct:format "application/json" ;
dct:description [ dct:format "application/json" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/iso19115-json/build/generateddocs/json-full/metacat/iso19115/bp17-084/index.json" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/iso19115-json/bblock/ogc.metacat.iso19115.bp17-084" ],
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/iso19115-json/build/generateddocs/markdown/metacat/iso19115/bp17-084/index.md" ] ;
dct:hasVersion "1.0" ;
Expand Down Expand Up @@ -50,14 +50,14 @@ This will ensure compliance - but also make the relationships transparent. It wi
bblocks:imports <https://opengeospatial.github.io/bblocks/register.json> .

[] a prov:Activity ;
prov:endedAtTime "2024-10-29T01:16:27.609250"^^xsd:dateTime ;
prov:startedAtTime "2024-10-29T01:16:27.544091"^^xsd:dateTime ;
prov:endedAtTime "2024-10-29T01:17:28.119894"^^xsd:dateTime ;
prov:startedAtTime "2024-10-29T01:17:28.053215"^^xsd:dateTime ;
prov:used [ a prov:Entity ;
dct:format "application/yaml" ;
rdfs:seeAlso <file:///src/ogc/bblocks/register-context.yaml> ],
[ a prov:Entity ;
dct:format "application/json" ;
dct:hasVersion "git:a692910037b6c464506519817f6bb592032cd6d2" ;
dct:hasVersion "git:bc0af1de590afb0d2527094c8e7a0fc5b3f040e3" ;
rdfs:seeAlso <https://ogcincubator.github.io/iso19115-json/build/register.json> ] ;
prov:wasAssociatedWith [ a prov:Agent,
schema:SoftwareApplication ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
},
{
"language": "ttl",
"code": "@prefix dcat: <http://www.w3.org/ns/dcat#> .\n@prefix dcmitype: <http://purl.org/dc/dcmitype/> .\n@prefix dct: <http://purl.org/dc/terms/> .\n@prefix eop: <http://www.opengis.net/ont/eo-geojson/1.0/> .\n@prefix foaf: <http://xmlns.com/foaf/0.1/> .\n@prefix gj: <https://purl.org/geojson/vocab#> .\n@prefix owc: <http://www.opengis.net/ont/owc/1.0/> .\n@prefix prov: <http://www.w3.org/ns/prov#> .\n@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .\n@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .\n@prefix skos: <http://www.w3.org/2004/02/skos/core#> .\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .\n\n<http://fedeo.esa.int/opensearch/request/?httpAccept=application/geo%2Bjson&parentIdentifier=EOP%3AESA%3AFEDEO%3ACOLLECTIONS&uid=LANDSAT.ETM.GTC> a gj:Feature ;\n dct:accessRights [ a dct:RightsStatement ;\n rdfs:label \"Utilisation of this data is subject to ESA's Earth Observation Terms and Conditions\" ] ;\n dct:date \"1999-07-01T00:00:00Z/2003-12-31T00:00:00Z\" ;\n dct:description \"This dataset contains all the Landsat 7 Enhanced Thematic Mapper high-quality ortho-rectified L1T dataset over Kiruna, Maspalomas and Matera visibility masks. The Landsat 7 ETM+ scenes typically covers 185 x 170 km. A standard full scene is nominally centred on the intersection between a Path and Row (the actual image centre can vary by up to 100m). Each band requires 50MB (uncompressed), and Band 8 requires 200MB (panchromatic band with resolution of 15m opposed to 30m).\" ;\n dct:identifier \"LANDSAT.ETM.GTC\" ;\n dct:license [ a dct:LicenseDocument ;\n rdfs:label \"Fast Registration with immediate access Data is available via EOLI-SA upon registration for the On The Fly Service. For information on access and use of the On-The-Fly service please refer to the OTF FAQ page and news of 28 July 2016.\" ] ;\n dct:modified \"2003-12-31T00:00:00Z\" ;\n dct:temporal [ dcat:endDate \"2003-12-31T00:00:00Z\" ;\n dcat:startDate \"1999-07-01T00:00:00Z\" ] ;\n dct:title \"LANDSAT 7 ETM+ (Enhanced Thematic Mapper Plus) Geolocated Terrain Corrected Systematic processing (LANDSAT.ETM.GTC)\" ;\n dct:type dcmitype:Collection ;\n owc:links [ ] ;\n dcat:endpointDescription [ owc:code <http://www.opengis.net/spec/owc-geojson/1.0/req/wps> ;\n owc:operations [ owc:code <file:///github/workspace/Execute> ;\n owc:href \"http://185.52.193.7/wps-proxy/\" ;\n owc:method \"POST\" ] ],\n [ owc:code <http://www.opengis.net/spec/owc-geojson/1.0/req/wcs> ;\n owc:operations [ owc:code <file:///github/workspace/DescribeCoverage> ;\n owc:href \"http://131.176.196.55/wcs?service=WCS&Request=DescribeCoverage&version=2.0.0&CoverageId=LE7_RGB\" ;\n owc:method \"GET\" ;\n owc:type \"application/xml\" ],\n [ owc:code <file:///github/workspace/GetCapabilities> ;\n owc:href \"http://131.176.196.55/wcs?service=WCS&Request=GetCapabilities\" ;\n owc:method \"GET\" ] ] ;\n dcat:theme <http://gcmdservices.gsfc.nasa.gov/kms/concept/03f0c0a3-04a7-4ef8-8ec0-3c2266510815>,\n <http://gcmdservices.gsfc.nasa.gov/kms/concept/c7a09e9f-3c99-4b31-a521-313c379ba2b4>,\n <http://www.eionet.europa.eu/gemet/concept/3650> ;\n prov:wasGeneratedBy [ a <file:///github/workspace/AcquisitionInformation> ;\n dcat:endDate \"2003-12-31T00:00:00Z\" ;\n dcat:startDate \"1999-07-01T00:00:00Z\" ;\n prov:used [ eop:id \"http://gcmdservices.gsfc.nasa.gov/kms/concept/c7a09e9f-3c99-4b31-a521-313c379ba2b4\" ;\n eop:platformSerialIdentifier \"7\" ;\n eop:platformShortName \"Landsat\" ;\n eop:type \"Platform\" ],\n [ eop:id \"http://gcmdservices.gsfc.nasa.gov/kms/concept/4dbe7764-a2ea-4a19-b754-696c35ac3205\" ;\n eop:instrumentShortName \"ETM\" ;\n eop:sensorType eop:OPTICAL ;\n eop:type \"Instrument\" ] ] ;\n foaf:isPrimaryTopicOf [ a dcat:CatalogRecord ;\n dct:issued \"1999-07-01T00:00:00Z\" ;\n dct:language <http://id.loc.gov/vocabulary/iso639-1/en> ;\n dct:modified \"2019-07-17T00:00:00Z\" ] ;\n gj:geometry [ a gj:Polygon ;\n gj:coordinates ( ( ( -180 -90 ) ( 180 -90 ) ( 180 90 ) ( -180 90 ) ( -180 -90 ) ) ) ] .\n\n<http://gcmdservices.gsfc.nasa.gov/kms/concept/03f0c0a3-04a7-4ef8-8ec0-3c2266510815> skos:prefLabel \"Science Keywords > Earth Science > Spectral/Engineering > Visible Wavelengths > Visible Imagery\" .\n\n<http://gcmdservices.gsfc.nasa.gov/kms/concept/c7a09e9f-3c99-4b31-a521-313c379ba2b4> skos:prefLabel \"LANDSAT-7\" .\n\n<http://www.eionet.europa.eu/gemet/concept/3650> skos:prefLabel \"Geology\" .\n\n",
"code": "@prefix dcat: <http://www.w3.org/ns/dcat#> .\n@prefix dcmitype: <http://purl.org/dc/dcmitype/> .\n@prefix dct: <http://purl.org/dc/terms/> .\n@prefix eop: <http://www.opengis.net/ont/eo-geojson/1.0/> .\n@prefix foaf: <http://xmlns.com/foaf/0.1/> .\n@prefix gj: <https://purl.org/geojson/vocab#> .\n@prefix owc: <http://www.opengis.net/ont/owc/1.0/> .\n@prefix prov: <http://www.w3.org/ns/prov#> .\n@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .\n@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .\n@prefix skos: <http://www.w3.org/2004/02/skos/core#> .\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .\n\n<http://fedeo.esa.int/opensearch/request/?httpAccept=application/geo%2Bjson&parentIdentifier=EOP%3AESA%3AFEDEO%3ACOLLECTIONS&uid=LANDSAT.ETM.GTC> a gj:Feature ;\n dct:accessRights [ a dct:RightsStatement ;\n rdfs:label \"Utilisation of this data is subject to ESA's Earth Observation Terms and Conditions\" ] ;\n dct:date \"1999-07-01T00:00:00Z/2003-12-31T00:00:00Z\" ;\n dct:description \"This dataset contains all the Landsat 7 Enhanced Thematic Mapper high-quality ortho-rectified L1T dataset over Kiruna, Maspalomas and Matera visibility masks. The Landsat 7 ETM+ scenes typically covers 185 x 170 km. A standard full scene is nominally centred on the intersection between a Path and Row (the actual image centre can vary by up to 100m). Each band requires 50MB (uncompressed), and Band 8 requires 200MB (panchromatic band with resolution of 15m opposed to 30m).\" ;\n dct:identifier \"LANDSAT.ETM.GTC\" ;\n dct:license [ a dct:LicenseDocument ;\n rdfs:label \"Fast Registration with immediate access Data is available via EOLI-SA upon registration for the On The Fly Service. For information on access and use of the On-The-Fly service please refer to the OTF FAQ page and news of 28 July 2016.\" ] ;\n dct:modified \"2003-12-31T00:00:00Z\" ;\n dct:temporal [ dcat:endDate \"2003-12-31T00:00:00Z\" ;\n dcat:startDate \"1999-07-01T00:00:00Z\" ] ;\n dct:title \"LANDSAT 7 ETM+ (Enhanced Thematic Mapper Plus) Geolocated Terrain Corrected Systematic processing (LANDSAT.ETM.GTC)\" ;\n dct:type dcmitype:Collection ;\n owc:links [ ] ;\n dcat:endpointDescription [ owc:code <http://www.opengis.net/spec/owc-geojson/1.0/req/wcs> ;\n owc:operations [ owc:code <file:///github/workspace/GetCapabilities> ;\n owc:href \"http://131.176.196.55/wcs?service=WCS&Request=GetCapabilities\" ;\n owc:method \"GET\" ],\n [ owc:code <file:///github/workspace/DescribeCoverage> ;\n owc:href \"http://131.176.196.55/wcs?service=WCS&Request=DescribeCoverage&version=2.0.0&CoverageId=LE7_RGB\" ;\n owc:method \"GET\" ;\n owc:type \"application/xml\" ] ],\n [ owc:code <http://www.opengis.net/spec/owc-geojson/1.0/req/wps> ;\n owc:operations [ owc:code <file:///github/workspace/Execute> ;\n owc:href \"http://185.52.193.7/wps-proxy/\" ;\n owc:method \"POST\" ] ] ;\n dcat:theme <http://gcmdservices.gsfc.nasa.gov/kms/concept/03f0c0a3-04a7-4ef8-8ec0-3c2266510815>,\n <http://gcmdservices.gsfc.nasa.gov/kms/concept/c7a09e9f-3c99-4b31-a521-313c379ba2b4>,\n <http://www.eionet.europa.eu/gemet/concept/3650> ;\n prov:wasGeneratedBy [ a <file:///github/workspace/AcquisitionInformation> ;\n dcat:endDate \"2003-12-31T00:00:00Z\" ;\n dcat:startDate \"1999-07-01T00:00:00Z\" ;\n prov:used [ eop:id \"http://gcmdservices.gsfc.nasa.gov/kms/concept/c7a09e9f-3c99-4b31-a521-313c379ba2b4\" ;\n eop:platformSerialIdentifier \"7\" ;\n eop:platformShortName \"Landsat\" ;\n eop:type \"Platform\" ],\n [ eop:id \"http://gcmdservices.gsfc.nasa.gov/kms/concept/4dbe7764-a2ea-4a19-b754-696c35ac3205\" ;\n eop:instrumentShortName \"ETM\" ;\n eop:sensorType eop:OPTICAL ;\n eop:type \"Instrument\" ] ] ;\n foaf:isPrimaryTopicOf [ a dcat:CatalogRecord ;\n dct:issued \"1999-07-01T00:00:00Z\" ;\n dct:language <http://id.loc.gov/vocabulary/iso639-1/en> ;\n dct:modified \"2019-07-17T00:00:00Z\" ] ;\n gj:geometry [ a gj:Polygon ;\n gj:coordinates ( ( ( -180 -90 ) ( 180 -90 ) ( 180 90 ) ( -180 90 ) ( -180 -90 ) ) ) ] .\n\n<http://gcmdservices.gsfc.nasa.gov/kms/concept/03f0c0a3-04a7-4ef8-8ec0-3c2266510815> skos:prefLabel \"Science Keywords > Earth Science > Spectral/Engineering > Visible Wavelengths > Visible Imagery\" .\n\n<http://gcmdservices.gsfc.nasa.gov/kms/concept/c7a09e9f-3c99-4b31-a521-313c379ba2b4> skos:prefLabel \"LANDSAT-7\" .\n\n<http://www.eionet.europa.eu/gemet/concept/3650> skos:prefLabel \"Geology\" .\n\n",
"url": "https://ogcincubator.github.io/iso19115-json/build/tests/metacat/iso19115/bp17-084/example_1_1.ttl"
}
],
Expand Down
20 changes: 10 additions & 10 deletions build/generateddocs/markdown/metacat/iso19115/bp17-084/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -402,18 +402,18 @@ original example
dct:title "LANDSAT 7 ETM+ (Enhanced Thematic Mapper Plus) Geolocated Terrain Corrected Systematic processing (LANDSAT.ETM.GTC)" ;
dct:type dcmitype:Collection ;
owc:links [ ] ;
dcat:endpointDescription [ owc:code <http://www.opengis.net/spec/owc-geojson/1.0/req/wps> ;
owc:operations [ owc:code <file:///github/workspace/Execute> ;
owc:href "http://185.52.193.7/wps-proxy/" ;
owc:method "POST" ] ],
[ owc:code <http://www.opengis.net/spec/owc-geojson/1.0/req/wcs> ;
owc:operations [ owc:code <file:///github/workspace/DescribeCoverage> ;
dcat:endpointDescription [ owc:code <http://www.opengis.net/spec/owc-geojson/1.0/req/wcs> ;
owc:operations [ owc:code <file:///github/workspace/GetCapabilities> ;
owc:href "http://131.176.196.55/wcs?service=WCS&Request=GetCapabilities" ;
owc:method "GET" ],
[ owc:code <file:///github/workspace/DescribeCoverage> ;
owc:href "http://131.176.196.55/wcs?service=WCS&Request=DescribeCoverage&version=2.0.0&CoverageId=LE7_RGB" ;
owc:method "GET" ;
owc:type "application/xml" ],
[ owc:code <file:///github/workspace/GetCapabilities> ;
owc:href "http://131.176.196.55/wcs?service=WCS&Request=GetCapabilities" ;
owc:method "GET" ] ] ;
owc:type "application/xml" ] ],
[ owc:code <http://www.opengis.net/spec/owc-geojson/1.0/req/wps> ;
owc:operations [ owc:code <file:///github/workspace/Execute> ;
owc:href "http://185.52.193.7/wps-proxy/" ;
owc:method "POST" ] ] ;
dcat:theme <http://gcmdservices.gsfc.nasa.gov/kms/concept/03f0c0a3-04a7-4ef8-8ec0-3c2266510815>,
<http://gcmdservices.gsfc.nasa.gov/kms/concept/c7a09e9f-3c99-4b31-a521-313c379ba2b4>,
<http://www.eionet.europa.eu/gemet/concept/3650> ;
Expand Down
2 changes: 1 addition & 1 deletion build/register.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ISO 19115 JSON Schema options",
"abstract": "This repository contains various test cases and examples of previous work to explore options for encoding ISO 19115 using JSON\n",
"description": "Each BuildingBlock will start using the original proposals available, but should be \"refactored\" to remove content duplicated from other specifications, to be replaced by references to building blocks for those specifications.\n\nThis will ensure compliance - but also make the relationships transparent. It will also be easier to maintain.\n",
"modified": "2024-10-29T01:16:26.023021",
"modified": "2024-10-29T01:17:24.444870",
"tooling": {
"bblocks-postprocess": {
"commitId": "\"d42a292b30b8f9c89b07edcdc1ce6c98d4a1e6a2",
Expand Down
2 changes: 1 addition & 1 deletion build/tests/metacat/iso19115/bp17-084/_report.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Validation report for ogc.metacat.iso19115.bp17-084 - Prior BP",
"bblockName": "Prior BP",
"bblockId": "ogc.metacat.iso19115.bp17-084",
"generated": "2024-10-29T01:16:27.528135+00:00",
"generated": "2024-10-29T01:17:28.037467+00:00",
"result": true,
"items": [
{
Expand Down
20 changes: 10 additions & 10 deletions build/tests/metacat/iso19115/bp17-084/example_1_1.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@
dct:title "LANDSAT 7 ETM+ (Enhanced Thematic Mapper Plus) Geolocated Terrain Corrected Systematic processing (LANDSAT.ETM.GTC)" ;
dct:type dcmitype:Collection ;
owc:links [ ] ;
dcat:endpointDescription [ owc:code <http://www.opengis.net/spec/owc-geojson/1.0/req/wps> ;
owc:operations [ owc:code <file:///github/workspace/Execute> ;
owc:href "http://185.52.193.7/wps-proxy/" ;
owc:method "POST" ] ],
[ owc:code <http://www.opengis.net/spec/owc-geojson/1.0/req/wcs> ;
owc:operations [ owc:code <file:///github/workspace/DescribeCoverage> ;
dcat:endpointDescription [ owc:code <http://www.opengis.net/spec/owc-geojson/1.0/req/wcs> ;
owc:operations [ owc:code <file:///github/workspace/GetCapabilities> ;
owc:href "http://131.176.196.55/wcs?service=WCS&Request=GetCapabilities" ;
owc:method "GET" ],
[ owc:code <file:///github/workspace/DescribeCoverage> ;
owc:href "http://131.176.196.55/wcs?service=WCS&Request=DescribeCoverage&version=2.0.0&CoverageId=LE7_RGB" ;
owc:method "GET" ;
owc:type "application/xml" ],
[ owc:code <file:///github/workspace/GetCapabilities> ;
owc:href "http://131.176.196.55/wcs?service=WCS&Request=GetCapabilities" ;
owc:method "GET" ] ] ;
owc:type "application/xml" ] ],
[ owc:code <http://www.opengis.net/spec/owc-geojson/1.0/req/wps> ;
owc:operations [ owc:code <file:///github/workspace/Execute> ;
owc:href "http://185.52.193.7/wps-proxy/" ;
owc:method "POST" ] ] ;
dcat:theme <http://gcmdservices.gsfc.nasa.gov/kms/concept/03f0c0a3-04a7-4ef8-8ec0-3c2266510815>,
<http://gcmdservices.gsfc.nasa.gov/kms/concept/c7a09e9f-3c99-4b31-a521-313c379ba2b4>,
<http://www.eionet.europa.eu/gemet/concept/3650> ;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Validation report for ogc.metacat.iso19115.bp17-084 - Prior BP
Generated 2024-10-29T01:16:27.528055+00:00
Generated 2024-10-29T01:17:28.037387+00:00
=== Files ===
Using example_1_1.json from examples
JSON-LD context is present - uplifting
Expand Down
2 changes: 1 addition & 1 deletion build/tests/report.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<body>
<div class="container">
<h1 class="title">Building blocks validation report</h1>
<small class="datetime">Generated at 2024-10-29T01:16:27.543645+00:00</small>
<small class="datetime">Generated at 2024-10-29T01:17:28.052787+00:00</small>
<p class="summary fw-semibold text-success">
Number of passing building blocks: 1 / 1 (100%)
</p>
Expand Down

0 comments on commit 4ee0068

Please sign in to comment.