How to programmatically publishing a spatial dataset and the associated metadata by the gCube SDI

From Gcube Wiki
Jump to: navigation, search


Publishing a spatial dataset in the gCube Spatial Data Infrastructure implies that:

  • the dataset metadata (including a reference to the actual dataset stored into a repository) are registered in the CSW-compliant Catalogue;

The actual dataset must be stored in a repository, the infrastructure offers at least two types of Repositories: GeoServer and THREDDS DS.

In order to publish a dataset by the gCube Spatial Data Infrastructure, the following approaches are possible:

  • use the GIS Interface to publish both the dataset (in a GeoServer Repository) and the associated metadata (in the catalogue);
* Metadata shall be produced by using a  GcubeISOMetadata object;
* Metadata shall be produced by using a  GcubeISOMetadata object;