-
Notifications
You must be signed in to change notification settings - Fork 13
Starting pycsw on geoport
Rich Signell edited this page Apr 30, 2015
·
9 revisions
Login as user "usgs", which sets the custom conda environment to "ioos":
(ioos)rsignell@gam:~$ sudo su usgs
[sudo] password for rsignell:
discarding /home/usgs/miniconda/bin from PATH
prepending /home/usgs/miniconda/envs/ioos/bin to PATH
Run the csw.wsgi
script:
(ioos)usgs@gam:/home/rsignell$ cd /opt/pycsw
(ioos)usgs@gam:/opt/pycsw$ nohup python csw.wsgi &
And seems to be working:
http://geoport.whoi.edu/csw?service=CSW&version=2.0.2&request=GetCapabilities
produces:
<!-- pycsw 1.11-dev -->
<csw:Capabilities updateSequence="1346826416" version="2.0.2" xsi:schemaLocation="http://www.opengis.net/cat/csw/2.0.2 http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd"><ows:ServiceIdentification><ows:Title>pycsw Geospatial Catalogue gisdata demo</ows:Title><ows:Abstract>pycsw is an OGC CSW server implementation written in Python</ows:Abstract><ows:Keywords><ows:Keyword>catalogue</ows:Keyword><ows:Keyword>discovery</ows:Keyword><ows:Keyword>metadata</ows:Keyword><ows:Type codeSpace="ISOTC211/19115">theme</ows:Type></ows:Keywords><ows:ServiceType codeSpace="OGC">CSW</ows:ServiceType><ows:ServiceTypeVersion>2.0.2</ows:ServiceTypeVersion><ows:Fees>None</ows:Fees><ows:AccessConstraints>None</ows:AccessConstraints></ows:ServiceIdentification><ows:ServiceProvider>
...