pycsw | Home | Demos | Documentation | Issue Tracker | FAQ | Download |
pycsw supports the following databases:
To expose your geospatial metadata via pycsw, perform the following actions:
By default, pycsw supports the csw:Record information model.
$ cd /path/to/pycsw
$ export PYTHONPATH=`pwd`
$ python ./sbin/setup_db.py sqlite:////path/to/records.db
This will create the necessary tables and values for the repository.
$ python ./sbin/load_records.py /path/to/records sqlite:////path/to/records.db
This will import all *.xml records from /path/to/records into records.db and configure the repository to expose queryables as per Table 53 of OGC:CSW.
Note
Records can also be imported using CSW-T (see Transactions).
To expose the repository, setup a repository section as specified in Configuration.