Skip to main content
Question

Georeference TIFs Using SHP Grid of Extents

  • November 12, 2014
  • 3 replies
  • 76 views

Forum|alt.badge.img
I have about 100 TIF airphotos that I need to georeference using a grid that represents the extents of each photo.  The grid is in a shape file - it contains rectangles repesenting the extents of each image, and the image file name in an attribute.  The grid is in the desired destination coordinate system.

 

Is there any way to do this in FME Desktop 2014 ?  My initial thoughts are:

 

Read the TIFs

 

Read the shape file

 

Use RasterGeoReferencer <--- somehow correlate each grid square's coordinates to each TIF file.

 

 

Any ideas would be greatly appreciated.
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • November 12, 2014
There is a Geotiff writer in the writergalery.

 

When u add it to your workbench you can check out the formatparameters.

 

 

You can use the  shape grid to create the geotiff.

 

 

Check out the reader/writer gallery.

 

 

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • November 12, 2014
You might want to check out Gdal also,  as you have the extents of the tiffs (shapefile) you can do the conversion.

 

 

"If you know the bounding coordinates of the image you can us gdal_translate with the -a_srs (this assigns the projection) and -a_ullr (this is the bounding coordinates). "

jdh
Contributor
Forum|alt.badge.img+40
  • Contributor
  • November 13, 2014
What I would do is read in the grid shapefile,

 

use a BoundsExtractor to get the XY coordinates (if the images have a rotation, you will have to get the 4 corners individually)

 

use a CoordinateSystemExtractor to get the coordinate system

 

if necessary build the full path to the tif image (as opposed to just the image name)

 

RasterReader, setting the dataset file to the attribute containing the path to the tif

 

RasterGeoReferencer with the extents previously extracted.

 

CoordinateSystemSetter with the coordsys previously extracted

 

Geotif writer