Select to view content in your preferred language

Is there a way to geotag a question to a layer in survey123?

330
2
Jump to solution
01-04-2024 10:46 AM
Rama1356
Occasional Contributor

Hello, 

I'm creating a survey for peace officers. Is there any way for them to record an incident within a polygon (management zones), and that record is geotagged to a specific management zone? 

The result would be: The officer records an incident within zone 3. They survey field for management zone will be automatically filled for zone 3. 

I feel there should be a script for it, my I'm a beginner in Python. Anyone can help?

0 Kudos
1 Solution

Accepted Solutions
rwrenner_esri
Esri Alum

Populating an attribute value from an attribute in an overlapping polygon (e.g. management zone) can be done within the survey itself, no python needed! Provided you're already collecting a geopoint representing the incident location:

- If you're using the Survey123 web designer, you can use a spatial query calculation to pull in this value by specifying the source as Layer.

- If you're using Survey123 Connect, the calculation method pulldata("@layer") can be used which is described with examples here.

-Rylee

View solution in original post

0 Kudos
2 Replies
rwrenner_esri
Esri Alum

Populating an attribute value from an attribute in an overlapping polygon (e.g. management zone) can be done within the survey itself, no python needed! Provided you're already collecting a geopoint representing the incident location:

- If you're using the Survey123 web designer, you can use a spatial query calculation to pull in this value by specifying the source as Layer.

- If you're using Survey123 Connect, the calculation method pulldata("@layer") can be used which is described with examples here.

-Rylee

0 Kudos
Rama1356
Occasional Contributor

Thank you very much! It is working now. 🙂

0 Kudos