import arcpy, os from arcpy import env env.workspace = r"<your workspace>" for dem_file in arcpy.ListFiles('*.DEM'): dem, ext = os.path.splitext(dem_file) print dem_file print dem arcpy.DEMToRaster_conversion(env.workspace + dem_file, env.workspace + "\\output\\" + dem + ".tif", "FLOAT", 1)
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.