-
-
Notifications
You must be signed in to change notification settings - Fork 157
OGC CITE Compliance
tomkralidis edited this page Dec 31, 2014
·
21 revisions
- Website: http://cite.opengeospatial.org/
- TEAM Engine: http://cite.opengeospatial.org/teamengine/
- Test suite: http://cite.opengeospatial.org/test_engine/csw/2.0.2
- Test data: http://cite.opengeospatial.org/files/data-csw-2.0.2.zip
- you must ensure that pycsw is running with the CITE test data. pycsw comes shipped with an SQLite database of the CSW test data in
tests/suites/cite/data/records.db
. Indefault.cfg
, setrepository.database
totests/suites/cite/data/records.db
. - ensure that
server.maxrecords
is NOT enabled - ensure that Atom support is not enabled (the OGC CITE tests provide the Atom namespace as a value which should return error, but pycsw supports Atom as valid if enabled. This should get fixed in the CITE tests
- go to http://cite.opengeospatial.org/teamengine/
- Click "Start Testing"
- You will be asked to login. If you do not have a CITE username/password, you must register to continue
- Click "Create a new session"
- Set the following:
- Organization: OGC
- Standard: CSW
- Version: 2.0.2
- Test Suite Rev:
- Click "Start a New Test Session"
- Enter the full GetCapabiilties URL (i.e. http://host/pycsw/csw.py?service=CSW&version=2.0.2&request=GetCapabilities)
At this point the OGC CITE tests will execute and results for the session will be returned.
The demo server at http://demo.pycsw.org/cite/csw?service=CSW&version=2.0.2&request=GetCapabilities is configured with the CITE CSW test data. You can use the demo server against CITE for checking against latest master in Git. The demo server is pycsw's official OGC Reference Implementation.
ssh to demo.pycsw.org
using your OSGeo username/password. The entire setup is in /osgeo/demo.pycsw.org/
as a Python virtualenv as per https://github.com/geopython/demo.pycsw.org where:
-
bin/
,include/
,lib/
: virtualenv dirs (remember tosource bin/activate
when working here) -
pycsw/
: various pycsw endpoint configurations / data -
www/
: static website -
httpd.d/
: Apache config -
src/
: Git clone of master which powers all the endpoints
pycsw changes / updates need to be followed by sudo /usr/sbin/apache2ctl graceful
(as pycsw is deployed via mod_wsgi
)
cd src/pycsw/
git pull origin master
python setup.py build
python setup.py install
sudo /usr/sbin/apache2ctl graceful