Download - geocode.py
This is a very simple piece of software which will geocode images. It is not intended to be used as an end-user piece of software, but is instead an example of how to write this code in Python.
The code will read a GPS tracklog data file in GPX format using the minidom XML parser which is part of the Python standard library. The position information in the tracklog is interpolated using the Numpy mathematics library. The positions are then matched and written to the image files using exiftool.