Search/Retrieval via URL (SRU) Support¶
pycsw supports the Search/Retrieval via URL search protocol implementation as per subclause 8.4 of the OpenGIS Catalogue Service Implementation Specification.
SRU support is enabled by default. There are two ways to access SRU depending on the deployment pattern chosen.
OGC API - Records deployment¶
http://localhost:8000/sru
CSW legacy deployment¶
HTTP GET requests must be specified with mode=sru for SRU requests, e.g.:
http://localhost/pycsw/csw.py?mode=sru&operation=searchRetrieve&query=foo
See https://www.loc.gov/standards/sru/misc/simple.html for example SRU requests.
![This product conforms to the OpenGIS Catalogue Service Implementation Specification [Catalogue Service for the Web], Revision 2.0.2. OGC, OGC®, and CERTIFIED OGC COMPLIANT are trademarks or registered trademarks of the Open Geospatial Consortium, Inc. in the United States and other countries.](https://portal.ogc.org/public_ogc/compliance/OGC_Certified_Badge.png)