To get to the CSW server configuration, you must be logged on as administrator first. Open ‘Settings’ from the Administration page and select CSW Server configuration.
The CSW service provides a description of itself, the human who administers it, and other information through a GetCapabilities request (eg. http://localhost:8080/geonetwork/srv/en/csw?request=GetCapabilities&service=CSW&version=2.0.2). This form allows you to configure the CSW server and fill out some of the properties returned in response to a GetCapabilities request.
CSW Enabled: By default CSW endpoint is enabled, but it can be disabled.
The Open Geospatial Catalogue Service for the Web (OGC-CSW) service, is a self-describing service that allows query, update and insertion of metadata records.
Record to use for GetCapabilities: The capabilities document is created using the record selected here.
Inserted metadata is public: By default, metadata inserted with the CSW Harvest and CSW Transaction operations is not publicly viewable. A user with the appropriate access rights could do this after the CSW Harvest and CSW Transaction operations, but this is not always convenient. If this option is checked all metadata inserted using the CSW Harvest and CSW Transaction operations will be publicly viewable.
Create element if it does not exist when using XPath in CSW transaction.: If not checked, only existing elements can be updated.
Service Metadata Record¶
In order to create a custom capabilities, it is recommended to create a dedicated service metadata record (using ISO19115-3 or ISO19139 standards). This record is used to build the capabilities document using the template source file %sweb/src/main/webapp/xml/csw/capabilities.xml.
When creating such record, the following information will be used to create the capabilities:
fees (from Distribution > ordering instructions field)
Access constraints (from Access constraints > Other constraints field)
Contact (from Identification > First point of contact)
The service record MUST be public.
If an error occurred while building the capabilities document from the service record, a WARNING is reported using a comment and the default capabilities is used:
CSW Configuration for INSPIRE¶
If your catalogue also focus on INSPIRE (see Configuring for the INSPIRE Directive), it may be relevant to also populate the following to properly configure your discovery service:
metadata language (+ additional languages if any) (use for SupportedLanguages, DefaultLanguage)
metadata conformity regarding Commission regulation 1089/2010
With this information the CSW can be validated using the INSPIRE validator.