16

First off, I'd like to mention that I'm pretty new to working with GIS, so please forgive my inexperience.

My situation is as follows: I'm tasked with georectifying a set of imagery and importing those images into a Google Earth Enterprise server as an overlay. From what I've researched, it sounds like a good route to do this would be to convert the images into a .tif, install GeoTIFF metadata, and import the image directly (Google Earth will figure out the rest). However, I'm not exactly sure where to go from there to actually create the GeoTIFF metadata (and install it).

Here's the data I have: lat/lon of the center of the image, orientation (i.e. degrees to rotate to orient north), and resolution (e.g. 90m). Does anyone know of a good method/set of tools to derive any other data and install it into the .tif? Is something other than a GeoTIFF a good idea?

2
  • do you have access to any specialist gis software, e.g. Mapinfo, ArcGIS, Manifold? Possible duplicate of this question - gis.stackexchange.com/questions/9334/… - have you looked at that?
    – Stev_k
    Commented Nov 17, 2011 at 20:41
  • 1
    Thanks for the tip--the only specialist GIS software I'd have access to would be anything open source. Is there anything like that available? Commented Nov 17, 2011 at 21:55

3 Answers 3

8

Thanks everyone for the assistance! After a bit of tinkering around here's what I ended up doing (for anyone else who stumbles upon this):

  1. Convert image to .tif via ImageMagick (included on the CentOS system I'm using).
  2. Used libgeotif's listgeo to extract the metadata from an example GeoTIFF using a similar coordinate/projection space.
  3. Worked out what the world file values should be.
  4. Using the reverse-engineered metadata and the world file I created, installed the GeoTIFF metadata using libgeotif's geotifcp.

Opened the image in Google Earth and it snapped to the right spot/orientation. Worked like a charm!

1
  • 1
    Perfect... Even I used the same method a few months ago...
    – Chethan S.
    Commented Nov 20, 2011 at 14:26
5

There is quite a detailed tutorial at http://glaikit.org/2011/03/27/image-georeferencing-with-qgis/ on how to georeference a raster image with QGIS, which is open source. It won't create a geotiff file (which stores the spatial information directly within the image itself) but it will create a Tiff for World file (.tfw), which is a separate text file.

One thing to bear in mind is that you will need to have a reference layer for comparison, i.e. a set of points that you know both exactly where they are on your image and exactly where the are on the ground, in order to do this.

1
  • 1
    The TIFF files produced in QGis's georeferencer are GeoTiffs. It also generates a world file as a belt-and-braces way of ensuring that the metadata is as portable as possible.
    – scruss
    Commented May 28, 2012 at 18:55
2

Seems like you did quite a few manual calculations. The route I took doesn't require any reverse engineering or calculations. It does use 'QLandkarteGT', an open source tool for CIS systems, http://www.qlandkarte.org:

  • From the top menu, select "Map", "Edit / Create Map".
  • In the middle of the right half of the screen, a line with "Source: " appears, with an empty selection box. Click on the box, and select "Convert a TIFF into GeoTiff by geo referencing it".

Now 3 steps appear below.

  • In step 1, enter an input file by clicking to the icon to the right of "Input File" (this file can be a .PNG too), and use "+proj=longlat" for the Map projection.
  • In step 2, click "Add Ref" (right column), move the pin to a known reference point on the map, and double click on "" in the "Coord", and enter the coordinates in the form "51.507726 -0.128025" (for trafalgar square, london, uk)
    • repeat for at least 3 coordinates on the map (far apart from each other)
  • In step 3, click on "Step 3: Reference map", and click on "Go On!"

Now it will create the GeoTIFF file. I used it the OSM (OpenStreetmap) editor Merkaartor, but it should be usable anywhere.

1
  • But he doesn't have multiple references and your approach also requires the repetition of the procedure for each map. Commented Sep 27, 2012 at 17:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.