Summary
Returns EXIF header information from a geotagged image.
Discussion
If no valid header information is found, the method returns None as the object.
Syntax
GetImageEXIFProperties (In_geotagged_image)
Parameter | Explanation | Data Type |
In_geotagged_image | The input geotagged image. | String |
Return Value
Data Type | Explanation |
List | If no valid header information is found, the function returns None. |
Code sample
Returns the EXIF properties of an image.
import arcpy
exifgps = arcpy.GetImageEXIFProperties(r"d:\MyData\folder1\DSC07278.JPG")
print("Longitude: {}".format(exifgps[0]))
print("Latitude: {}".format(exifgps[1]))
print("Altitude: {}".format(exifgps[2]))