[gdal-dev] EXIF geotagging with GDAL?

Andrew Brooks arb at sat.dundee.ac.uk
Wed Jul 2 13:47:30 EDT 2008


On Wed, 02 Jul 2008 17:15:32 +0100, Roger André <randre at gmail.com> wrote:
> I'm writing to ask if anyone has used the GDAL library in conjunction with
> something else (PIL probably) to create geotagged images?
>
> I'd like to write a simple app that takes a placename and an image filename,
> does a quick geocoding using the Google Maps geocoder, and then writes the
> lat/lon into the image header.  I haven't found a good reference yet that
> describes what the EXIF header info should look like, but I see that
> gdalinfo reports EXIF info when run on an image with tags in it.

Hi

Use ExifTool to write the EXIF tags, it's the best :-)

Use gpsPhoto.pl to do the geocoding (it uses ExifTool internally); it has
an option to convert place names to lat/lon.

Andrew


More information about the gdal-dev mailing list