-
Notifications
You must be signed in to change notification settings - Fork 0
Connection Catalog Datacubes
Peter Baumann edited this page Mar 19, 2024
·
1 revision
Catalog entries and rasdaman datacubes mutually reference each other.
For the discussion below, assume {dc}
is the identifier of a coverage datacube, for example LGN
.
In the STAC record, the following references are generated:
- thumbnail, generated from a WMS GetMap request; pattern: https://catalog:[email protected]/rasdaman/ows?service=WMS&version=1.3.0&request=GetMap&layers={dc}&bbox=50.66919756175071,3.0464264025399874,53.59620050977796,7.275203768012878&time="2012-01-01T00:00Z"&width=800&height=600&crs=EPSG:4326&format=image/png&transparent=true&styles=
- visualization, as link to the rasdaman dashboard: https://fairicube.rasdaman.com/rasdaman-dashboard/?layers={dc}
In the coverage metadata, a slot is added (in addition to potential further metadata) based on
[this example by KS}(https://github.com/FAIRiCUBE/data-requests/blob/main/encoding-examples/dominant_leaf_type-metadata.xml) (OGC CIS 1.0 schema; CIS 1.1 does not need the Extension
element):
<gmlcov:metadata>
<gmlcov:Extension>
<fic-md:fairicubeMetadata
xlink:role="https://codelists.fairicube.eu/metadata/MetadataCatalogLink"
xlink:title="{dc} metadata on the FAIRiCUBE Catalog"
xlink:href="https://stacapi.eoxhub.fairicube.eu//collections/index/items/{dc}"/>
<rasdaman:covMetadata>
...
</rasdaman:covMetadata>
</gmlcov:Extension>
</gmlcov:metadata>
Underlying XML schema (namespace fic
pointing to https://schemas.fairicube.eu/coveragemetadata (TBC):
<?xml version="1.0" encoding="UTF-8"?>
<schema
xmlns:xlink="http://www.w3.org/1999/xlink"
targetNamespace="https://schemas.fairicube.eu/coveragemetadata"
elementFormDefault="qualified"
version="1.1.0">
<annotation>
<documentation>Schema of FAIRiCUBE coverage metadata extension
</documentation>
</annotation>
<element name="fairicubeMetadata">
<complexType name="FairicubeMetadataType">
<attribute name="role" type="uriReference" use="required"/>
<attribute name="title" type="string" use="required"/>
<attribute name="href" type="xlink:href" use="required"/>
</complexType>
</element>
</schema>