[gdal-dev] Geotagging photos

Zoltan Szecsei zoltans at geograph.co.za
Mon Nov 19 08:07:48 PST 2012


Great - Thanks.

exiftools rules.
I wrote a script to create the following commands (in BASH) per photo, 
then copied over and ran it at the Windows cmd prompt.

exiftool.exe -exif:gpslatituderef=S -exif:gpslatitude="27 42 01.85" 
-exif:gpslongituderef=E -exif:gpslongitude="23 00 30.6" 
-exif:gpsaltituderef=0 -exif:gpsaltitude=1200.562988299999900 P017.JPG

It gave a warning on the -exif:gpsaltituderef=0  param, but seems to 
have worked.

Big thanks,
Zoltan



On 2012/11/19 15:03, Newcomb, Doug wrote:
> Zoltan,
> If you are scripting things, this might work.
> http://www.sno.phy.queensu.ca/~phil/exiftool/ 
> <http://www.sno.phy.queensu.ca/%7Ephil/exiftool/>
>
> If you're running linux, you might also look at this.
>
> http://scribblesandsnaps.com/2011/02/16/geotag-photos-with-open-gps-tracker-and-digikam/
>
> Doug
>
>
>
> On Mon, Nov 19, 2012 at 7:18 AM, Zoltan Szecsei 
> <zoltans at geograph.co.za <mailto:zoltans at geograph.co.za>> wrote:
>
>     Hi,
>     What is the quickest way to geotag photos?
>     Let's assume the the GPS time was NOT synchronised with the camera.
>
>     I have 122 GPS points named P001 to P122 and I have 122
>     photographs named P001.jpg to P122.jpg
>
>     I'm hoping that I can use gdaltranslate  with a linux bash script
>     to add the positional data to the images to create geotagged jpegs.
>
>     Thanks in advance,
>     Zoltan
>
>
>
>     -- 
>
>     ===========================================
>     Zoltan Szecsei PrGISc [PGP0031]
>     Geograph (Pty) Ltd.
>     P.O. Box 7, Muizenberg 7950, South Africa.
>
>     65 Main Road, Muizenberg 7945
>     Western Cape, South Africa.
>
>     34° 6'16.35"S 18°28'5.62"E
>
>     Tel: +27-21-7884897  Mobile: +27-83-6004028
>     Fax: +27-86-6115323 www.geograph.co.za <http://www.geograph.co.za>
>     ===========================================
>
>     _______________________________________________
>     gdal-dev mailing list
>     gdal-dev at lists.osgeo.org <mailto:gdal-dev at lists.osgeo.org>
>     http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
>
>
>
> -- 
> Doug Newcomb
> USFWS
> Raleigh, NC
> 919-856-4520 ext. 14 doug_newcomb at fws.gov <mailto:doug_newcomb at fws.gov>
> ---------------------------------------------------------------------------------------------------------
> The opinions I express are my own and are not representative of the 
> official policy of the U.S.Fish and Wildlife Service or Dept. of the 
> Interior.   Life is too short for undocumented, proprietary data formats.
>


-- 

===========================================
Zoltan Szecsei PrGISc [PGP0031]
Geograph (Pty) Ltd.
P.O. Box 7, Muizenberg 7950, South Africa.

65 Main Road, Muizenberg 7945
Western Cape, South Africa.

34° 6'16.35"S 18°28'5.62"E

Tel: +27-21-7884897  Mobile: +27-83-6004028
Fax: +27-86-6115323     www.geograph.co.za
===========================================

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20121119/e1b5316b/attachment.html>


More information about the gdal-dev mailing list