My app collects GPS location normally. Which of course lumps latitude and
longitude into one field.
But I am supposed to collect a single field with only the latitude... and
then another field with only the longitude. (According to our plan, this
would have to be done within commcare only, I can't do this in excel after
the fact.)
--> Can you tell me how I might create a formula to individually extract
only those two parts of the GPS field? Some kind of fancy regular
expression or something I can place in a hidden value field?
···
On Tue, Nov 29, 2016 at 4:13 AM, Eric Stephan wrote:
Hi folks --
My app collects GPS location normally. Which of course lumps latitude and
longitude into one field.
But I am supposed to collect a single field with only the latitude... and
then another field with only the longitude. (According to our plan, this
would have to be done within commcare only, I can't do this in excel after
the fact.)
--> Can you tell me how I might create a formula to individually extract
only those two parts of the GPS field? Some kind of fancy regular
expression or something I can place in a hidden value field?
Awesome. Given that it was right in the documentation, there's a famous,
kind of mean four-letter acronym that you could have used, but I'm happy
you didn't use it!
thx
Eric
···
On Tuesday, November 29, 2016 at 4:13:19 PM UTC+7, Eric Stephan wrote:
>
>
> Hi folks --
>
> My app collects GPS location normally. Which of course lumps latitude and
> longitude into one field.
>
> But I am supposed to collect a single field with only the latitude... and
> then another field with only the longitude. (According to our plan, this
> would have to be done within commcare only, I can't do this in excel after
> the fact.)
>
> --> Can you tell me how I might create a formula to individually extract
> only those two parts of the GPS field? Some kind of fancy regular
> expression or something I can place in a hidden value field?
>
> thanks!
> Eric
>
>