Have you checked to make sure the files and folders exist, have valid names etc?
arcpy.env.workspace = r"G:\Imagery\Orthos_2009\Photos\TIFF" arcpy.env.workspace = "G:\\Imagery\\Orthos_2009\\Photos\\TIFF" arcpy.env.workspace = "G:/Imagery/Orthos_200/Photos/TIFF"
input = os.path.join(InFolder,raster) # Much preferred input = InFolder + os.sep + raster
Sorry to say it, but I'd guess the parameters are not valid (either "input" or "output"), but you'd have to post the code for anyone to figure it out.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.