Direction of Photo Attachment

2046
4
01-10-2023 10:58 AM
MillionMap
New Contributor III

I have points created in Field Maps with a photo attachment, I'd like to be able to display the direction the photo is pointing to.  Preferably with an arrow or any sort of 'pointing' symbol.  Is there a way to do this?  The plan is to have these points and photo directions displaying within ArcPro.

0 Kudos
4 Replies
JamesGough
Occasional Contributor

I think it depends on if your images have direction data in the EXIF info. There is a GPSImgDirection tag in the EXIF specification under the GPS section, but this does not guarantee that it will actually be available on your images (that depends on the camera used to take the photos - it needs to have the necessary sensors and save that data to the EXIF tags.)

 

If you do have that EXIF data though, you could theoretically extract the GPSImgDirection, add that to a field on a layer, and use that to set symbol rotation.

 

See EXIF tag info here: https://exiv2.org/tags.html (search for Exif.GPSInfo.GPSImgDirection)

0 Kudos
DougBrowning
MVP Esteemed Contributor

I did this using the oriented imagery toolboxes. They were a bit of a pain to setup since it is an exe that I add to get approved (just make it a zip) and it installs to the root of C (that is way out of style).  You have to run the tools then it creates viewshed cones features.  Then you have to publish this as a layer.  So of course it is always out of date.  

  https://doc.arcgis.com/en/imagery/workflows/resources/managing-and-visualizing-oriented-imagery.htm 

https://www.arcgis.com/home/item.html?id=36ee0bbedca64a5a8b68d7c69ab51728 

If there is another way I would love to hear it.  I would be nice to be dynamic vs running tools and creating layers all the time.  But this is the way a lot of things are.

DougBrowning_0-1673379752474.png

3D

DougBrowning_2-1673379878601.png

 

I would like to use the OI App but been really struggling to get it to work.  Like a lot if these new tools it is really only about 80-90% there and takes a lot of hoop jumping.

DougBrowning_1-1673379827874.png

 

Hope that helps

DougBrowning
MVP Esteemed Contributor

Oh and I forgot if you have a simple form take a look at QuickCapture it does all of this for you.

https://www.esri.com/arcgis-blog/products/quickcapture/field-mobility/oriented-imagery-meets-field-d... 

JustinReynolds
Regular Contributor

If you need this to happen at runtime (as the data is collected in Field Maps) then I'm afraid there is no pleasant way to do this at the moment in Field Maps itself... at least not without human interaction. 

If the hope is get this info from the exif data of the photo then one of the issues to overcome would be what to do if there is more than one photo attached by the user. There is no mechanism to get exif data from an attachment that hasn't been committed to the datastore yet.

We achieve this currently by asking the user for the orientation as input.  They are required to use an app that stamps the orientation (e.g. Solocator, Theodolite, etc.)  so that orientation is evident.  The user attaches it the photo then indicates the orientation.  The symbology is configured such that the the orientation of the point features chevron points in the direction based on that field.  The field is a "double" type with a range domain from 0 to 359.9.

- Justin Reynolds, PE