mobile icon indicating copy to clipboard operation
mobile copied to clipboard

Mobile is not pre-filling gps info from gallery picture

Open PatrikMizera opened this issue 4 years ago • 6 comments

TC 04: H Tested on Input version: 2.22.211209063002 IOS IPAD

Using project: tc04_recording Layer and Theme: PhotoSurvey

  • adding new feature and choosing photo from gallery
  • unable to fill in forms about feature tested with various pictures, pictures were also checked in another standalone app, where they showed needed gps information

https://user-images.githubusercontent.com/94351263/145452688-3280b257-70d6-4a6e-8344-0efc50356fc4.MP4

PatrikMizera avatar Dec 09 '21 18:12 PatrikMizera

This is interesting, as on old iPhone 6S it works well and also on Android devices

jozef-budac avatar Dec 09 '21 22:12 jozef-budac

I wonder whether this has ever worked on iOS 🤔 I could reproduce it also on previous version

tomasMizera avatar Dec 10 '21 10:12 tomasMizera

This is what we get for a photo from iOS (no GPS info):

{
    ColorModel = RGB;
    DPIHeight = 72;
    DPIWidth = 72;
    Depth = 8;
    Orientation = 6;
    PixelHeight = 3024;
    PixelWidth = 4032;
    ProfileName = "Display P3";
    "{Exif}" =     {
        ColorSpace = 1;
        ComponentsConf
iguration =         (
            1,
            2,
            3,
            0
        );
        ExifVersion =         (
            2,
            2,
            1
        );
        FlashPixVersion =         (
            1,
            0

        );
        PixelXDimension = 4032;
        PixelYDimension = 3024;
        SceneCaptureType = 0;
    };
    "{TIFF}" =     {
        Orientation = 6;
        ResolutionUnit = 2;
        XResolution = 72;
        YResolution = 72;
    };

}

tomasMizera avatar Dec 10 '21 11:12 tomasMizera

See: https://stackoverflow.com/a/12239286/7875594 and possibly: https://stackoverflow.com/questions/31501691/get-gps-coordinates-in-obj-c

tomasMizera avatar Dec 10 '21 11:12 tomasMizera

Working on my iPhone 6S :)

https://user-images.githubusercontent.com/83582181/145613190-ae9ea5f5-c2b2-4fc4-a820-f8eeda55b882.MP4

jozef-budac avatar Dec 10 '21 17:12 jozef-budac

We are using an old way of accessing the data, it might be that iPhone 6 is still compatible :)

tomasMizera avatar Dec 10 '21 21:12 tomasMizera