Results 1 to 1 of 1

Thread: Cannot read GPS Coordinates after "Take Photo" option

  1. #1
    Join Date
    Jan 2017
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Cannot read GPS Coordinates after "Take Photo" option

    Hi!
    I created app to read Geo Location using exif_read_data function.
    Code:
     $info = exif_read_data($file);
     if (isset($info['GPSLatitude']) && isset($info['GPSLongitude'])) {          
                         $GPSLatitudeRef  = strtolower(trim($info['GPSLatitudeRef']));
    ...................................... and so on
    }
    I used iPhone 6 to take a picture and upload it using my app.

    Scenario 1:
    I took a pic
    Opened app to upload a file
    Selected (from "Photo Library") - got coordinates!

    Scenario 2:
    Opened app to upload a file
    Selected "Take Photo" - no coordinates! :-(

    Does anyone knows why?

    Thanks,
    Alex
    Last edited by jscheuer1; 01-27-2017 at 01:50 AM. Reason: format code

Similar Threads

  1. xml coordinates
    By Macastaneda in forum Flash
    Replies: 1
    Last Post: 12-28-2012, 06:46 AM
  2. Collision Coordinates
    By neo_philiac in forum Flash
    Replies: 1
    Last Post: 07-02-2008, 09:08 PM
  3. x,y coordinates in an image?
    By batman in forum JavaScript
    Replies: 1
    Last Post: 11-21-2006, 02:27 AM
  4. get coordinates of <div> tag
    By suman in forum JavaScript
    Replies: 1
    Last Post: 11-20-2006, 07:22 AM
  5. coordinates in different resolutions
    By undeshila in forum JavaScript
    Replies: 0
    Last Post: 08-24-2005, 10:35 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •