[pycsw-devel] Harvesting Geonetwork CSW

Tom Kralidis tomkralidis at gmail.com
Fri Jul 8 07:23:52 PDT 2016


Hi Andreas:

On Fri, Jul 8, 2016 at 9:26 AM,  <Andreas.Boehme at bkg.bund.de> wrote:
> Hello,
>
> what do I have to do, if Iwant to harvest a Geonetwork CSW ?
>
> I set up all my pycsw, set up my database with postgres and postgis.
>
> Now I have this cronjob that comes with pycsw, but where do I tell my pycsw
> where my foreign CSW is ?
>

You'd have to run the harvesting requests via something like cron:

Options:

1./ HTTP POST request harvests a CSW:

https://github.com/geopython/pycsw/blob/master/tests/suites/harvesting/post/Harvest-csw-run1.xml

2./ HTTP GET

http://example.org/csw?service=CSW&version=2.0.2&request=Harvest&resourcetype=http://www.opengis.net/cat/csw/2.0.2&source=http://example.org/csw2

3./ The example cron job harvests already harvested resources (via 1
or 2 above).

Having said this, Option 3 may need updating, so I would suggest you
try Option 2.

Hope this helps.

..Tom

> Thanks for any help.
>
> Cheers
>
> Andreas
>


More information about the pycsw-devel mailing list