Select to view content in your preferred language

EXIF tag Exif.GPSInfo.GPSImgDirection in survey123 Connect

375
1
06-29-2023 09:31 AM
EuropaxEarth
Regular Contributor

Hello,

I have a Survey123 form where users can upload their field photos into. I converted survey123 into XLS format so I could take advantage of the calculation function. 

I'm attempting to use the "GPSInfo.GPSLatitude", "GPSInfo.GPSLongitude", and "GPS.ImgDirectionRef" EXIF tag to know where these pictures were taken and what direction they were taken in.

Because I want to extract lat/lon information from the photos users upload I have the following calculation on the row that asks users to upload their images:

 pulldata("@exif", ${Photo_Attachment}, "GPSImgDirection")

where Photo_Attachment is the label. 

Based on all the "broken the parser" errors I've received I can tell something is seriously wrong with the syntax of the code above. I believe the second parameter should indicate the question in my XLS form which is "Photo Attachment". 

Any clarification as to how best to approach this problem would be greatly appreciated. 

I'd be more than happy to provide more context if need be.

0 Kudos
1 Reply
IsmaelChivite
Esri Notable Contributor

Uploading the XLSFile, or a simplified version of it, may give people a chance to help. 

0 Kudos