[wp-hackers] EXIF geo data

Peter Westwood peter.westwood at ftwr.co.uk
Sun Mar 1 13:55:47 GMT 2009

On 28 Feb 2009, at 17:39, Tomislav Bišćan wrote:
> When someone in WP try to upload an image it's executed
> wp_read_image_metadata function (wp-admin/includes/image.php).
> There is added info from exif if available.
> For my project I needed to fetch GPS longitude and latitude.
> So i made a change in that file so longitude and latitude are also  
> added if
> available.
> Changed file is here:
> http://www.b-scan.net/image.phps
> I think that will be good to add in some new WP version.
> What do you think?
> Can someone examine/diff and then commit file if good?

This looks interesting.

Is this a standard way of expressing the GPS info in exif or is it  
camera/gps specific?

Please raise a ticket on trac [1] and attach a patch.



[1] http://core.trac.wordpress.org

Peter Westwood
http://blog.ftwr.co.uk | http://westi.wordpress.com
C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5

More information about the wp-hackers mailing list