Hello,
I am trying to automate the re-projection of some raster data. The projection information is stored in a .prj file. However, I keep getting the following error:
<class 'arcgisscripting.ExecuteError'>: Failed to execute. Parameters are not valid.
Undefined geographic transformation.
Failed to execute (ProjectRaster).
Here is my relevant python code:
prjFile = r"C:\\Data\\NEMAC\\Projects\\NCA\\Scripting\\ArcPyGDAL\\proj_files\\MM5i.prj"
arcpy.DefineProjection_management(inPrjFile, prjFile)
arcpy.ProjectRaster_management(inRaster, "projected\\"+outRaster, "PROJCS['WGS_1984_Web_Mercator',GEOGCS['GCS_WGS_1984_Major_Auxiliary_Sphere',DATUM['D_WGS_1984_Major_Auxiliary_Sphere',SPHEROID['WGS_1984_Major_Auxiliary_Sphere',6378137.0,0.0]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]],PROJECTION['Mercator'],PARAMETER['False_Easting',0.0],PARAMETER['False_Northing',0.0],PARAMETER['Central_Meridian',0.0],PARAMETER['Standard_Parallel_1',0.0],UNIT['Meter',1.0]]", "NEAREST", "50000", "NAD_1983_To_WGS_1984_1", "", "PROJCS['MM5i',GEOGCS['GCS_North_American_1983',DATUM['D_North_American_1983',SPHEROID['GRS_1980',6378137.0,298.257222101]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]],PROJECTION['Lambert_Conformal_Conic'],PARAMETER['False_Easting',3825000.0],PARAMETER['False_Northing',3200000.0],PARAMETER['Central_Meridian',-97.0],PARAMETER['Standard_Parallel_1',30.0],PARAMETER['Standard_Parallel_2',60.0],PARAMETER['Scale_Factor',1.0],PARAMETER['Latitude_Of_Origin',47.5],UNIT['Meter',1.0]]")
Any suggestions or help would be greatly appreciated.
Sincerely,
Derek