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)
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.