I want to extract the latitude and longitude from the EXIF information in jpeg images. I am looking for a Java-based open source library.
Asked
Active
Viewed 1,485 times
2
-
5Longitude and latitude, IF they exist in a jpeg, are in the EXIF headers. Just google around for how to read jpeg EXIF headers in Java. – Chris Eberle Feb 24 '13 at 19:02
-
See http://stackoverflow.com/questions/120283/working-with-latitude-longitude-values-in-java – Mihai8 Feb 24 '13 at 19:03
2 Answers
1
I was also looking for a library to read jpeg geotag data. I looked at Metadata Extractor written by Drew Noakes, as suggested by mjshaw. However it had way more than I needed. So I created a slimmed down version available here: https://github.com/alecdhuse/Java-Jpeg-Geotag-Reader
It will return latitude, longitude, altitude and the time from the photo's exif data.

alecdhuse
- 131
- 1
- 10