Opened 4 years ago
Last modified 3 years ago
#9257 new enhancement
EXIF GPS data
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| 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)
Change History (6)
Viper007Bond — 4 years ago
comment:1
alanjcastonguay — 4 years ago
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
Note: See
TracTickets for help on using
tickets.

Patch version of previous attachment