I am trying to convert a raster to ascii in ArcMap 10, but I can only get an output with the .txt file extension - even when I specify .asc
newext(r"%output ascii txt%","asc")
def newext(file,ext): import os newfile = os.path.splitext(file)[0] + "." + ext os.rename(file,newfile)
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.