"Seegrid will be due for a migration to confluence on the 1st of August. Any update on or after the 1st of August will NOT be migrated"

Adding a GeoServer wfs entry to GeoNetwork

Contents

Overview:

Harvesting is the process of collecting remote metadata and storing them locally for a faster access. This is a periodic process to do, for example, once a week. Harvesting is not a simple import: local and remote metadata are kept aligned. Using some magic, one GeoNetwork node is capable of discovering metadata that have been added, removed or updated in the remote node.

GeoNetwork is able to harvest from the following sources (for more details see below):
  1. Another GeoNetwork node (version 2.1 or above).
  2. An old GeoNetwork 2.0 node.
  3. A WebDAV server.
  4. A CSW 2.0.1 or 2.0.2 catalogue server.
  5. An OAI-PMH server.
  6. An OGC service using its GetCapabilities document. These include WMS, WFS, WPS and WCS services.
GeoNetwork offers a harvest service that, among other, follows a OGC WMS or WFS GetCapabilities URL and transforms the response into an ISO 19139 metadata record. Bear in mind that the resulting ISO metadata record is only as good as the GetCapabilities response and that the metadata can never be entirely ISO 19139 conformant without dummy values due to limitations of the OGC GetCapabilities schema.

GeoNetwork offers a handy user interface to add those "GeoNetwork Harvesting Nodes" and also exposes their functionality through a even handier XML service. See chapter 19.3 on "Harvesting Services" of the GeoNetwork opensource V 2.4 The Complete Manual. Following are my notes on creating an OGC harvesting node through GeoNetwork's harvesting service.

For more information about GeoNetwork harvesting, visit https://twiki.auscope.org/wiki/Grid/GeoNetworkHarvestingInvestigation

Procedure:

The idea here is to correctly configure GeoServer so that when we configure GeoNetwork to harvest information from GeoServer wfs, it will extract information from the wfs GetCapabilities response.

The three main files we need to configure in GeoServer are

wfs.xml

global.xml

featuretype.xml

Below are the fields and its corresponding example or you may refer to https://twiki.auscope.org/wiki/Grid/EarthResourceDeployments.

Section: Identification Info

Field Title
Description Name by which the cited resource is known as
Direction In wfs.xml, give your wfs a title using the example below
Location Wfs.xml
Example <title>GSWA EarthResourceML (1.1) Mineral Occurrences</title>
Source From the custodian of the dataset
Obligation highly recommended

Field Abstract
Description Brief narrative summary of the content of the resource.
Direction In wfs.xml, Enter some description of the map
Location Wfs.xml
Example

<abstract>Earth resources of Western Australia provided by Geological Survey of Western Australia (GSWA) from the MINEDEX database. Data presented using the EarthResourceML (version 1.1) data model.

This service provides information from an Australian state and/or territory geological survey organisation from their earth resource database, which stores information on mineral occurrences, commodities, historical production, reserve and resource estimates, deposit classification and other related information. For historical and internal business requirements each database has its own format, properties, QA/QC, and content styles or vocabularies. For this reason, EarthResourceML services have been setup at each jurisdiction to aid in the interoperable delivery of Earth Resource Information.</abstract>

Source From the custodian of the dataset.
Obligation highly recommended

Field Keywords
Description Commonly used words(s) or formalised word(s) or phrase(s) used to describe the subject
Direction In wfs.xml, enter keywords to describe the service
Location Wfs.xml
Example <keywords>
<string>WFS</string>
<string>WMS</string>
<string>GEOSERVER</string>
</keywords>
Source From the custodian of the dataset
Obligation highly recommended
Field Access constraints
Description Access constraints applied to assure the protection of privacy or intellectual property, and any special restrictions or limitations on obtaining the resource
Direction In wfs.xml, enter any constraints that applies to using the service.
Location Wfs.xml
Example <accessConstraints>NONE</accessConstraints>
Source From the custodian of the dataset
Obligation highly recommended

Section: All contact point

Field Contact
Description Party responsible for the information.
Direction In global.xml, enter all mandatory information and others you have at hand for the contact of the person(s) associated with this wfs.
Location global.xml
Example

<contact>

<address>100 mystreet st</address>

<addressCity>East Perth</addressCity>

<addressCountry>Australia</addressCountry>

<addressPostalCode>6004</addressPostalCode>

<addressState>Western Australia</addressState>

<contactFacsimile>+61 8 9111 9999</contactFacsimile>

<contactOrganization>Geological Survey of Country X</contactOrganization>

<contactVoice>+61 8 9222 1111</contactVoice>

<contactPosition>Project Leader</contactPosition>

<contactPerson>Michael Jordan</contactPerson>

<contactEmail>Michael.Jordan@countryX.gov.au</contactEmail>

</contact>

Source From the custodian of the dataset
Obligation highly recommended

Section: Related datasets

Field Title
Description Name by which the cited resource is known as
Direction In featuretype.xml, give your wfs a title using the example below
Location featuretype.xml
Example <title>GSWA EarthResourceML (1.1) Mineral Occurrence - Mapped Features</title>
Source From the custodian of the dataset
Obligation highly recommended

Field Abstract
Description Brief narrative summary of the content of the resource.
Direction In featuretype.xml, Enter some description of the map
Location featuretype.xml
Example <abstract>The locations of Mineral Occurrences of Western Australia provided by Geological Survey of Western Australia (GSWA) from the MINEDEX database. Data presented using the EarthResourceML (version 1.1) data model.</abstract>
Source From the custodian of the dataset
Obligation highly recommended

Field Geographic bounding box
Description Bounding box of the feature layer
Direction In featuretype.xml, populate the bounding area of the feature
Location featuretype.xml
Example <latLonBoundingBox>
<minx>112.90700</minx>
<maxx>158.96000</maxx>
<miny>-54.75390</miny>
<maxy>-10.13570</maxy>
<crs>EPSG:4326</crs>
</latLonBoundingBox>
Source From the custodian of the dataset or deployment team
Obligation highly recommended

Summary:

Reference:

http://geonetwork-opensource.org/stable/users/admin/harvesting/index.html

http://lab.usgin.org/node/317

 
Topic revision: r9 - 07 Sep 2011, DerrickWong
 

Current license: All material on this collaboration platform is licensed under a Creative Commons Attribution 3.0 Australia Licence (CC BY 3.0).