Skip to content
/ pywps-4 Public
forked from mgax/pywps-4

New version of PyWPS - written from scratch

License

Notifications You must be signed in to change notification settings

uwer/pywps-4

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pywps-4

New version of PyWPS, written from scratch.

License

Short version: MIT Long version: see LICENSE.txt file

Dependencies

Run tests

Install and run tox:

$ pip install tox
$ tox

Or run the tests by hand, with either python 2 or 3:

$ python tests/__init__.py

Run web application

Apache configuration

  1. Enable WSGI extension

  2. Add configuration:

    WSGIDaemonProcess pywps user=user group=group processes=2 threads=5 WSGIScriptAlias /pywps /path/to/www/htdocs/wps/pywps.wsgi

    <Directory /path/to/www/htdocs/wps/> WSGIProcessGroup group WSGIApplicationGroup %{GLOBAL} Order deny,allow Allow from all

  3. Create wsgi file

    #!/usr/bin/env python3

    import sys sys.path.append('/path/to/src/pywps-4/')

    import pywps from pywps.app import Service, WPS, Process

    def pr1(): """This is the execute method of the process """ pass

    application = Service(processes=[Process(pr1)])

  4. Run via web browser

    http://localhost/pywps/?service=wps&request=getcapabilities

  5. Run in command line: TBD

About

New version of PyWPS - written from scratch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.9%
  • Other 1.1%