https://bugzilla.wikimedia.org/show_bug.cgi?id=13172

--- Comment #16 from Ilmari Karonen <nos...@vyznev.net> 2010-01-25 00:19:34 UTC 
---
I'm quite sure that exif_read_data() will never return a single rational for
the GPS latitude/longitude fields, at least not for images with valid Exif
metadata.  The Exif standard (JEITA CP-3451, section 4.6.6) says those fields
have type=rational, count=3, which means their values will always consist of
exactly 3 rationals.

Your point about bots receiving metadata via the API is valid, though, and I
should look into that before deploying this.  Then again, no bot has ever
received Exif GPS coordinates from MediaWiki before, since those fields have
always been thrown away by the broken validator.  Dschwen's bot AFAIK works by
downloading the images themselves and using a non-broken Exif parser on them.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to