osayouba / opendatakit

Automatically exported from code.google.com/p/opendatakit
0 stars 0 forks source link

Store GPS time with geopoint #982

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What tool are you using?

ODK Collect

What is frustrating, troubling, annoying or lacking?

We are using Android phones in an offline environment and cannot rely on NTP 
network time synchronization. Sometimes the time on the phone gets reset, so 
the time and date on the form is incorrect

How would you like it to work?

We would like to store the time reported by the GPS when the user records a GPS 
location for a geopoint. This should be possible with the Java call 
location.getTime(). This would not change existing functionality of the form, 
just save an additional field with any geopoint recording the time the point 
was taken. In our use-case this would be more reliable than using the form 
"start" field, which can be incorrect if the phone clock is not set correctly.

NOTE: the core team has limited ability to make software enhancements.
We rely heavily on community-contributed enhancements to the tools. If this
is something you very much need, consider hiring a developer to make the
changes with the stipulation that they work with the core team to specify
the details of the change and contribute the change back to the project
under an Apache 2 license.

Original issue reported on code.google.com by gmaclen...@digital-democracy.org on 11 Mar 2014 at 7:34

GoogleCodeExporter commented 9 years ago
Interesting idea. 

This would be more easily accomplished once a set of contributions from 
SurveyCTO are factored into the main codebase. 

Once that is done, you could have a multi-valued field update, and could create 
a widget or external app that captures both and saves the two into separate 
fields.

We won't have time to do this ourselves, but will fold in this functionality if 
it is contributed back.

Original comment by mitchellsundt@gmail.com on 13 Mar 2014 at 7:24