bigflood / dartexif

Dart package to decode Exif data from tiff, jpeg and heic files
https://pub.dev/packages/exif
MIT License
30 stars 29 forks source link

not getting latitude and longitude from image #27

Closed ajinkya446 closed 2 years ago

ajinkya446 commented 2 years ago

Can not able to get LatLng co-ordinate from image using exif.

image

Getting 58 map items but can't able to find LatLng co-ordinates also tried with GPS as well. final latRef = data['GPS GPSLatitudeRef']?.toString(); print("ref"+latRef.toString()); var latVal = gpsValuesToFloat(data['GPS GPSLatitude']?.values);

Bu it is giving null values from exif

bigflood commented 2 years ago

@ajinkya446 It will helpful if you upload the image file.

ajinkya446 commented 2 years ago

@ajinkya446 It will helpful if you upload the image file. The issue is resolved because it is showing null data for latitude and longitude on image and but after adding Exif data on image using native Android and iOS code in flutter it resolved the issue. After that the same image contains the EXIF data with GPS latlng cordinates.