Hi
I have read https://community.esri.com/groups/survey123/blog/2018/07/06/understanding-reverse-geocoding-in-survey123-30
From this I have derived the expression:
pulldata("@geopoint",${location},"reversegeocode.address.Address","URL OF MY LOCATOR SERVICE")
Which I have placed in the calculation field of a multiline text element just after a geopoint element called location.
I can reverse geocode the rest end point to get a result in json, the start of which looks like this:
{ "address":{ "Address":"62 BROUGHTON ROAD, DONCASTER, DN4 7HN",
"LOCATOR_ENVELOPE":"461061,400659,461061,400659",
"LOCATOR_POINT":"461061,400659",
"LOCATOR_DESCRIPTION":"62 BROUGHTON ROAD, DONCASTER, DN4 7HN",
...
So I don't understand why I am getting nothing at all.
What am I doing wrong in order to get the Address populating into my text field?
UPDATE: I have managed to get an address populating the field but only when I have search for an address and select that address from the locator search. If I put a point on the map my field remains blank. Is there a default search radius that can be increased that is causing the issue?