GRASS logo

NAME

db.csw.admin - CSW database manager

KEYWORDS

csw, metadata

SYNOPSIS

db.csw.admin
db.csw.admin --help
db.csw.admin [-rsiohdfa] configure=name [load_records=string] [export_records=string] [gen_sitemap=name] [url_csw=string] [file_xml=name] [--overwrite] [--help] [--verbose] [--quiet] [--ui]

Flags:

-r
Load records recursively
Load records from directory recursively
-s
Setup database
Creates repository tables and indexes
-i
Database indexes
Rebuild repository database indexes
-o
Optimize db
Optimize repository database
-h
Refresh harvested records
Optimize repository database
-d
Delete all records(!!)
Delete all records without prompting
-f
Force confirmation
Force confirmation of task
-a
Automatic configuration
Set database according GRASS default and confugure server
--overwrite
Allow output files to overwrite existing files
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--ui
Force launching GUI dialog

Parameters:

configure=name [required]
path to configure file (default.cfg)
Default: /var/www/html/pycsw/default.cfg
load_records=string
Load metadata(folder)
Loads metadata records from directory into repository
export_records=string
Create db dump(folder)
Dump metadata records from repository into directory
gen_sitemap=name
Sitemap
Generate XML Sitemap
url_csw=string
Url of CSW
Execute a CSW request via HTTP POST: URL of CSW
file_xml=name
XML file
Execute a CSW request via HTTP POST: XML FILE

Table of contents

DESCRIPTION

Module db.csw.admin allows to handle csw server.

NOTES

For dependencies and installation instructions see wiki page.

USAGE

For using this module must be installed pycsw libraries. Default path to configure folder is setup to pycsw install folder(LINUX) /var/www/html/pycsw in another case, path to config file must by set by user.

Configure file

In configure file must be setup few parameters for proper work of pycsw library.
db.csw.harvest source=http://geodati.gov.it/RNDT/csw destination=http://localhost:8000/

SEE ALSO

r.info, v.info.iso, g.gui.metadata, g.gui.cswbrowser, db.csw.harvest, 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.admin source code (history)

Latest change: Thursday Jul 20 08:47:11 2023 in commit: 5633a4b704932c46e813862741e6f744846da764


Main index | Database index | Topics index | Keywords index | Graphical index | Full index

© 2003-2024 GRASS Development Team, GRASS GIS 8.4.1dev Reference Manual