Select to view content in your preferred language

Ascii to Raster error

4301
12
06-15-2016 08:09 AM
AlexandreAssunção
Deactivated User

Hi everyone, I have one question about the conversion from ASCII to raster. I know that ASCII files can be represented on ArcGIS as rasters. I have a lot of files to convert and manipulate right after the conversion; however, the conversion does not work for some files. I tried analyzing the ASCII files in the notepad and it seems that the values are corrupted. For example, I have values of ice concentration, which can vary from -1 to 100 %, looking through the ASCII files that do not work I found values such as, -110,010,010. In my opinion, some of the values in the ASCII file have gotten together, and now when I try to put them into ArcGIS, it just show a blur instead of what I want (the ice concentration on the waterways). Does anyone know a way that I can try to fix it? The grids are huge (516columns and 510rows) and try to space each corrupted value manually it's not an option.

Thanks.

0 Kudos
12 Replies
AlexandreAssunção
Deactivated User

Yes, that's what I was thinking. Because I have values varying from -1 to 100, if I get the value 5 and 95 for example, if I split the fives. I would separate the 95 too.

0 Kudos
DanPatterson_Retired
MVP Emeritus

well if it is just the 100, the do what Jayanta and Darren suggest, if it extends to other values like 99 and below, I would go back to the original generating program and figure out what the problem is.... maybe changing the nodata value would have helped

0 Kudos
JayantaPoddar
MVP Esteemed Contributor

In he above example, I can see all the values "100" are getting clubbed together with its previous value.

So I can Find and Replace "100" with "<Space>100". Check and replace them one by one (NOT "Replace All" option). Check for anomalies in other values as well.



Think Location
0 Kudos