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)
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.