Resumen
Returns EXIF header information from a geotagged image.
Debate
If no valid header information is found, the method returns None as the object.
Sintaxis
GetImageEXIFProperties (In_geotagged_image)
Parámetro | Explicación | Tipo de datos |
In_geotagged_image | The input geotagged image. | String |
Valor de retorno
Tipo de datos | Explicación |
List | If no valid header information is found, the function returns None. |
Muestra de código
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]))