openphoto/mobile-ios — Issue #61: Deciding which GPS information to use
Author: jmathai
Created: 2011-11-08 21:11:41+00:00
State: open

The upload API will extract location information if found in the photo. However as with all endpoints the parameters passed have a higher precedence. As noted on a thread in Facebook thread* this could be problematic and yield inaccurate information in the following instance:

* If uploading from your camera roll the location will almost always be incorrect (even if the photo has location information)

Ideally this would be how the location information is passed in.

1. If the location setting is not enabled then do not send current location from GPS
1. If the photo has location information embedded and we can detect that, do not pass current location from GPS
1. If the photo does not have location then pass the current location.
* Ideally we only do this when using the camera and not the library

--- http://www.facebook.com/groups/openphoto/197678940310115/