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)
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.