Skip to content

db.csw.harvest

CSW database manager

db.csw.harvest source=string destination=string [max=integer] [--verbose] [--quiet] [--qq] [--ui]

Example:

db.csw.harvest source=string destination=string

grass.script.run_command("db.csw.harvest", source, destination, max=None, verbose=False, quiet=False, superquiet=False)

Example:

gs.run_command("db.csw.harvest", source="string", destination="string")

Parameters

source=string [required]
    uri source
    uri to csw source
destination=string [required]
    uri destination
    uri to csw destination
max=integer
    max records
    uri to csw destination
--help
    Print usage summary
--verbose
    Verbose module output
--quiet
    Quiet module output
--qq
    Very quiet module output
--ui
    Force launching GUI dialog

source : str, required
    uri source
    uri to csw source
destination : str, required
    uri destination
    uri to csw destination
max : int, optional
    max records
    uri to csw destination
verbose: bool, optional
    Verbose module output
    Default: False
quiet: bool, optional
    Quiet module output
    Default: False
superquiet: bool, optional
    Very quiet module output
    Default: False

DESCRIPTION

Module db.csw.harvest allows to harvest metadata between two catalogues.

NOTES

For dependencies and installation instructions see wiki page. For importing metadata to local server transactions must be allowed. The parameter "transactions" is stored in the configure file "default.cfq" (by default in pycsw installation folder).

EXAMPLES

Harvesting of a remote catalogue to local:

db.csw.harvest source=https://geodati.gov.it/RNDT/csw destination=http://localhost:8000/

SEE ALSO

r.info, v.info.iso, g.gui.metadata, g.gui.cswbrowser, db.csw.admin, db.csw.run

See also related wiki page.

AUTHOR

Matej Krejci, OSGeoREL at the Czech Technical University in Prague, developed during Google Summer of Code 2015 (mentors: Martin Landa)

SOURCE CODE

Available at: db.csw.harvest source code (history)
Latest change: Thursday Feb 20 13:02:26 2025 in commit 53de819