Geopoint - Assigning ID based on spatial location

10-13-2020 10:48 AM
Occasional Contributor III

Is it possible to assign an ID to a field based on where a geopoint is placed on a map? Can be anywhere. We would like to populate an office field based on where the geopoint is placed. So if the geopoint is closest an office, call the office name in the field. Any help or examples would be appreciated! Thanks!

0 Kudos
1 Reply
Esri Esteemed Contributor

Hi Jordan,

This is currently possible by using a custom JavaScript function that makes a spatial query - see the 'JavaScript' example available in Survey123 Connect.  Additionally, I would suggest monitoring the Early Adopter Community - the next update will have an additional method to accomplish this.

0 Kudos