FOR ARCHIVAL PURPOSES ONLY

The information in this wiki hasn't been maintained for a good while. Some of the projects described have since been deprecated.

In particular, the "Ushahidi Platform v3.x" section contains information that is often misleading. Many details about this version of Platform have changed since.

This website is an extraction of the original Ushahidi wiki into a static form. Because of that, functions like logging in, commenting or searching will not work.

For more documentation, please refer to https://docs.ushahidi.com

Skip to end of metadata
Go to start of metadata

OGS Report

  • create incident report from Open GeoSMS
  • attach photos to existing report

(in PDF format)

Plugin page *(*This plugin is compatible with Ushahidi 2.1. A newer version to support Ushahidi 2.5 is in progress with plans to enable a cool feature to sync incident photos with Open GeoSMS.

Created by OpenGEO SMS/GeoThings

Blog post

Usage Scenario

  1. Report incident via SMS
  2. Upload photos related to the report via HTTP

OGS Report is hooked to the ushahidi_action.message_sms_add event, so it should be
able to work with any SMS provider plugin. Currently only tested with Fronline SMS plugin.

Open GeoSMS format

the following fields are required in the body of the Open GeoSMS. fields are seperated by '\n'.

  • title
  • description
  • date
  • empty string for server generated date
  • category
  • comma separated list of categories
  • location name
  • empty string for server generated location name

Example
0 http://foo.com/?q=12.34,56,78&GeoSMS
1 my title
2 my desc
3
4 6,7
5
Note the empty lines for server generated date & location name

API

  • ogsreport/ expects HTTP mutipart/formdata
  • POST
  • required fields:
  • m: Open GeoSMS message as described above
  • key: API key (can be found at settings page)
  • optional fields:
  • action
  • unset or 'create': create new report
  •  'attach': attach photos to existing report
  •  incident_photo[]: photo files
  • person_first, person_last, person_email: personal info
  • incident_news[]: news URLs
  • incident_video[]: video URLs

Currently only title, desc, lat, lng are used to identify a report.