<?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 Re: calculating directional derivative and the gradient in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/calculating-directional-derivative-and-the/m-p/425972#M5961</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have knowledge on Directional derivetives.&lt;/P&gt;&lt;P&gt;Check the link below, which also mentions computation of directional derivative in ArcGIS (they used ver. 8.x),&lt;/P&gt;&lt;P&gt;&lt;A href="http://www4.ncsu.edu/~hmitaso/gmslab/reports/CerlErosionTutorial/denix/Models%20and%20Processes/USPED/ArcMap/ArcMAP_computing_usped_using_gis1.htm" title="http://www4.ncsu.edu/~hmitaso/gmslab/reports/CerlErosionTutorial/denix/Models%20and%20Processes/USPED/ArcMap/ArcMAP_computing_usped_using_gis1.htm"&gt;Arc8.1 ArcMap Commands for Computing USPED using GIS&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Hope it is helpful!&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 21 Feb 2015 06:11:11 GMT</pubDate>
    <dc:creator>JayantaPoddar</dc:creator>
    <dc:date>2015-02-21T06:11:11Z</dc:date>
    <item>
      <title>calculating directional derivative and the gradient</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/calculating-directional-derivative-and-the/m-p/425971#M5960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking to calculate the slope of a raster in a specific direction. For example: if i am standing at a point and facing NE (45 degrees), what is the slope I would be looking up.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The math is not to bad, there's a great illustration here: &lt;A class="jive-link-external-small" href="http://mathinsight.org/directional_derivative_gradient_introduction" rel="nofollow" target="_blank"&gt;An introduction to the directional derivative and the gradient - Math Insight&lt;/A&gt; &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I don't know how to do is calculate derivatives in arcgis.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Feb 2015 05:51:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/calculating-directional-derivative-and-the/m-p/425971#M5960</guid>
      <dc:creator>davesacco</dc:creator>
      <dc:date>2015-02-21T05:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: calculating directional derivative and the gradient</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/calculating-directional-derivative-and-the/m-p/425972#M5961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have knowledge on Directional derivetives.&lt;/P&gt;&lt;P&gt;Check the link below, which also mentions computation of directional derivative in ArcGIS (they used ver. 8.x),&lt;/P&gt;&lt;P&gt;&lt;A href="http://www4.ncsu.edu/~hmitaso/gmslab/reports/CerlErosionTutorial/denix/Models%20and%20Processes/USPED/ArcMap/ArcMAP_computing_usped_using_gis1.htm" title="http://www4.ncsu.edu/~hmitaso/gmslab/reports/CerlErosionTutorial/denix/Models%20and%20Processes/USPED/ArcMap/ArcMAP_computing_usped_using_gis1.htm"&gt;Arc8.1 ArcMap Commands for Computing USPED using GIS&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Hope it is helpful!&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Feb 2015 06:11:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/calculating-directional-derivative-and-the/m-p/425972#M5961</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2015-02-21T06:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: calculating directional derivative and the gradient</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/calculating-directional-derivative-and-the/m-p/425973#M5962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dave, full disclosure, I'm not familiar with directional derivatives and probably not going to read the entire article in your link (too long). Are you looking for the slope to the horizon at the given bearing, or the slope at some distance from a point along the bearing, or neither?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Feb 2015 22:40:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/calculating-directional-derivative-and-the/m-p/425973#M5962</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-02-22T22:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: calculating directional derivative and the gradient</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/calculating-directional-derivative-and-the/m-p/425974#M5963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In theory, it should be the slope in a particular direction, however, the way slope is calculated isn't how slope is calculate in math... basically you want dy/dx in a particular direction... so see if you can give this a translate, most of the stuff looks like conversion of aspect to math orientation and some convertion to radians (ie&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.1745)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sooo... leaving out all the other bumph before step 6, it boils down to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;blah blah .... but check anyway&lt;/P&gt;&lt;P&gt;make a slope and aspect raster &lt;STRONG&gt;qsx_slope, qsx_aspect&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. Raster Calculator&lt;/P&gt;&lt;P&gt;&amp;nbsp; Build an expression&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;qsx_dx =&amp;nbsp; Cos((([qsx_aspect] * (-1)) + 450) * .01745) * Tan([qsx_slope] * .01745)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Build an expression&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; qsy_dy =&amp;nbsp; Sin((([qsy_aspect] * (-1)) + 450) * .01745) * Tan([qsy_slope] * .01745)&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should be pointed out that&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;The slope value of this plane is calculated using the average maximum technique (see &lt;A class="xref" href="http://resources.arcgis.com/en/help/main/10.2/009z/009z000000vz000000.htm#ESRI_SECTION1_C81D5590295342FF8C730744027A96C6" rel="/en/help/main/10.2/009z/009z000000vz000000.htm#ESRI_SECTION1_C81D5590295342FF8C730744027A96C6"&gt;References&lt;/A&gt;). The direction the plane faces is the aspect for the processing cell.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where the slope is calculated using the method described by Burroughs in the references&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;The values of the center cell and its eight neighbors determine the horizontal and vertical deltas. The neighbors are identified as letters from &lt;EM&gt;a&lt;/EM&gt; to &lt;EM&gt;i&lt;/EM&gt;, with &lt;EM&gt;e&lt;/EM&gt; representing the cell for which the aspect is being calculated.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;IMG alt="Surface window" class="break jive-image" src="http://resources.arcgis.com/en/help/main/10.2/009z/GUID-B594EF46-3ECF-4FCF-82C4-1D3673135B67-web.gif" title="Surface window" /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;DIV class="caption"&gt;Surface scanning window&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The rate of change in the x direction for cell &lt;EM&gt;e&lt;/EM&gt; is calculated with the following algorithm:&lt;/P&gt;&lt;P&gt;&amp;nbsp; [dz/dx] = ((&lt;EM&gt;c&lt;/EM&gt; + 2&lt;EM&gt;f&lt;/EM&gt; + &lt;EM&gt;i&lt;/EM&gt;) - (&lt;EM&gt;a&lt;/EM&gt; + 2&lt;EM&gt;d&lt;/EM&gt; + &lt;EM&gt;g&lt;/EM&gt;) / (8 * &lt;EM&gt;x_cellsize&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The rate of change in the y direction for cell &lt;EM&gt;e&lt;/EM&gt; is calculated with the following algorithm:&lt;/P&gt;&lt;P&gt;&amp;nbsp; [dz/dy] = ((&lt;EM&gt;g&lt;/EM&gt; + 2&lt;EM&gt;h&lt;/EM&gt; + &lt;EM&gt;i&lt;/EM&gt;) - (&lt;EM&gt;a&lt;/EM&gt; + 2&lt;EM&gt;b&lt;/EM&gt; + &lt;EM&gt;c&lt;/EM&gt;)) / (8 * &lt;EM&gt;y_cellsize&lt;/EM&gt;)&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Which technically is the slope in that particular direction, but close enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and if you are interested in sheet erosion&lt;/P&gt;&lt;P&gt;erdep = [qsx_dx] + [qsy_dy] for prevailing rill erosion&lt;BR /&gt; or&lt;BR /&gt;erdep =&amp;nbsp; ([qsx_dx] + [qsy_dy]) * 10. for prevailing sheet erosion&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Feb 2015 23:40:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/calculating-directional-derivative-and-the/m-p/425974#M5963</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-02-22T23:40:30Z</dc:date>
    </item>
  </channel>
</rss>

