Problem substituting the 'rectify'-tool with arcpy (WarpFromFile_management, Resample_management)

179
0
05-08-2024 03:46 AM
Labels (2)
AxelThomas
New Contributor III

Dear all,

I am trying to substitute the 'georeferencing' => 'rectify' tool by using a python script. So far I use

arcpy.WarpFromFile_management(ras, dummyrect, LinkFile, Transf, Resampl)
arcpy.Resample_management(dummyrect, outpath, res, Resampl)

While this approach works in principle, the image (scanned map, 8bit tif file) is resampled twice sometimes resulting in a slightly smeared image. Manually applying the rectify tool with the same image never leaves this kind of artifact.

Any ideas how this problem might be solved using arcpy? Any hints appreciated!

 

Regards

Axel

0 Kudos
0 Replies