wiki:CowsFramework

Version 2 (modified by spascoe, 10 years ago) (diff)

--

CEDA OGC Web Services framework

Introduction

The COWS framework is a  Python software framework being developed at the  BADC for implementing Open Geospatial Consortium web service standards.

The framework aims facilitate the implementation of the latest WMS, WCS and WFS specifications on top of a single metadata and data model.

  1. All services generate OWS Common 1.1.0 compliant GetCapabilities metadata internally. This is then serialised to service-specific GetCapabilities XML by the framework.
  2. The data model is CSML for feature manipulation and  cdat_lite for fine-grained array manipulation.
  3. The web service stack is built on  Pylons, a web application framework particularly well suited to the low-level HTTP communication required by RESTful web services.
  4. Because Pylons is built from top to bottom using the  WSGI specification, COWS servers can be deployed in a wide variety of configurations from personal development servers to multithreaded/multiprocess servers embedded in apache.

Prerequisites

You will need:

  1. Python 2.5
  2. The  setuptools package, providing the easy_install tool
  3. The  NetCDF libraries installed in a standard place or indicated with the NETCDF_HOME environment variable
  4. The following packages that cannot be reliably auto-installed with easy_install
    •  numpy (this will install with easy_install but it needs to be installed first)
    • Python Imaging Library
    •  matplotlib

Installation

Creating a server

Resources

  • The COWS API documentation is available online  here