Proximity based Question

10-05-2018 11:36 AM
Occasional Contributor

Hi Survey123ers,

I don't think this is there yet, but I would like to have the functionality to create a question that is answered by hitting a button to retrieve the attribute from the closest feature that the question has been configured for. 

Here is my real world example:  I am out in the field inspecting transmission towers.  I would like to retrieve data using pulldata on the tower that I am closest to.  This could be a simple question that I hit a button on to retrieve the closest tower, then I can use pulldata to populate my other answers.  I have done this using collector in the past, where the user launches the survey from Collector using the URL scheme to open the correct tower for inspection, but the maintenance of a Collector configuration is overkill for something quite simple.  I have also used Inbox to take data out to the field, and the Survey123 Map to get to the correct tower and fill out the survey, but the limitation/workaround to collect photos on an Inbox survey is a bit cumbersome in backend data processing. 

This could be a new appearance on a text control that places an icon button next to the text box for getting the value based on your current location.  Then using the calculate or default to go get the value from a simple configuration similar to an external CSV with lat/long and the feature value to return.  The trick may be that in out network we have 20,000 towers and would it work on that size of external dataset.  If not, the towers could be split into regions to get the datasets to a more manageable size.



0 Kudos
0 Replies