<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ASCII rasters display as INTEGER instead of FLOAT in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/ascii-rasters-display-as-integer-instead-of-float/m-p/384934#M22100</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a lot of rasters in ESRI ASCII raster format (text files). These can be&amp;nbsp; added to ArcMap by simply dragging them from ArcCatalog.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I use ArcGIS desktop 9.3.1 SP2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is: These rasters contain FLOAT data, but when directly opened in ArcMap they are displayed as INTEGER grids.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is an example of a header + first line w/ nodata values:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ncols&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2410&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;nrows&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1220&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;xllcorner&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 21000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;yllcorner&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 128000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cellsize&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NODATA_value&amp;nbsp; -9999&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-9999 -9999 -9999 -9999 -9999 -9999 -9999 -9999 etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've noticed that the rasters will only display data with real values, instead of integer, if:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) the decimal separator is a point (instead of a comma)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) the first value in the raster after the header includes a decimal point e.g. -9999.0 instead of -9999&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Almost all of my rasters start with a nodata value of -9999, so I'd have to put '.0' behind every first value in the ASCII files or I'd have to import all the ASCII files to rasters using e.g. RasterToASCII_conversion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there another way to visualise these rasters directly and correctly without the need to change all my ascii files as described above?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there another text file format for rasters that could perform better than the ESRI ASCII format?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Feb 2013 11:56:58 GMT</pubDate>
    <dc:creator>jancor</dc:creator>
    <dc:date>2013-02-01T11:56:58Z</dc:date>
    <item>
      <title>ASCII rasters display as INTEGER instead of FLOAT</title>
      <link>https://community.esri.com/t5/data-management-questions/ascii-rasters-display-as-integer-instead-of-float/m-p/384934#M22100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a lot of rasters in ESRI ASCII raster format (text files). These can be&amp;nbsp; added to ArcMap by simply dragging them from ArcCatalog.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I use ArcGIS desktop 9.3.1 SP2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is: These rasters contain FLOAT data, but when directly opened in ArcMap they are displayed as INTEGER grids.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is an example of a header + first line w/ nodata values:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ncols&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2410&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;nrows&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1220&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;xllcorner&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 21000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;yllcorner&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 128000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cellsize&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NODATA_value&amp;nbsp; -9999&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-9999 -9999 -9999 -9999 -9999 -9999 -9999 -9999 etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've noticed that the rasters will only display data with real values, instead of integer, if:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) the decimal separator is a point (instead of a comma)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) the first value in the raster after the header includes a decimal point e.g. -9999.0 instead of -9999&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Almost all of my rasters start with a nodata value of -9999, so I'd have to put '.0' behind every first value in the ASCII files or I'd have to import all the ASCII files to rasters using e.g. RasterToASCII_conversion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there another way to visualise these rasters directly and correctly without the need to change all my ascii files as described above?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there another text file format for rasters that could perform better than the ESRI ASCII format?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 11:56:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/ascii-rasters-display-as-integer-instead-of-float/m-p/384934#M22100</guid>
      <dc:creator>jancor</dc:creator>
      <dc:date>2013-02-01T11:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: ASCII rasters display as INTEGER instead of FLOAT</title>
      <link>https://community.esri.com/t5/data-management-questions/ascii-rasters-display-as-integer-instead-of-float/m-p/384935#M22101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have found the same problem. I can't seem to find a solution aside from editing the first raster cell value with the required precision (changing -9999 to -9999.00)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Apr 2013 21:42:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/ascii-rasters-display-as-integer-instead-of-float/m-p/384935#M22101</guid>
      <dc:creator>jonahsullivan</dc:creator>
      <dc:date>2013-04-07T21:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: ASCII rasters display as INTEGER instead of FLOAT</title>
      <link>https://community.esri.com/t5/data-management-questions/ascii-rasters-display-as-integer-instead-of-float/m-p/384936#M22102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This KB article isn't very helpful:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://support.esri.com/en/knowledgebase/techarticles/detail/24611"&gt;http://support.esri.com/en/knowledgebase/techarticles/detail/24611&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It points to a help file, which says to search the MSDN for how the schema.ini file works and the fact that it can be edited to change text behaviour, but that is all too hard.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found I could use the ascii to raster tool (conversion --&amp;gt; to raster) to specify that the output raster should be "float".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I used that tool as a batch to convert from *.asc to *.img.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A silly work-around that shouldn't be needed, but it works.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Apr 2013 22:29:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/ascii-rasters-display-as-integer-instead-of-float/m-p/384936#M22102</guid>
      <dc:creator>jonahsullivan</dc:creator>
      <dc:date>2013-04-07T22:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: ASCII rasters display as INTEGER instead of FLOAT</title>
      <link>https://community.esri.com/t5/data-management-questions/ascii-rasters-display-as-integer-instead-of-float/m-p/384937#M22103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, thanks for the reply. I also worked around it by programming the batch conversion in python and converting all the ASCII files to esri grids using ASCIIToRaster_conversion()&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 09:09:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/ascii-rasters-display-as-integer-instead-of-float/m-p/384937#M22103</guid>
      <dc:creator>jancor</dc:creator>
      <dc:date>2013-10-11T09:09:38Z</dc:date>
    </item>
  </channel>
</rss>

