Select to view content in your preferred language

Survey123 connect question to capture city/state and/or country of residence?

169
4
Jump to solution
4 weeks ago
GIS_utahDEM
Frequent Contributor

I feel like this should be relatively straightforward, but I'm drawing a blank. I would like to capture a survey respondents city/state/country of residence. I do not need to save the location as a point (I have another more pertinent geopoint question), but I would like to use an actual location (not just a text box) so I can calculate to find whether it's in a specific county or state. I would also like to pull the city, state, and country values to other hidden fields for ease of data management and sorting later. 

Seems like something that would be pretty straightforward for a GIS-based survey, but I'm not thinking of a good solution. 

0 Kudos
1 Solution

Accepted Solutions
LaurenceTait
Frequent Contributor

Soultion in previous thread.

In simple terms, set up a geocode question for people to select their location. You can then pull whatever data you want from that response and save it to other fields. You can even save the lats and longs as text if you wish to use that to cross check agisnt polygons later.

View solution in original post

4 Replies
DavidPike
MVP Notable Contributor

What would the intended question look like?  I don't entirely understand. 

0 Kudos
GIS_utahDEM
Frequent Contributor

1. Where does the subject live?

City, State, Country (ideally autocomplete)

2. Does the subject live "In County"?

Calculated intersect with polygon based on answer to question 1

3. Does the subject live "In State"?

Calculated intersect with polygon based on answer to question 1

4. Subject City (hidden)

Calculated or pulled from Question 1

5. Subject State (hidden)

Calculated or pulled from Question 1

6. Subject Country (hidden)

Calculated or pulled from Question 1

 

0 Kudos
LaurenceTait
Frequent Contributor

Soultion in previous thread.

In simple terms, set up a geocode question for people to select their location. You can then pull whatever data you want from that response and save it to other fields. You can even save the lats and longs as text if you wish to use that to cross check agisnt polygons later.

GIS_utahDEM
Frequent Contributor

I was hoping to not have to geocode since it consumes credits, but yes that makes sense as a potential solution if I can't find another way.

0 Kudos