Here is my memo: How to save gps-coordinates to picture files with Geosetter program. The coordinates are saved to the picture exif-data, and these go with picture all the time. In exif there are already data from camera model, exposure time, lens focal length etc, now we add there gps coordinates.

For example here is picture info in Irfanview program. Coordinates and also altitude are there. You can also look picture place in Google Earth or several other map services.

GeoSetter

I have used free GeoSetter program. You can get it from here: http://www.geosetter.de/en Program needs also free ExifTool, and it loads and installs it automatically.

Fly and take pictures. Download datalog from plane with APM planner. After downloading you have also GPX-file in Logs directory.

Start Geosetter program.

  1. Select picture directory
  2. Select one of the pictures that you know where it was taken
  3. Load gpx-file from the flight
  4. Select the place from the list where the picture was taken. Place is shown in the map.

Press Images / Syncronize with Gps Data Files. Put selections according to the picture. In this picture camera and gps times differ -2:59:06 hours. Press Ok.

Then select all pictures: Images / Select all. Press again Images / Syncronize with Gps Data Files. Time should be same as in previous screen. Press Ok.

Now all picture places can be seen in map. Click individual pictures and check that places are ok.

(Optionally: You can add your copyright and email addresses to files: Images / Select all, then Images / Edit data, and fill columns Artist and Copyright, then press Set current values for All Selected Images)

If everything is ok, select Images / Save changes. Program creates new pictures and add there exif data. Original pictures are in the same directory, they have extension jpg_original. Probably it is wise to create directory Original and copy these to there.

Now you know the time difference between pictures and log. In the next flights you can also use APM Planner: Press Control-f and select button Geo-ref images. (I have not yet tested this. We have very bad weather, and sun is over horizon less than 5 hours...)

Most of these picture were taken from paramotor. Where is this kind of labyrinth?  (Hint: Click picture, then load original picture to your computer, open it in some program and look picture data.)

Views: 1974


Distributor
Comment by UnmannedTechShop.co.uk on December 17, 2011 at 12:23pm

Thanks for sharing, it as very helpfull on how to easily geo-referance pictures taken with ArduPilot Mega.  Also the last picture is most impressive!

Comment by healthyfatboy on December 17, 2011 at 7:53pm

Any chance this saves any IMU data and is able to embed that as well?

Comment by Hein du Plessis on December 18, 2011 at 1:31am
Thank you! Dumb question :how do I extract the gpx file from my apm logs?

Developer
Comment by Michael Oborne on December 18, 2011 at 2:16am

"Download datalog from plane with APM planner. After downloading you have also GPX-file in Logs directory."

Comment by Hein du Plessis on December 18, 2011 at 6:34am
Thank you Michael
Comment by Hein du Plessis on December 18, 2011 at 6:51am

Update - sorry Michael. I only have .tlog, .log and .kmz on the logs file after downloading? I have version 1.1.1.

Comment by Alpo Hassinen on December 18, 2011 at 7:11am

Update to latest version. This is new feature in APM Planner.

Comment by Hein du Plessis on December 18, 2011 at 10:20am

Thanks Alpo

Comment by Giuseppe on January 2, 2012 at 4:59pm

Thank you Alpo! ... and to Michael too!! ;)

Comment by hightechhobbie on January 2, 2012 at 5:25pm

I am triggering my  camera manually so i cant get that data right or can I ?

Comment

You need to be a member of DIY Drones to add comments!

Join DIY Drones

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service