pycsw | Home | Documentation | Issue Tracker | FAQ | Download |
pycsw ships with SQLite support (additional databases will be supported in a future release).
To expose your geospatial metadata via pycsw, perform the following actions:
$ cd /path/to/pycsw
$ export PYTHONPATH=`pwd`
$ python ./sbin/setup_db.py ./etc/schemas/sql/records.ddl records.db
$ python ./sbin/load_csw_records.py /path/to/records records.db
This will import all *.xml records from /path/to/records into records.db.
By default, default.cfg-shipped contains all required binding information. If you are setting up your database as per above, the default configuration needs only the repository.db value to be updated. Otherwise, you can map your own database table and columns.
See Configuration, ([repository]) for more information.