Zusammenfassung
Returns EXIF header information from a geotagged image.
Beschreibung
If no valid header information is found, the method returns None as the object.
Syntax
GetImageEXIFProperties (In_geotagged_image)
Parameter | Erläuterung | Datentyp |
In_geotagged_image | The input geotagged image. | String |
Rückgabewert
Datentyp | Erläuterung |
List | If no valid header information is found, the function returns None. |
Codebeispiel
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]))