EXIF tag ·

GPSImgDirection

Compass direction the camera was pointing.

0x0011
Tag ID (17 decimal)
IFD / group
rational64u
Data type
GPS
Table

What GPSImgDirection means#

Compass direction the camera was pointing.

Read, write and remove it#

# read
exiftool -GPSImgDirection photo.jpg
# write
exiftool -GPSImgDirection="…" photo.jpg
# remove
exiftool -GPSImgDirection= photo.jpg
# all files in a folder, as CSV
exiftool -csv -GPSImgDirection -r ./photos > gps-img-direction.csv

In Python with Pillow:

from PIL import Image
exif = Image.open("photo.jpg").getexif()
value = exif.get(0x0011)  # GPSImgDirection
print(value)

Frequently asked questions#

What is the EXIF tag ID of GPSImgDirection?

0x0011 (17 decimal), in the directory.

How do I see GPSImgDirection in a photo?

Run exiftool -GPSImgDirection photo.jpg, or open the file's info panel in Lightroom, Photoshop, Windows (Properties → Details) or macOS Preview (Tools → Show Inspector).

Last updated October 03, 2026 · How we calculate · Sources