I am looking to do some updates to the harvester in order to be able
to better use Geonetwork. We are wanting to use Geonetwork to harvest
data from a variety of sources, but we only wish to update certain
fields rather than all fields.
Also we want a way to perform an update without losing any changes to
privileges on the stored items in Geonetwork. At the moment individual
items can have privileges set for them. However, when the harvester
performs an update it overwrites these privileges with the global
privilege setting for the harvester.
Tied in with both of these issues is a desire to not override any
fields that have been added to metadata in Geonetwork which are not
supported in the source. Some of the sources we will be harvesting
from have a limited metadata editing facility. We would like to be
able to add to this in Geonetwork, but still keep the metadata in
Geonetwork up-to-date with the metadata stored at the source.
One of the major sources that we will be harvesting from is a
geoserver instance via an OGC web service using WMS.
If anyone has any thoughts on this, or problems encountered while
attempting something similar, I would love to hear from you.
Thanks,
Elgar Storm
Hi Elgar,
Two harvesters already do what you want (or at least something similar) - WFS GetFeatures and Thredds - and there is a common module that supports these harvesters that you could also use to say modify the OGC WxS GetCapabilities harvester. The idea behind these harvesters is to harvest fragments of ISO metadata and either store them as subtemplates for use in the editor (eg. contact info) or link them into a template record to build metadata records that are composed of linked metadata fragments and manually edited/hand crafted metadata.
You can take a look at the harvesting section of the users manual for trunk 2.7 at http://geonetwork-opensource.org/manuals/trunk/eng/users/admin/harvesting/index.html to get an idea of how these two harvesters work. The code for the two harvesters (if you check out the geonetwork trunk src from sourceforge) is in web/src/main/java/org/fao/geonet/kernel/harvest/harvester/{thredds,wfsfeatures} and the common fragment handling module that they use is in web/src/main/java/org/fao/geonet/kernel/harvest/harvester/fragment.
I'd be most interested to hear about in any improvements or modifications you make to any of the other harvesters to use fragments etc.
Cheers and thanks,
Simon
You can get an idea of how the existing
On 03/08/2012 11:32 AM, Elgar Storm wrote:
I am looking to do some updates to the harvester in order to be able
to better use Geonetwork. We are wanting to use Geonetwork to harvest
data from a variety of sources, but we only wish to update certain
fields rather than all fields.
Also we want a way to perform an update without losing any changes to
privileges on the stored items in Geonetwork. At the moment individual
items can have privileges set for them. However, when the harvester
performs an update it overwrites these privileges with the global
privilege setting for the harvester.
Tied in with both of these issues is a desire to not override any
fields that have been added to metadata in Geonetwork which are not
supported in the source. Some of the sources we will be harvesting
from have a limited metadata editing facility. We would like to be
able to add to this in Geonetwork, but still keep the metadata in
Geonetwork up-to-date with the metadata stored at the source.
One of the major sources that we will be harvesting from is a
geoserver instance via an OGC web service using WMS.
If anyone has any thoughts on this, or problems encountered while
attempting something similar, I would love to hear from you.
Thanks,
Elgar Storm
------------------------------------------------------------------------------
Virtualization& Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork