[GeoNetwork-users] Incremental Updates from Harvesting

Hello again,

I wanted to find out if it is possible to do an incremental harvest based
on only records that have changed?

I loaded approximately 200 datasets into GeoServer and then harvested them
into GeoNetwork. I loaded them all into a single category, as I have not
been able to figure out how to filter records from geoserver. I then
proceeded to edit each of these records to put them into the correct
category and some other minor edits.

Soon after I added a few new records into GeoServer and then ran the
harvest again but to my horror it deleted all the existing records and
replaced them with a fresh dump from GeoServer, which is not what I was
expecting.

I was hoping that only the new records would be added.

Is it possible to only harvest new / changed records rather than a
wholesale delete and replace?

Regards

Dean Howell

Hi,

2015-06-09 6:20 GMT+02:00 Dean Howell <deanhowell2009@anonymised.com>:

Hello again,

I wanted to find out if it is possible to do an incremental harvest based
on only records that have changed?

I loaded approximately 200 datasets into GeoServer and then harvested them
into GeoNetwork. I loaded them all into a single category, as I have not
been able to figure out how to filter records from geoserver. I then
proceeded to edit each of these records to put them into the correct
category and some other minor edits.

Soon after I added a few new records into GeoServer and then ran the
harvest again but to my horror it deleted all the existing records and
replaced them with a fresh dump from GeoServer, which is not what I was
expecting.

I was hoping that only the new records would be added.

Is it possible to only harvest new / changed records rather than a
wholesale delete and replace?

There is some other users requesting such changes to persist
categories/privileges while harvesting from OGC WxS services. That would
require some work which is not yet funded AFAIK.

BTW, the GetCapabilities does not indicate which layers was updated/added
so that's not easy to check. There is the updateSequence which may be used
in some case (eg. GeoServer) but only provide an information if there was a
change in the service or not (and not at the layer level).

Francois

Regards

Dean Howell

------------------------------------------------------------------------------
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork