Skip to content

db.csw.run

CSW wsgi handler

db.csw.run path=string port=integer [--verbose] [--quiet] [--qq] [--ui]

Example:

db.csw.run path=/var/www/html/pycsw port=8000

grass.script.run_command("db.csw.run", path="/var/www/html/pycsw", port=8000, verbose=None, quiet=None, superquiet=None)

Example:

gs.run_command("db.csw.run", path="/var/www/html/pycsw", port=8000)

grass.tools.Tools.db_csw_run(path="/var/www/html/pycsw", port=8000, verbose=None, quiet=None, superquiet=None)

Example:

tools = Tools()
tools.db_csw_run(path="/var/www/html/pycsw", port=8000)

This grass.tools API is experimental in version 8.5 and expected to be stable in version 8.6.

Parameters

path=string [required]
    path to pycsw instal folder
    Default: /var/www/html/pycsw
port=integer [required]
    server port
    Default: 8000
--help
    Print usage summary
--verbose
    Verbose module output
--quiet
    Quiet module output
--qq
    Very quiet module output
--ui
    Force launching GUI dialog

path : str, required
    path to pycsw instal folder
    Default: /var/www/html/pycsw
port : int, required
    server port
    Default: 8000
verbose : bool, optional
    Verbose module output
    Default: None
quiet : bool, optional
    Quiet module output
    Default: None
superquiet : bool, optional
    Very quiet module output
    Default: None

path : str, required
    path to pycsw instal folder
    Default: /var/www/html/pycsw
port : int, required
    server port
    Default: 8000
verbose : bool, optional
    Verbose module output
    Default: None
quiet : bool, optional
    Quiet module output
    Default: None
superquiet : bool, optional
    Very quiet module output
    Default: None

Returns:

result : grass.tools.support.ToolResult | None
If the tool produces text as standard output, a ToolResult object will be returned. Otherwise, None will be returned.

DESCRIPTION

db.csw.run is designed to interact with Catalog Service for the Web (CSW) servers for metadata management purposes. It is implemented as a WSGI wrapper for pycsw and the module for starting the server on localhost.

NOTES

...

SEE ALSO

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

See also related wiki page.

AUTHORS

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

SOURCE CODE

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