Skip to main content

Here is my scenario: I need to very roughly georeference thousands of scanned air photos that are tracked in a file geodatabase. Oversimplifying things considerably, my fields look like:

 

Filename (which contains location of the raster tif on disk)

Center_X (map coordinate)

Center_Y

Rotation (always zero for my simple exercise)

ground_resolution (in map coordinate units)

 

I want to feed each "filename" to the rastergeoreferencer, using Center_X, Center_Y, rotation, and ground resolution. But I'm conceptually stuck... rastergeoreferencer obviously wants input from a raster reader, not a text string with the path to the raster. See the rub?

 

Can somebody give me a push in the right direction?

 

Thanks!!

Hi @lacy​ ,

You can use FeatureReader to read any format raster features whose file paths are read from the geodatabase dataset, then perform georeferencing on the read rasters.

 

Geodatabase Reader -> FeatureReader -> RasterGeoreferencer

 

Note that you will have to set "Merge Initiator and Result" to the Accumulation Mode paremtert to propagate attributes from geodatabase to the raster features.


Hi @lacy​ ,

You can use FeatureReader to read any format raster features whose file paths are read from the geodatabase dataset, then perform georeferencing on the read rasters.

 

Geodatabase Reader -> FeatureReader -> RasterGeoreferencer

 

Note that you will have to set "Merge Initiator and Result" to the Accumulation Mode paremtert to propagate attributes from geodatabase to the raster features.

Thank you! This is exactly the push in the right direction I needed. I tested, and FeatureReader works exactly as I hoped.


Reply