Résumé
Returns EXIF header information from a geotagged image.
Discussion
If no valid header information is found, the method returns None as the object.
Syntaxe
GetImageEXIFProperties (In_geotagged_image)
Paramètre | Explication | Type de données |
In_geotagged_image | The input geotagged image. | String |
Valeur renvoyée
Type de données | Explication |
List | If no valid header information is found, the function returns None. |
Exemple de code
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]))