Skip to content
/ pywps Public
forked from geopython/pywps

PyWPS is an implementation of the Web Processing Service standard from the Open Geospatial Consortium. PyWPS is written in Python.

License

Notifications You must be signed in to change notification settings

nbrinckm/pywps

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

PyWPS is an implementation of the Web Processing Service standard from the Open Geospatial Consortium. PyWPS is written in Python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%