Version 40 (modified by Nuwan Waidyanatha, 10 years ago) ( diff )


Common Alerting Protocol (CAP) Code-fest

Place: Orion IT City Park
Date: Thursday 19 June 2014


  1. Develop a Sahana (OData-like) S3XML data structure to CRUD pictographs used in alerting. The teams will determine the optimal set of CAP elements to build in to the HTTP RESTful Request APIs. Thereafter, the CAP Editor, Mobile CAP Tool, and ITU CAP Software will use the APIs to publish a message with the pictograph
  2. Establish a set of parameters for exchanging measurement data; first document the norms in the Sahana wiki; then enhance each of the CAP-enabled tools to use the parameter values to change the visualization (e.g. flash flood water height to display the inundation region on a map).
  3. Emulate a Google Alerthub test base for experimenting with RSS/Atom feeds for a Common Operating Picture; using the Sahana-Eden’s Crisis Map with spatial and temporal filtering capabilities.

Software Tools

Software tool name coding platform team contact documentation
SAMBRO Python/Web2Py/PostgreSQL Nuwan Waidyanatha, Francis Boon , Dominic Konig CAP Broker Blueprint
CAP Editor Java Eliot Christian documentation included
Mobile publisher HTML5/JS Art Botterell CAPTools on GitHub
CAP ITU Softwaree Linux, Apache, MySQL, PHP (LAMP) Isuru Ilangakoon other documentation - based Single Language CAP Publisher and Subscriber

Intended coding and related activities

(A) Pictographs database and APIs

(A.1) Introduce the teams to some of the identifies pictograph repositories: UNOCHA, NHS,

(A.2) Research the set of alert specific pictographs and relevant icons to create alerting pictographs for the hazards: volcano, flash floods, and cyclones

(A.3) Create the pictographs to be filtered by a limited set of enumerated CAP elements such as urgency, severity, certainty, response, and category; additionally, alerting pictographs would be further customized for event (types), headlines, and instructions.

(A.4) Build a MVC in Sahana Eden to CRUD the set of pictographs; then provide a RESTful API to request for a CAP message specific pictograph

(A.5) Each of the CAP-enabled tools would provide the HTML to display a frame with the pictograph received through the Sahana Eden RESTful API.

(B) Validating parameters with scientific data


(C) Emulating the Alerthub


  1. Eliot Christian, CAP Program Committee Chair
  2. Elysa Jones, OASIS EM-TC Chair
  3. Nuwan Waidyanatha, Sahana Software Foundation Standards & Interoperability Chair and LIRNEasia Senior Research Fellow
  4. Nuwan Waidyanatha, Sahana Software Foundation Standards & Interoperability Chair and LIRNEasia Senior Research Fellow
Note: See TracWiki for help on using the wiki.