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.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.