0

i have some problem viewing an ascii file in a structured way in arcGIS.

i have used IDL ENVI too to solve this issue but all data is not displayed.

This link has the files: https://drive.google.com/?authuser=0#folders/0B8iAKVklcaMUVU5qY2NNVFBRbDQ

closed as unclear what you're asking by PolyGeo Mar 9 '18 at 9:06

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    What is the problem? How did you use ENVI to "solve the issue"? What do you mean by "all data is not displayed"? (this begs for a screen shot) Since ASCII is an exchange format, but not a display one, what format did you change to, and how? – Vince Aug 22 '14 at 11:50
1

To see this work create a test Esri ASCII Raster format file (C:\temp\test.asc) with the contents below:

ncols 4
nrows 3
xllcorner 0
yllcorner 0
cellsize 1
nodata_value -999
1 2 3 4
4 2 3 3
3 2 2 1 

To create a raster dataset from the ASCII raster file use the parameters below in the ASCII To Raster tool or just copy/paste it into the Python window and run it from there.

arcpy.ASCIIToRaster_conversion("C:/temp/test.asc","C:/temp/testRaster","INTEGER")

It will probably add to ArcMap automatically, or if not, just do that manually to display it.

If this test works and your ASCII file does not then check using a text editor that your ASCII file has all the parts described in the Esri ASCII Raster format.

Not the answer you're looking for? Browse other questions tagged or ask your own question.