<?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 Help with Raster Calculator - data field selection in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/help-with-raster-calculator-data-field-selection/m-p/248581#M3514</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Weighted Overlay raster which contains surface friction values in the VALUE field.&amp;nbsp; I want to apply a formula to convert friction value to speed.&amp;nbsp; How do I select a field in the layer so it will do it for all 45 values in the layer?&lt;/P&gt;&lt;P&gt;Raster Layer Name:&amp;nbsp; WO_equal_2&lt;/P&gt;&lt;P&gt;Field in layer to use:&amp;nbsp;&amp;nbsp; VALUE&lt;/P&gt;&lt;P&gt;Data range in Value&amp;nbsp; is from: 150 to 1000&lt;/P&gt;&lt;P&gt;Formula used in Raster Calculator:&amp;nbsp; Speed - ((Value/1000)*40) &amp;nbsp; (equation works in Excel)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WO_equal_2 has an attribute table with three fields: OBJECTID*, Value, Count&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result is a new Raster layer with only two values.&amp;nbsp; Seems to only read first row and applies formula to both Value and Count field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Going back to olden days (Pre ArcGIS 10) we had dot command to do this in Raster Calculator.&lt;/P&gt;&lt;P&gt;I have tried this in three versions of ArcGIS desktop (10.1, 10.3, and 10.5)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any and all suggestions&amp;nbsp; to an easy solution welcome.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Jun 2017 08:07:48 GMT</pubDate>
    <dc:creator>JeffChartrand</dc:creator>
    <dc:date>2017-06-09T08:07:48Z</dc:date>
    <item>
      <title>Help with Raster Calculator - data field selection</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/help-with-raster-calculator-data-field-selection/m-p/248581#M3514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Weighted Overlay raster which contains surface friction values in the VALUE field.&amp;nbsp; I want to apply a formula to convert friction value to speed.&amp;nbsp; How do I select a field in the layer so it will do it for all 45 values in the layer?&lt;/P&gt;&lt;P&gt;Raster Layer Name:&amp;nbsp; WO_equal_2&lt;/P&gt;&lt;P&gt;Field in layer to use:&amp;nbsp;&amp;nbsp; VALUE&lt;/P&gt;&lt;P&gt;Data range in Value&amp;nbsp; is from: 150 to 1000&lt;/P&gt;&lt;P&gt;Formula used in Raster Calculator:&amp;nbsp; Speed - ((Value/1000)*40) &amp;nbsp; (equation works in Excel)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WO_equal_2 has an attribute table with three fields: OBJECTID*, Value, Count&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result is a new Raster layer with only two values.&amp;nbsp; Seems to only read first row and applies formula to both Value and Count field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Going back to olden days (Pre ArcGIS 10) we had dot command to do this in Raster Calculator.&lt;/P&gt;&lt;P&gt;I have tried this in three versions of ArcGIS desktop (10.1, 10.3, and 10.5)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any and all suggestions&amp;nbsp; to an easy solution welcome.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 08:07:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/help-with-raster-calculator-data-field-selection/m-p/248581#M3514</guid>
      <dc:creator>JeffChartrand</dc:creator>
      <dc:date>2017-06-09T08:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Raster Calculator - data field selection</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/help-with-raster-calculator-data-field-selection/m-p/248582#M3515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;from weighted overlay you need two rasters at least, both integer.&amp;nbsp; What is the Speed raster?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 08:32:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/help-with-raster-calculator-data-field-selection/m-p/248582#M3515</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-06-09T08:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Raster Calculator - data field selection</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/help-with-raster-calculator-data-field-selection/m-p/248583#M3516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The above expression should work considering Speed and Surface_Friction rasters are available. In Raster Calculator, the calculation is based on the Value field of both rasters. You just need to define the appropriate Raster_dataset name in place of Speed and Value.&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Speed_Ras" - (("Friction_Ras"/1000)*40)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where Speed_Ras and Friction_Ras are the names of the Raster datasets.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 09:12:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/help-with-raster-calculator-data-field-selection/m-p/248583#M3516</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2017-06-09T09:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Raster Calculator - data field selection</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/help-with-raster-calculator-data-field-selection/m-p/248584#M3517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick reply.  I have created a friction raster using Weighted Overly (from five source rasters).   This has produced a friction cost surface for movement.  What I want to do is use Raster Calculator to  select Value field from the WO Raster and apply a formula to convert friction value to KPH speed.    I am happy to have either a new raster layer with the converted values or an additional field in the WO Raster.  Does that help explain what I was trying to achieve?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 09:18:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/help-with-raster-calculator-data-field-selection/m-p/248584#M3517</guid>
      <dc:creator>JeffChartrand</dc:creator>
      <dc:date>2017-06-09T09:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Raster Calculator - data field selection</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/help-with-raster-calculator-data-field-selection/m-p/248585#M3518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your raster is an integer raster, it will have an attribute table just as you describe. The VALUE field represents the values of your raster. You could manipulate the attribute table and add new fields and fill them with the corresponding data. The tool&amp;nbsp;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/spatial-analyst-toolbox/lookup.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/spatial-analyst-toolbox/lookup.htm"&gt;Lookup—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;would be the tool that allows you to assign the values in a field to your pixels.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case you don't seem to have additional fields in the attribute table and the values in the VALUE field already represent the values in the raster. In your example it seems that you already have your friction raster ("WO_equal_2"). So you can just follow the suggestions provided by&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/62883"&gt;Jayanta Poddar&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case I am wrong and you want something&amp;nbsp;to create 45 rasters, one for each value in your attribute table, this can be achieved with some python coding. If that is the case, just let us know and we can post some example code to get you started.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 11:59:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/help-with-raster-calculator-data-field-selection/m-p/248585#M3518</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2017-06-09T11:59:17Z</dc:date>
    </item>
  </channel>
</rss>

