Developer

GeoTagging Images on Mission Planner

3689491142?profile=original

Introdution

Geo-tagged aerial pictures are very useful for mosaic mapping as well as the creation of accurate 3D models from a terrain.

Michael Oborne added a great tool for injecting GPS data on the EXIF tags by using APM's telemetry log from a flight.
This tutorial was created to show you how does it work.
This is a work from Sandro Benigno and Guto Santaella who kindly provided the sample files and screenshots used for making this tutorial.

 

Step by Step

 

1: Open the Mission Planner and press "Ctrl+F". It will open a hidden screen, like shown here:

3689491066?profile=original

2: Click the button "Geo ref images".
It will give you access to the Geo Tagging resource as shown below:

3689491209?profile=original

3: Click the button "Browse Log" and select the telemetry log (.tlog) of the flight related to the shooting session.
Note: You can use both sources: the "Logs" folder from Mission Planner install or you can download it from the APM's dataflash through the USB port.
4: Click the button "Browse Directory" and select the folder where your aerial pictures was downloaded from your camera.

3689491155?profile=original

5: Just to illustrate, the screen below shows the mission used for creating this tutorial:

3689491079?profile=original

6: The next step is clicking on "Estimate Offset". It will try to extract the offset from the "Log Start Time" and the "Shooting Time" from the first picture taken.
The result shows "offset should be about...". You need to take the guessing and insert it manually on the field "Seconds offset".

3689491166?profile=original

7: Click the button "Do it" and wait until the processing is finished. The number shown in "Done... matches" must be the number of pictures taken. Otherwise it means that the sync isn't good enough.
8: After the previous step you can verify the positioning of each picture on Google Earth by clicking "Location Kml".

3689491094?profile=original

9: Looking at the example above you'll see the estimated position of a picture. You can click any images at the list on left to check it. If the position is not accurate you can step back and retry it from the step "6" by increasing or decrasing the "Seconds offset" a little bit, just like a fine tuning.
10: After finishing the tuning, all you need to do is click "Geo Tag Images". This process will add geographic data to your picture, i.e. Latitude, Longitude and Altitude.
The processing creates new files with a suffix "_geotag". The original set of pictures remains untouched.

3689491177?profile=original

11: You can check your pictures by visualizing the file properties details. You should see the inserted GPS tags on the EXIF data.

3689491269?profile=original
Thanks to Michael Oborne by one more awesome tool! ;)

E-mail me when people leave their comments –

You need to be a member of diydrones to add comments!

Join diydrones

Comments

  • Great! I was looking for exactly this to do some area mapping in rio. Thanks Sandro!

  • James- 

    The potential of this is amazing!

  • T3

    Hi Sandro, 

    I ll do my best, to explain it a little bit.

    Right now, we can combine imu data, with captured images to exif data  and export them to Google earth as points.  These points containe a hyperling to the image for quick preview (Thats super already) 

    3692568125?profile=original

    But mission planner, has another super cooll, little calculator, that calculates the actual size of the captured area, based on the camera and flight height.  Combining these two features we can auto generate kml actual size rectangles. All the info needed its already there...

    3692567971?profile=originalFurthermore, we can overlay the captured image to the rectange and have a trully georeferenced photo..

    3692568153?profile=originalwith out expensive or power demanding software, on the field.. it will be rough for mapping, but very helpfull for selecting images..

    tell me what you thing,

    Thanks again

    James

  • Developer

    @Ricardo: Your idea was very interesting.
    @James: I did not understand what you're trying to do.
    @Sergio: Interesting Idea. Good luck with the group!
    @Chris: Thank you! I've just replaced the title image there on wiki with another one with a wide shape.

  • 3D Robotics

    Added to the manuals! Thanks again for a great tutorial. 

    http://code.google.com/p/ardupilot-mega/wiki/Geotagging

    http://code.google.com/p/arducopter/wiki/Geotagging

  • Hi Sandro.I invite you to join BRAZILIAN GROUP DRONE, to develop a group of Brazilians to exchange our experiences with the DRONE and what we can do together and have the cooperation of other groups.

    Thanks.

  • T3

    thanks Sandro !! ill try it,  plz give a momment to my second comment-request, we will be able to make a rough preview map, even with a netbook!! on site!  

    I know how to it with Acad or ArcGIS, but i dont know how to inject rectangles with ovelays to GE-kmls, or even imu data to kml like mission planner

  • hi to all.
    I'm starting this space and found the comments very interesting.
    Congratulations to all.

  • last weekend i tried something that almost worked. before going up, i've taken a photo of the mission planner screen, showing the clock. this way i could easily take the clock time on the exif and see what's the gps time on the photo taken. this way the error should be less than 1s.

    the only problem is that the screen was too dark on te photo, and i couldn't read anything! next time, a sunhood will make it better.

    3692567012?profile=original

  • Developer

    James, I did check with Michael.
    Yes. If you roughly sync Camera and GPS time your offset would be just few seconds.
    In a perfect world it would be zero.

This reply was deleted.