exercise24

15
Sahana Eden: Emergency Development Environment 16 September 2010, Exercise 24 Fran Boon [email protected]

Upload: aidiq

Post on 09-Jun-2015

852 views

Category:

Documents


0 download

DESCRIPTION

Emergency Development Environment with Mapping

TRANSCRIPT

Page 1: Exercise24

Sahana Eden:Emergency

Development Environment16 September 2010, Exercise 24

Fran Boon

[email protected]

Page 2: Exercise24

Sahana Modules

• Organisation Registry

• Person Finder

• Request Management

• Inventory

• Shelter Registry

• Hospital Management

Page 3: Exercise24

Mapping

• Overlay

• Import

• Export

…including Offline…

Page 4: Exercise24
Page 5: Exercise24

Export Feeds (e.g. KML)• Show all Hospitals which have more than 10 beds available:…/hms/hospital?hospital.available_beds__gt=10 • Show all Hospitals which have a Burns unit:

…/hms/hospital?services.burn=True • All Hospitals +/- 1 degree from Peshawar

…/hms/hospital?location_id.lat__gt=33&location_id.lat__lt=35&location_id.lon_gt=70.5&location_id.lon__lt=72.5 • …/hms/hospital?hospital.postcode__like=7%,8%,9% • …/hms/hospital?hospital.postcode__unlike=7%

• …/pr/person?address.location_id=1,3,65,2 • …/pr/person?address.location_id__ne=1,3,65,2 • …/pr/person?presence.presence_condition=99&presence.closed=False

Page 6: Exercise24

Mapping

• OpenStreetMap

• Google, Yahoo, Bing

• GIS: WMS, WFS

• GeoRSS

• KML

• GPX

Page 7: Exercise24

Other Technology

• Synchronisation–Offline usage

• Internationalisation–Even if Google doesn’t support the

language

Page 8: Exercise24

Other Technology

• Messaging–SMS / Email / Twitter

• Android (XForms)

• Assisted OCR (XForms)

• Spreadsheet Importer

• Charting: SVG

Page 9: Exercise24

Software Development Cycle

Page 10: Exercise24

Emergency• We have to build a system in 5 minutes!

Page 11: Exercise24

Incident Reporting System

Data:• Location• Date• Reporter• Details

Screens:• Report Incident• View Incidents• Update Incident

Page 12: Exercise24

Define Data

models/inc.py

table = db.define_table("inc_incident",

location_id,

Field("date", "date"),

person_id,

comments

)

Page 13: Exercise24

Forms for CRUD

controllers/inc.py

def incident():

return shn_rest_controller("inc",

"incident")

Page 14: Exercise24

We’re already working!

http://127.0.0.1:8000/eden/inc/incident

Page 15: Exercise24

Interested?Join the Global Community:

Eden.SahanaFoundation.org• Mailing List, IRC Chat

• Partners:

Healthscapes.org

HumanityRoad.org