Extract EXIF data from images

Note:

Some workflows may require specific privileges. For more information about user types, roles, and privileges, see the Accounts topic.

Exchangeable image file format (Exif or EXIF) is a format used for images shot on digital cameras and drones that include metadata for the image including coordinates and other GPS information. The Extract EXIF data tool in ArcGIS for SharePoint is a client-side tool that allows you to extract selected metadata from EXIF images, store the information in the SharePoint document library, and use the location information to add the data as points on a map. When using the tool, you can also turn on the Power Automate flow toggle button for all newly added images, which allows you to set up a flow that automatically extracts the data from new images added to your SharePoint library.

Caution:

Setting up the Power Automate flow requires a premium Power Automate license and your Microsoft administrator has to approve the Flows API Service and the PowerApps API Service. See System settings for information on the API access.

Tags allowed by ArcGIS for SharePoint

You can extract the following tags using the Extract EXIF data tool; however, extracting Exif.GPSInfo.GPSDestLatitude (GPSLatitude) and Exif.GPSInfo.GPSDestLongitude (GPSLongitude) ensures you have the coordinates for mapping.

For more information on EXIF tags and the data that can be extracted, see the Standard Exif Tags article on the Exiv2 website.

GPSInfoImage

GPSLongitudeRep

DateTime

GPSLongitude

DateTimeOriginal

GPSAltitudeRep

Imagewidth

GPSAltitude

Imagelength

GPSTimeStamp

BitsPerSample

GPSSatellites

Compression

GPSStatus

PhotometricInterpretation

GPSMeasureMode

DocumentName

GPSDOP

ImageDescription

GPSSpeedRef

Make

GPSSpeed

Model

GPSTrackRef

StripOffsets

GPSTrack

Orientation

GPSImgDirectionRef

SamplesPerPixel

GPSImgDirection

RowsPerStrip

GPSMapDatum

StripByteCounts

GPSDestLatitudeRef

XResolution

GPSDestLatitude

YResolution

GPSLongitudeRef

PlanarConfiguration

GPSDestLongitude

ResolutionUnit

GPSDestBearingRef

TransferFunction

GPSDestBearing

Software

GPSDestDistanceRef

Artist

GPSDestDistance

WhitePoint

GPSProcessingMethod

PrimaryChromaticities

GPSAreaInformation

JPEGInterchangeFormat

GPSDateStamp

JPEGInterchangeFormatLength

GPSDifferential

YCbCrCoefficients

YCbCrSubSampling

YCbCrPosition

ReferenceBlackWhite

Copyright

Extract EXIF data

To extract EXIF data from images in your SharePoint document library, complete the following steps:

  1. Open the SharePoint document library that contains your images.
  2. Select the item or items from which you want to extract EXIF info.

    To select the entire document library, continue without selecting any rows.

  3. Click Extract EXIF data from the SharePoint toolbar.

    Extract EXIF data on the SharePoint toolbar

    Note:
    You may need to click the ellipses for more options.

    The Extract EXIF data pane appears.

  4. Under Images to extract from, select Entire document library or Selected items.

    A count of the items is displayed.

  5. Under Data to extract, search for and select the tags that you want to extract.
    Extract EXIF data pane

    The extraction will create columns for each tag and populate the cell with the extracted information.

  6. Click Run.

    The extraction runs and a progress window appears. An error window appears if the image file has no EXIF data or if your ArcGIS connection token expires. Ensure the item has EXIF data or refresh the ArcGIS connection token in Power Automate to continue.

The SharePoint library is updated with each item's metadata.

Extraction workflow results

The items are ready for mapping.

Set up a Power Automate flow for new images

Note:

You need a Microsoft Power Automate premium license, and your Microsoft administrator has to approve the Flows API Service and the PowerApps API Service. See System settings for information.

To extract EXIF data from new images in your SharePoint document library using Microsoft Power Automate, complete the following steps:

  1. Open the SharePoint document library that contains your images, or a document library where you plan to upload images.
  2. Click Extract EXIF data from the SharePoint toolbar.

    Extract EXIF data on the SharePoint toolbar

    Note:

    You may need to click the ellipses button for more options.

    The Extract EXIF data pane appears, and Entire document library is selected by default since the flow is set up for newly added images.

  3. Under Data to extract, search for and select the tags that you want to extract.
  4. Under the Power Automate flow section, turn on the Automatically extract from new items toggle button.
    Extract EXIF data pane with flow turned on
    Note:

    Optionally, turn off the Automatically extract from new items toggle button to stop any new items from automatically having their data extracted.

  5. Ensure your Power Automate environment, ArcGIS connection reference, and SharePoint connection reference are correct.
    Note:

    See Manage connections in Power Automate in the Microsoft documentation for more information on adding connections in Power Automate.

  6. Click Run.
    Note:

    Clicking Cancel when running the tool will only stop the client-side tool that is extracting existing SharePoint document library items. The Power Automate flow will continue to run for newly added items.