Does geotrace support autopull for USNG?

741
3
08-31-2020 03:01 PM
MarvinLopez
New Contributor

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

Tags (3)
0 Kudos
3 Replies
BrettStokes
Esri Contributor

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

0 Kudos
MarvinLopez
New Contributor

Brett,

I was hoping to pull the USNG coordinates from what is contained within the geotraced area.

0 Kudos
BrettStokes
Esri Contributor

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.

Brett

0 Kudos