[wp-hackers] EXIF geo data

Joost de Valk joost at yoast.com
Sun Mar 1 16:11:12 GMT 2009


On Mar 1, 2009, at 2:55 PM, Peter Westwood wrote:

>
> 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.
>
> Cheers
>
> westi
>
> [1] http://core.trac.wordpress.org
>
Seems like this complies with http://www.exif.org/Exif2-2.PDF page  
#46, so it indeed follows the standard :)

Best,
Joost


More information about the wp-hackers mailing list