<?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 Can someone explain the slope calculation algorithm? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/can-someone-explain-the-slope-calculation/m-p/52960#M1402</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the big picture my plan is to use ArcObjects to rewire the hillshade algorithm to ignore certain areas in a project I'm working on that relies heavily (almost entirely) on elevation data.&amp;nbsp; Hillshade is calculated from a few different variables but the one I'm stuck on right now is slope.&amp;nbsp; The same goes for the regular slope calculation tool so let's just talk about that to keep things simple-ish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ArcGIS says that they calculate slope as follows:&lt;IMG alt="ArcGIS explanation of slope calculation algorithm" class="jive-emoji image-1 jive-image j-img-original" src="/legacyfs/online/459376_slope explanation.PNG" /&gt;&lt;/P&gt;&lt;P&gt;But my concern is the fact that I cannot for the life of my understand why this formula works!&amp;nbsp; Why are the cells adjacent to "e" multiplied by 2?&amp;nbsp; Why is everything divided by 8? Is it like an averaging thing or something?&amp;nbsp; Why on earth does the cell size matter? Is that related to Z-factor (another things I barely understand).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If someone could shed some light on what the heck is going on here I would greatly appreciate that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miles&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Sep 2019 19:16:49 GMT</pubDate>
    <dc:creator>mileszoltak</dc:creator>
    <dc:date>2019-09-12T19:16:49Z</dc:date>
    <item>
      <title>Can someone explain the slope calculation algorithm?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/can-someone-explain-the-slope-calculation/m-p/52960#M1402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the big picture my plan is to use ArcObjects to rewire the hillshade algorithm to ignore certain areas in a project I'm working on that relies heavily (almost entirely) on elevation data.&amp;nbsp; Hillshade is calculated from a few different variables but the one I'm stuck on right now is slope.&amp;nbsp; The same goes for the regular slope calculation tool so let's just talk about that to keep things simple-ish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ArcGIS says that they calculate slope as follows:&lt;IMG alt="ArcGIS explanation of slope calculation algorithm" class="jive-emoji image-1 jive-image j-img-original" src="/legacyfs/online/459376_slope explanation.PNG" /&gt;&lt;/P&gt;&lt;P&gt;But my concern is the fact that I cannot for the life of my understand why this formula works!&amp;nbsp; Why are the cells adjacent to "e" multiplied by 2?&amp;nbsp; Why is everything divided by 8? Is it like an averaging thing or something?&amp;nbsp; Why on earth does the cell size matter? Is that related to Z-factor (another things I barely understand).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If someone could shed some light on what the heck is going on here I would greatly appreciate that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miles&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2019 19:16:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/can-someone-explain-the-slope-calculation/m-p/52960#M1402</guid>
      <dc:creator>mileszoltak</dc:creator>
      <dc:date>2019-09-12T19:16:49Z</dc:date>
    </item>
  </channel>
</rss>

