Select to view content in your preferred language

Trouble in converting ASCII file to raster using conversion tool

1050
2
Jump to solution
03-18-2013 07:09 PM
HaoyiXiong1
Deactivated User
I just create an ASCII from raster. Then use the ASCII to generate the raster using the conversion tool "ASCII to Raster" and I get an error. This ASCII can be converted in other computer. Other ASCII can not also be converted in my laptop. Any solutions?

Here is the error image:

[ATTACH=CONFIG]22721[/ATTACH]
0 Kudos
1 Solution

Accepted Solutions
StavrosC
Occasional Contributor
Hey Finix,

Two suggestions:
1.  This will probably work if you take the spaces out of your path names.
2.  Alternatively, you can load the ascii file directly as a raster if you first change the extension to .asc. ArcGIS will recognize it as a raster file.  When you're importing it, you have the option to specify projection.  Then, use the copy raster tool or right click and use data -> export if you want to change the format.

View solution in original post

0 Kudos
2 Replies
StavrosC
Occasional Contributor
Hey Finix,

Two suggestions:
1.  This will probably work if you take the spaces out of your path names.
2.  Alternatively, you can load the ascii file directly as a raster if you first change the extension to .asc. ArcGIS will recognize it as a raster file.  When you're importing it, you have the option to specify projection.  Then, use the copy raster tool or right click and use data -> export if you want to change the format.
0 Kudos
HaoyiXiong1
Deactivated User

Two suggestions:
1.  This will probably work if you take the spaces out of your path names.
2.  Alternatively, you can load the ascii file directly as a raster if you first change the extension to .asc. ArcGIS will recognize it as a raster file.  When you're importing it, you have the option to specify projection.  Then, use the copy raster tool or right click and use data -> export if you want to change the format.


Thank you, stoboy. I always thought there must be problem with the file itself. Turns out the path should have no space.
0 Kudos