CSW harvester
Use this harvester to retrieve datasets from a Catalog Service for the Web (CSW portal).
The CSW server must provide the following capabilities:
CSW version: 2.0.2
output_schema: http://www.isotc211.org/2005/gmd
This harvester is not available by default. If you need to use it, please contact Huwise support team.
Parameters
Name | Description |
CSW URL (cswurl) | The base URL of the CSW geoportal, for example: https://infogeo.grandpoitiers.fr/geoportal/csw |
Keywords thesaurus (keywords_thesaurus) | The name or identifier of the thesaurus whose keywords fill the "Keywords" metadata. If empty, the keywords that have no associated thesaurus are used. |
INSPIRE to Huwise licenses links (licenses_mapping) | Links between the licenses found in the CSW records and the licenses defined on your portal. Licenses whose name or URL exactly matches one of your portal's licenses are linked automatically. |
INSPIRE to Huwise themes links (themes_mapping) | For each thesaurus, links between keywords found in the CSW records and the themes defined on your portal. If you don't add any, keywords from the "GEMET - INSPIRE themes, version 1.0" thesaurus that exactly match the name of one of your portal's themes are linked automatically. |
INSPIRE themes thesaurus (theme_thesaurus) | The name or identifier of the thesaurus whose keywords fill the INSPIRE "Theme" metadata. If empty, all keywords that have an associated thesaurus are used. |
Insert HTML <br> in description (insert_br_in_description) | Select the check box to add an HTML line break (<br>) wherever the description contains a line break. |
Constraint language (constraint_language) | Select the check box if the portal requires to constraint the language to CQL_TEXT |
Invert coordinates (invert_coordinates) | Select the check box to enforce coordinate inversion in generated datasets |
Metadata
The harvester fills in the following metadata for each dataset it imports from the CSW service. Where a source is empty, the next one listed is used.
These mappings are fixed and can't be changed, except for themes and licenses, which follow the links set in the harvester's parameters. The technical IDs are provided for those working with the APIs.
CSW source | CSW source in the API | Huwise metadata | Huwise field ID in the API |
The record's title, or its file identifier | gmd:citation/gmd:CI_Citation/gmd:title, gmd:fileIdentifier | Title | default.title |
The record's abstract | gmd:abstract | Description | default.description |
The record's revision date, or its metadata date | gmd:date[type='revision'], gmd:dateStamp | Display modification date | default.modified |
The record's language | gmd:language/gmd:LanguageCode/@codeListValue | Data language | default.language |
The contact's organization name | gmd:contact/gmd:CI_ResponsibleParty/gmd:organisationName | Creator | default.publisher |
Keywords from the thesaurus set in "Keywords thesaurus", or keywords with no thesaurus | gmd:descriptiveKeywords/gmd:keyword | Keywords | default.keyword |
The URL of the CSW record | Built by the harvester | Reference | default.references |
Keywords linked to your portal's themes | Harvester parameter | Themes | internal.theme_id |
Licenses linked to your portal's licenses | Harvester parameter | License | internal.license_id |
Keywords from the thesaurus set in "INSPIRE themes thesaurus", or all keywords with a thesaurus | gmd:descriptiveKeywords | Theme (INSPIRE) | inspire.theme |
The record's file identifier | gmd:fileIdentifier | File identifier (INSPIRE) | inspire.file_identifier |
The record's hierarchy level | gmd:hierarchyLevel/gmd:MD_ScopeCode | Hierarchy level (INSPIRE) | inspire.hierarchy_level |
The bounding box's west longitude | gmd:EX_GeographicBoundingBox/gmd:westBoundLongitude/gco:Decimal | Westbound longitude (INSPIRE) | inspire.extend_bounding_box_westbound_longitude |
The bounding box's east longitude | gmd:EX_GeographicBoundingBox/gmd:eastBoundLongitude/gco:Decimal | Eastbound longitude (INSPIRE) | inspire.extend_bounding_box_eastbound_longitude |
The bounding box's south latitude | gmd:EX_GeographicBoundingBox/gmd:southBoundLatitude/gco:Decimal | Southbound latitude (INSPIRE) | inspire.extend_bounding_box_southbound_latitude |
The bounding box's north latitude | gmd:EX_GeographicBoundingBox/gmd:northBoundLatitude/gco:Decimal | Northbound latitude (INSPIRE) | inspire.extend_bounding_box_northbound_latitude |
The contact's name | gmd:contact/gmd:CI_ResponsibleParty/gmd:individualName | Contact name (INSPIRE) | inspire.contact_individual_name |
The contact's email address | gmd:contact/.../gmd:electronicMailAddress | Contact email (INSPIRE) | inspire.contact_email |
The record's creation date, or its metadata date | gmd:date[type='creation'], gmd:dateStamp | Created (DCAT) | dcat.created |
The record's update frequency | gmd:maintenanceAndUpdateFrequency/gmd:MD_MaintenanceFrequencyCode | Accrual periodicity (DCAT) | dcat.accrualperiodicity |
The contact's organization name | gmd:contact/gmd:CI_ResponsibleParty/gmd:organisationName | Creator (DCAT) | dcat.creator |
The contact's name | gmd:contact/gmd:CI_ResponsibleParty/gmd:individualName | Contact name (DCAT) | dcat.contact_name |
The contact's email address | gmd:contact/.../gmd:electronicMailAddress | Contact email (DCAT) | dcat.contact_email |
