Frequently asked question

Is a raster projected on-the-fly if a different spatial ref. is set when loading it into a gdb?

Last Published: April 25, 2020


When loading a raster dataset into a geodatabase, you can specify a spatial reference that may be different from that of the raster dataset. However, projection-on-the-fly will not be applied to the raster because only the raw pixel data is used when loading into a geodatabase.

You could write a customized application that uses the Raster::SaveAs method to save the raster to another dataset. This will resample the original data and apply the transformation to the pixel data. Load the resulting output raster dataset, which will be in the desired projection, into the geodatabase.

Article ID:000003161

  • ArcMap 8 x

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options