possible to display auto GPS in case list?

18 views
Skip to first unread message

Ameera Hamid

unread,
Oct 1, 2014, 10:38:42 AM10/1/14
to commcar...@googlegroups.com
HI Everyone,

Prior to the auto GPS function on v2.14, one was able to display coordinates captured in the GPS question on the case list by saving the GPS question as a case property and loading it to the case list (as in Hungry Hungry Coders found on the exchange).  Is there an analogue for the auto GPS? so that one can display the coordinates on the case list if the form is set up to automatically capture the GPS.

this would be very helpful

Kind regards,
Ameera

Sheel Shah

unread,
Oct 1, 2014, 11:00:04 AM10/1/14
to commcar...@googlegroups.com
Hi Ameera,

You can add a hidden value to your form, and set the calculation to:
/data/meta/location

This will grab the automatically captured GPS location from the form.  You can then save this to the case.  The only caveat is that in some situations we won't capture a GPS location (taking too long, no GPS available), so that hidden value may be blank.

Thanks,
Sheel


--
You received this message because you are subscribed to the Google Groups "commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Sheel Shah
Project Manager | Dimagi
m: +1.781.428.5419 | skype: sheel_shah


Ameera Hamid

unread,
Oct 1, 2014, 1:41:54 PM10/1/14
to commcar...@googlegroups.com

Thanks sheel this is really helpful.  Its not a train smash if no coordinates are captured and it shows up blank - its actually a good way for students to check if a coordinate was captured or not as this was a concern for them when I introduced the auto gps capture.

Kind regards,
Ameera

You received this message because you are subscribed to a topic in the Google Groups "commcare-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/commcare-users/IiZNHpx6QRU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to commcare-user...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages