Frequently asked question

Why does a raster with rotation lose its rotation after being loaded into a geodatabase?

Last Published: April 25, 2020

Answer

If an image raster has rotation specified in its world file, it displays rotated. If the image raster is loaded into a geodatabase, the rotation is not maintained. This is because only raw pixel data will be read and loaded into a geodatabase. The rotation component of the transformation is not applied.

To work around this, you can write a customized application that uses the Raster::SaveAs method to save the raster to another dataset. This method will resample the original pixel data and apply the rotation to it. When the resulting dataset is loaded into the geodatabase, the rotation specified in the original world file will be retained.

Article ID:000003158

Software:
  • ArcMap 8 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic