Closed pjdohertygis closed 2 years ago
I would go with reverse geocoding. Here is an example XLSForm. This uses the Esri locator which consumes ArcGIS Online credits. To use the XLSForm below users will need to be signed in when using Survey123. Alternatively, you can create a locator service with ArcGIS Server and use it for your reverse geocoding. That would not consume any credits. This technique works in the web and mobile apps.
AutoCalculateZIPCountyState.xlsx
This will only work while online. You can also build the calculations in the back-end using a web hook.
Thanks Ismael - in either case (AGOL or AGS) would this cause an issue when they work offline? Would they hit an error or could they proceed without the geocoding connection? Would it impact performance of the Survey?
On Sep 11, 2019, at 14:54, Ismael Chivite notifications@github.com wrote:
I would go with reverse geocoding. Here is an example XLSForm. This uses the Esri locator which consumes ArcGIS Online credits. To use the XLSForm below users will need to be signed in when using Survey123. Alternatively, you can create a locator service with ArcGIS Server and use it for your reverse geocoding. That would not consume any credits.
AutoCalculateZIPCountyState.xlsx
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
When working offline they will not get any suggestions. No impact on performance. When offline, the function does not even trigger a request to the server.
@pjdohertygis Since a lot of the SAR workflow will occur offline, we will have to run a process on the County and State fields anyway to populate the data that was collected offline. Because of this, I think we will not do a reverse geocode for County and State. We will create one for "Address" since that is "bonus" information that can't be easily populated nationwide on the backend.
We are not going to include this in v7. May be something we come back to in later versions.
We are investigating how to use scripting to autocalculate Address, County, State.
Josh Keller has a script we can use for reverse geocoding and I believe Tim Mahon is adding it to the ArcGIS Pro template. Let's close this issue once confirmed.
What is the best approach for this?