ASCII to Raster Conversion

10-18-2015 11:51 PM
New Contributor

how can I convert data in ascii format to raster using python script?

0 Kudos
2 Replies
MVP Frequent Contributor

Which ascii format is this then?

If it is something like *.asc with a well defined header as per this help :

ArcGIS Help 10.1

Then the Ascii Grid tool will import this into a raster.

MVP Esteemed Contributor

Neil is correct ... an updated link if you are using ArcMap 10.3 Ascii to raster​ 

When you say a python script ... skip it ... if you plan on reinventing the wheel, the script example with the tool help will allow you to access the conversion, but it will not be a script that performs the actual conversion for you.  For arcpy access, it is in the code examples as

arcpy.ASCIIToRaster_conversion(inASCII, outRaster, rasterType)

0 Kudos