The “Export Raster World File” tool can create world files for the tif tiles and then these tif tiles can be shifted based on a code from python script
---------
import os
import arcpy
import string
Folder_Path = arcpy.GetParameterAsText(0)
for file in os.listdir(Folder_Path):
if file.endswith(".tfw"):
print(os.path.join(Folder_Path, file))
with open(os.path.join(Folder_Path, file), 'r') as f:
lines = f.readlines()
f.close()
before_last_line = lines[-2]
before_last_line2 = float(before_last_line) - 50000
last_line = lines[-1]
last_line2 = float(last_line) - 500000
lines[-2] = before_last_line2
lines[-1] = last_line2
num_lines = sum(1 for line in open(os.path.join(Folder_Path, file)))
print (num_lines)
for x in range(num_lines):
print( lines[x])
with open( os.path.join(Folder_Path, file),'w') as o :
for x in range(num_lines):
o.write(str(lines[x]) +'\n')
o.close()
for file in os.listdir(Folder_Path):
if file.endswith(".tif"):
print(os.path.join(Folder_Path, file))
arcpy.DefineProjection_management(in_dataset=os.path.join(Folder_Path, file), coor_system="PROJCS['Palestine_1923_Palestine_Grid',GEOGCS['GCS_Palestine_1923',DATUM['D_Palestine_1923',SPHEROID['Clarke_1880_Benoit',6378300.789,293.4663155389802]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]],PROJECTION['Cassini'],PARAMETER['False_Easting',170251.555],PARAMETER['False_Northing',126867.909],PARAMETER['Central_Meridian',35.21208055555556],PARAMETER['Scale_Factor',1.0],PARAMETER['Latitude_Of_Origin',31.73409694444445],UNIT['Meter',1.0]]")
------------------------
----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine