I am trying to write a survey123 survey and wanted to know if I can auto pull USNG off of a geotrace, or is it only for geopoints?
Thanks in advance
Hi Marvin,
Just to clarify, are you wanting to pull the USNG coordinates of all vertices of a geotrace and write them into another field?
Brett
Brett,
I was hoping to pull the USNG coordinates from what is contained within the geotraced area.
Hi again Marvin,
No, we don't currently have an equivalent to pulldata@geopoint (eg pulldata("@geopoint",${location},"USNG")) that can be used for geotrace or geoshape questions. Geotrace questions are for line geometry and geoshape questions are for polygon geometry. If you are wanting users to draw an area (geoshape) in the survey and then retrieve the co-ordinates for each vertex that describes the area, this could only be done using a custom javascript function within the app. See the blog Extending Survey123 smart forms with custom JS functions, along with the 'JavaScript' sample in Survey123 Connect to get started.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.