How to record positionAccuracy of geopoint?

74
6
03-18-2019 11:18 AM
Highlighted
Occasional Contributor

I am trying to record the positionAccuracy of the geopoint within a field but it is not returning successfully. Can someone please suggest how to do so as my attempt is failing:

type = geopoint, name = location

type = calculate, name = loc_uncertainty_distance, calculation=pulldata("@geopoint", ${location}, "positionAccuracy"), bind::esri:fieldType=esriFieldTypeDouble

type = hidden, calculation=${loc_uncertainty_distance}, bind::esri:fieldType=esriFieldTypeDouble

Thanks for any advice!

Reply
0 Kudos
6 Replies
Highlighted
Frequent Contributor II

pulldata("@geopoint", ${GPS}, "horizontalAccuracy")

Reply
0 Kudos
Highlighted
Occasional Contributor

Thanks, Doug, but that still is not working. No data is returning in either the hidden or calculate fields. I don't know if both are necessary, but I added the hidden in case it was, since no data was returning from the calculate field.

And I assume your use of GPS was reflective of what you use, rather than my geopoint field named "location"?

Reply
0 Kudos
Highlighted
Frequent Contributor II

Yea my field is just called GPS.  Works great for me.  It can sometimes be weird when doing it in Connect but the app always gets it.  Never had any trouble with it.

Reply
0 Kudos
Highlighted
Occasional Contributor

I got it working my pairing the calculate field with a note field. The calculate field alone didn't work, nor did pairing it with a hidden field. I don't know why. A bit frustrating because although I want the data recorded, I don't want it displayed in the survey as it already is on the map portion.

Reply
0 Kudos
Highlighted
Frequent Contributor II

Try type hidden?

Reply
0 Kudos
Highlighted
Occasional Contributor

Hidden was the first type I tried, as indicated in my first two responses. Bizarre!

Reply
0 Kudos