Select to view content in your preferred language

Reverse Geocode Sporadically Does not Populate Fields

219
4
3 weeks ago
Blevins_Mark
Frequent Contributor

I have an internal organization survey, built in connect, and users complete on the web app. It essentially captures locations visited during trips. The locations are repeats. Users click on the geopoint map question, and using reverse geocode calculation, i auto-populate fields for nearest town and county, using these calculations.

 

pulldata("@geopoint", ${locations}, "reversegeocode.address.City", "https://gis.mtdeq.us/portal/sharing/servers/7c3a2c800b4f44249adb7c9b03a85ab6/rest/services/World/GeocodeServer")
pulldata("@geopoint", ${locations}, "reversegeocode.address.Subregion", "https://gis.mtdeq.us/portal/sharing/servers/7c3a2c800b4f44249adb7c9b03a85ab6/rest/services/World/GeocodeServer")

 

It works as it should most of the time, but every now and then the town and county fields fail to populate, and i can see no reason why this should be happening. Was wondering if anyone else has experienced something like this. Thanks.

0 Kudos
4 Replies
Neal_t_k
Frequent Contributor

Have you checked the Geocoder has data for those locations?  Maybe it is working but returning blanks?  Worth checking that off the troubleshooting list.

0 Kudos
abureaux
MVP Frequent Contributor

I like (and prefer) this approach. 

I first pull the JSON, then pull values from the JSON. Here is an example:

abureaux_0-1750702925206.png

Sometimes, addresses don't contain the data you'd expect them to. In cases like that, I refer back to the JSON.

Blevins_Mark
Frequent Contributor

Thanks I will give this a try.

0 Kudos
Blevins_Mark
Frequent Contributor

Yeah the geocoder should have values for closest town and the county, regardless of where you click on the map. Thanks.

0 Kudos