Hi James,
Thank you for your reply. I can’t seem to get the correct syntax for populating the geocoded address from a lat long coordinate using the rest end geocoding service that we’ve created from LINZ data https://gistest.boprc.govt.nz/server/rest/services/LINZ_Street_Address_Locator_Test/GeocodeServer/reverseGeocode
Here is the feature service (public) that is used to store the records from the survey. https://services1.arcgis.com/TWsoAGve3wb3oFHK/arcgis/rest/services/service_6d293b9993ab4a708a05940c8f52c079/FeatureServer
I have repeated the same test using the same address. 6 Mair Street, Matatā. See Object ID 51 and 52. I have entered similar data both in the webapp and in the desktop field app of survey123 and the results are different.
The X and Y lat long fields are populated everytime in both apps using the esri geocoder with simply the pulldata function but the reversegeocode.location and reversegeocode.adress.Match_addy only seem to be working when being run out of the desktop app (tested using both ESRI and our test LINZ geocoder).
Is it possible that this could be a bug?
hidden
PWaterTake_LINZRevGeocodeAddy
Reverse geocoded address at primary water take location
pulldata("@geopoint",$,"reversegeocode.address.Match_addr", "https://gistest.boprc.govt.nz/server/rest/services/LINZ_Street_Address_Locator_Test/GeocodeServer")
hidden
PWaterTake_LINZRevGeocodeX
Reverse geocoded location at LINZ address point X Coordinate
pulldata("@geopoint",$, "reversegeocode.location.x", "https://gistest.boprc.govt.nz/server/rest/services/LINZ_Street_Address_Locator_Test/GeocodeServer")
hidden
PWaterTake_LINZRevGeocodeY
Reverse geocoded location at LINZ address point Y Coordinate
pulldata("@geopoint",$, "reversegeocode.location.y", "https://gistest.boprc.govt.nz/server/rest/services/LINZ_Street_Address_Locator_Test/GeocodeServer")
hidden
ESRIGeocodedAddressPrimaryTake
ESRIGeocodedAddressPrimaryTake
pulldata("@geopoint",$,"reversegeocode.address.Match_addr")
hidden
LatitudePrimaryTake
Latitude
pulldata("@geopoint", $,"y")
hidden
LongitudePrimaryTake
Longitude
pulldata("@geopoint", $,"x")
Cheers,
Simon Allard
GIS Analyst
Bay of Plenty Regional Council Toi Moana