image-processingopen-sourceexifxmpgeotagging

Open source library to get geotags from images?


Is there an open source library to efficiently and reliably get geotags from an image?

I want something system agnostic, hence a library instead of a program. I would love something well documented and in Python but any language works.

I'm not looking for exif reader per se, not all geotags are stored in exif. I want something that can find geotags independent of how they are stored in the image's metadata.


Solution

  • I maintain the MetadataExtractor library which supports GPS data along with many other kinds of metadata.

    It has implementations in:

    Here's a sample that produces a Google Map from a batch of images:

    https://github.com/drewnoakes/metadata-extractor/blob/master/Samples/com/drew/metadata/GeoTagMapBuilder.java