= Common Alerting Protocol (CAP) Code-fest = '''WE NEED PROGRAMMERS AND DOMAIN EXPERTS''' (but not limited to, free for anyone to attend) '''Place''': [https://maps.google.com/maps?q=Orion+City+IT+Park,+sri+lanka&hl=en&ll=6.941785,79.879999&spn=0.002599,0.004206&sll=6.941332,79.880001&sspn=0.002375,0.003192&client=ubuntu&channel=fs&oe=utf-8&fb=1&hq=Orion+City+IT+Park,+sri+lanka&view=map&ftid=0x3ae25854aa9518a1:0x69ef8ede7a872acf&ftt=3393&geocode=FX7raQAdNd7CBA&t=m&z=18&iwloc=A Orion IT City Park] [[BR]] '''Date''': Thursday 19 June 2014 9AM onwards === Objectives === 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 1. 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). 1. 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. We are applying a Goal Improvement HCI Methodology is to experiment with enhancing software components for interchanging various alerting message between the CAP-enabled software tools. For such we have identified the following === Software Tools === || '''Software tool name''' || '''coding platform''' || '''team contact''' || documentation || || [http://scdmc.lk SAMBRO ] || Python/Web2Py/PostgreSQL || Nuwan Waidyanatha, Francis Boon , Dominic Konig || [http://eden.sahanafoundation.org/wiki/BluePrint/CAPBroker CAP Broker Blueprint] || || [https://drive.google.com/file/d/0B5FiAsl5yGbZMV9OdWt5bE9GVWM/edit?usp=sharing CAP Editor ] || Java || Eliot Christian || [https://drive.google.com/file/d/0B5FiAsl5yGbZMV9OdWt5bE9GVWM/edit?usp=sharing documentation included ] || || Mobile publisher || HTML5/JS || Art Botterell || [https://github.com/CAPTools CAPTools on GitHub] || || [http://www.samanathetha.lk/captitus/ CAP ITU Software] || 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 carrying scientific data ==== (B.1) Identify 5 to 10 sets of, hazard event specific, scientific data (B.2) Develop a data structure for managing relationships between the various ordered encoding (B.3) Build the API for CAP publishers to validate their scientific data values (B.4) Test case ??? ==== (C) Emulating the Alerthub ==== (C) Emulating the Alerthub (C.1) Build an API in the Sahana-Eden CAP Broker that would allow for authorized users to register a CAP message contained Atom/RSS feed. (C.2) Let the four other CAP-enabled software tools register their CAP RSS/Atom feeds (C.3) Integrate the Crisis Mapping module (GSoC 2014) to enable visualization of the CAP messages received from the other four CAP-enabled software tools (C.4) Offer the service in Sahana-Ede demo site as a tool for CAP implementers to use Sahana-Eden Alerthub Emulator for testing before directly integrating real-live feeds with Google’s Alerthub ===== Facilitators ===== 1. [http://uk.linkedin.com/pub/fran-boon/10/a46/5ab Francis Boon,] [http://www.sahanafondation.org/ SSF] Product Development Committee Chair 1. [http://se.linkedin.com/in/dominickoenig Dominic Konig,] [http://www.sahanafondation.org/ SSF] Standards/Interoperability Program Committee 1. [http://www.wmo.int/pages/prog/amp/pwsp/Presentations.html Eliot Christian], CAP Program Committee Chair, [http://www.wmo.int WMO] 1. Elysa Jones, [http://www.oasis-open.org/ OASIS EM-TC Chair] 1. [http://lirneasia.net/profiles/nuwan-waidyanatha Nuwan Waidyanatha], [http://www.sahanafondation.org/ SSF] Standards/Interoperability Program Committee Chair 1. [http://lirneasia.net/profiles/nuwan-waidyanatha Nuwan Waidyanatha], Sahana Software Foundation Standards & Interoperability Chair and LIRNEasia Senior Research Fellow 1. [http://lirneasia.net/profiles/nuwan-waidyanatha Nuwan Waidyanatha], Sahana Software Foundation Standards & Interoperability Chair and LIRNEasia Senior Research Fellow ===== Footnotes ===== 1. [http://lirneasia.net/profiles/nuwan-waidyanatha Nuwan Waidyanatha], Sahana Software Foundation Standards & Interoperability Chair and LIRNEasia Senior Research Fellow