Opened 4 years ago

Last modified 3 years ago

#9257 new enhancement

EXIF GPS data

Reported by: B-Scan Owned by: anonymous
Priority: normal Milestone: Future Release
Component: Upload Version: 2.7
Severity: normal Keywords: has-patch needs-testing
Cc:

Description

Attached patch adds GPS longitude and latitude to image meta data.
Changed: wp_read_image_metadata function (file: wp-admin/includes/image.php).

It complies with exif standard:
http://www.exif.org/Exif2-2.PDF (page 46)

Commented on wp-hackers list:
http://comox.textdrive.com/pipermail/wp-hackers/2009-March/025093.html

Attachments (2)

image.php (11.6 KB) - added by B-Scan 4 years ago.
9257.patch (1.7 KB) - added by Viper007Bond 4 years ago.
Patch version of previous attachment

Download all attachments as: .zip

Change History (6)

B-Scan4 years ago

Patch version of previous attachment

is_float(50) == false

In the incredibly unlikely case* that the number coming out of wp_exif_gpsconvert() is an integer, it will return 999.

*Or a GPS unit with sufficiently low resolution to only return degrees and not minutes or seconds.

  • Keywords has-patch needs-testing added; exif gps longitude latitude image removed
  • Milestone changed from Unassigned to 2.9
  • Version set to 2.7
  • Component changed from Administration to Upload

comment:4   ryan3 years ago

  • Milestone changed from 2.9 to Future Release
Note: See TracTickets for help on using tickets.