[Ssc-dev] Updated Invitation: InformaCam Weekly Scrum
Nathan of Guardian
nathan at guardianproject.info
Tue May 20 16:52:22 EDT 2014
On 05/13/2014 12:49 PM, Wendy Betts wrote:
>
> A quick comment on Martin's notes. We had a similar question about the
> altitude and bearing. In regard to altitude, we determined that what
> the app was actually measuring what atmospheric pressure. In regard to
> bearing, the app was recording whether the phone was in portrait or
> landscape, 0 denoted one and 360 denoted the other. Hope that helps.
We discussed this on the scrum but it is probably a good idea to
re-iterate here and provide better documentation on the wiki and perhaps
in a formal presentation.
First, the web UI/report is very rough still in parts, and the values
displayed there do not fully represent all of the data collected in the
J3M document itself.
For example, in most cases we only show one summary value on the page,
but there are in fact many, many values stored over time in the document
itself. The summary value is intended to be at the time/point of
capture, but it doesn't show the full picture of data.
For altitude, we are indeed using pressure, which is the recommended
approach that Google/Android promotes for calculating altitude. First,
we capture the raw pressure data under the field "pressureHPAOrMBAR".
Then using a standard "air pressure at sea level" value, we attempt to
calculate altitude through a built in mechanism in Android.
The problem is that we are not getting a true "air pressure at sea
level" value for the geospecific location of the phone/user. To do that
we'd need to query a third party service to find the air pressure say at
the nearest airport at that time. It is definitely feasable to do, but
there are privacy issues around potentially leaking geocoordinates that
we need to think about.
FOR NOW, I would say the evidence is the air pressure
(pressureHPAOrMBAR) + the GPS and the timestamp. Together, you could
properly calculate the altitude using historic pressure data from the
area. Not as nice as having it built in, and perfect, that is the
current reality.
SECOND, is bearing. This is more an issue of buggy code, where the
rotation of the phone does indeed cause some problems. I am looking into
this, and hope we can provide better data here with true compass bearing
soon. AGAIN, however, I want to point out that the raw pitch, roll and
azimuth data is captured from the J3M, and if the GPS is high-accuracy
enough to give it to us, we will also capture GPS altitude data (usually
you have to be outside for this).
Hope that is helpful and useful.
Best,
Nathan
More information about the Ssc-dev
mailing list