The project is certified OGC Compliant, and is an OGC Reference Implementation for both CSW 2.0.2 and 3.0.0
Aiming OGC API - Records Reference Implementation
pycsw is an official OSGeo Project
# Setup a virtual environment:
virtualenv pycsw && cd pycsw && . bin/activate
# Grab the pycsw source code:
git clone https://github.com/geopython/pycsw.git && cd pycsw
pip install -e . && pip install -r requirements-standalone.txt
# Create and adjust a configuration file:
cp default-sample.cfg default.cfg
vi default.cfg
# adjust paths in
# - server.home
# - repository.database
# set server.url to http://localhost:8000/
# Setup the database:
pycsw-admin.py -c setup_db -f default.cfg
# Load records by indicating a directory of XML files, use -r for recursive:
pycsw-admin.py -c load_records -f default.cfg -p /path/to/xml/
# Run the server:
python ./pycsw/wsgi.py
# See that it works!
curl http://localhost:8000/?service=CSW&version=2.0.2&request=GetCapabilities
metadata_type
# custom XSLT (section format: xslt:input_xml_schema,output_xml_schema)
[xslt:http://www.opengis.net/cat/csw/2.0.2,http://www.isotc211.org/2005/gmd]
xslt=/path/to/my-custom-iso.xslt
title = 'Lorem ipsum'
title LIKE 'foo%'
{
"op": "=",
"args": [
{
"property": "title"
},
"Lorem ipsum"
]
}
Enabling data search and access to raw data as well as to data services like OpenDAP, WMS
https:// [nbs, sios, adc, nordatanet, nmdc, gcw ] .csw.met.no
https://pycsw.org/community.html
https://lists.osgeo.org/mailman/listinfo/pycsw-devel
https://github.com/geopython/pycsw