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)
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.