Auto Populate a Drop-down List based on spatial location

247
2
11-14-2019 01:44 PM
MarcoAntonio_de_Medeiros_Junio
New Contributor II

Hello guys. I configured a rule that the user must to be less than 100 meters from de station to answer the form. I have a external list of stations (.csv) and their coordinates and I'm using pulldata and Haversine formula. It is ok. 

But now I would like to populate a select_one choice list based on user's GPS location. For example, based on user's GPS location a drop-down list shows only stations that is located on less than 100 meters of distance.

Is there any way to set this type of rule?

Tks!

0 Kudos
2 Replies
MarcoAntonio_de_Medeiros_Junio
New Contributor II

Any suggestion guys? 

0 Kudos
Philip-Wilson
Esri Frequent Contributor

Hi Marco,

No, it is not currently possible to dynamically filter the choice list (select one or select multiple drop down) based on location. It is possible to return a single result from a CSV via pulldata() as demostracted in this post https://community.esri.com/groups/survey123/blog/2018/01/10/calculating-distances-between-multiple-g..., however that same logic can not be applied to a choice list using the choice filter option.

Regards,

Phil.

0 Kudos