<?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 Cost Distance Output is Illogical in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/cost-distance-output-is-illogical/m-p/701445#M30988</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use the Cost Distance spatial analyst tool in ArcGIS pro and getting results that are not logical/not returning the values that I'm looking for - namely the cost distances are a fraction of what they should be. I tested the process on a small subset of my data (and used simplified and uniform values) and found that incremental cost from one cell to the next was a consistent fraction of the intended cost. My process is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-The layer that holds the data for cost distance is a feature layer that I created, which consists of a grid of polygons (squares) that cover 1/2 - 1 square mile. They follow roads&lt;/P&gt;&lt;P&gt;-To get the source raster, I have used &lt;SPAN style="text-decoration: underline;"&gt;Polygon to Raster&lt;/SPAN&gt;, and &lt;SPAN style="text-decoration: underline;"&gt;Polygon to Point&lt;/SPAN&gt; (centroid) followed by &lt;SPAN style="text-decoration: underline;"&gt;Point to Raster&lt;/SPAN&gt;. I use &lt;SPAN style="text-decoration: underline;"&gt;Set Null&lt;/SPAN&gt; to remove any cells that do not move along the roads/my squares, and set all remaining cells to 1 (I've also tried various values)&lt;/P&gt;&lt;P&gt;-To get the cost raster I repeat the above process but instead include all cells and set the values to the relevant cost value&lt;/P&gt;&lt;P&gt;-I replace any 0's in the rasters to 1 (since the function supposedly does not work properly through 0's)&lt;/P&gt;&lt;P&gt;-I run the &lt;SPAN style="text-decoration: underline;"&gt;Cost Distance Function&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had suspected the issue was related to cell size. My first trials used cell sizes that created multiple cells encapsulated in the squares I created, so I assumed the value of the square was divided among the cells. However, after adjusting the cell size so that it was 1:1 with the squares, the issue persisted. Additionally, I used the &lt;SPAN style="text-decoration: underline;"&gt;Raster to Point&lt;/SPAN&gt; function to confirm the number of cells (and their values). Interestingly, in the early trial where&amp;nbsp;I used a small subset and uniform values, the total cost values of my data set appeared to be distributed over all pixels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this point, I've seemingly confirmed that the cell size is 1:1 with the squares (as desired), the values in the input cost raster are correct, and the final raster output from &lt;SPAN style="text-decoration: underline;"&gt;Cost Distance&lt;/SPAN&gt; appears to be directionally correct, as the sections further from the source have higher costs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas how to fix this issue/use &lt;SPAN style="text-decoration: underline;"&gt;Cost Distance&lt;/SPAN&gt; effectively? Am I missing a nuance in the way that Rasters hold data or the conversion process, or the Cost Distance function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jan 2018 20:02:01 GMT</pubDate>
    <dc:creator>DavidStone1</dc:creator>
    <dc:date>2018-01-16T20:02:01Z</dc:date>
    <item>
      <title>Cost Distance Output is Illogical</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/cost-distance-output-is-illogical/m-p/701445#M30988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use the Cost Distance spatial analyst tool in ArcGIS pro and getting results that are not logical/not returning the values that I'm looking for - namely the cost distances are a fraction of what they should be. I tested the process on a small subset of my data (and used simplified and uniform values) and found that incremental cost from one cell to the next was a consistent fraction of the intended cost. My process is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-The layer that holds the data for cost distance is a feature layer that I created, which consists of a grid of polygons (squares) that cover 1/2 - 1 square mile. They follow roads&lt;/P&gt;&lt;P&gt;-To get the source raster, I have used &lt;SPAN style="text-decoration: underline;"&gt;Polygon to Raster&lt;/SPAN&gt;, and &lt;SPAN style="text-decoration: underline;"&gt;Polygon to Point&lt;/SPAN&gt; (centroid) followed by &lt;SPAN style="text-decoration: underline;"&gt;Point to Raster&lt;/SPAN&gt;. I use &lt;SPAN style="text-decoration: underline;"&gt;Set Null&lt;/SPAN&gt; to remove any cells that do not move along the roads/my squares, and set all remaining cells to 1 (I've also tried various values)&lt;/P&gt;&lt;P&gt;-To get the cost raster I repeat the above process but instead include all cells and set the values to the relevant cost value&lt;/P&gt;&lt;P&gt;-I replace any 0's in the rasters to 1 (since the function supposedly does not work properly through 0's)&lt;/P&gt;&lt;P&gt;-I run the &lt;SPAN style="text-decoration: underline;"&gt;Cost Distance Function&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had suspected the issue was related to cell size. My first trials used cell sizes that created multiple cells encapsulated in the squares I created, so I assumed the value of the square was divided among the cells. However, after adjusting the cell size so that it was 1:1 with the squares, the issue persisted. Additionally, I used the &lt;SPAN style="text-decoration: underline;"&gt;Raster to Point&lt;/SPAN&gt; function to confirm the number of cells (and their values). Interestingly, in the early trial where&amp;nbsp;I used a small subset and uniform values, the total cost values of my data set appeared to be distributed over all pixels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this point, I've seemingly confirmed that the cell size is 1:1 with the squares (as desired), the values in the input cost raster are correct, and the final raster output from &lt;SPAN style="text-decoration: underline;"&gt;Cost Distance&lt;/SPAN&gt; appears to be directionally correct, as the sections further from the source have higher costs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas how to fix this issue/use &lt;SPAN style="text-decoration: underline;"&gt;Cost Distance&lt;/SPAN&gt; effectively? Am I missing a nuance in the way that Rasters hold data or the conversion process, or the Cost Distance function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 20:02:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/cost-distance-output-is-illogical/m-p/701445#M30988</guid>
      <dc:creator>DavidStone1</dc:creator>
      <dc:date>2018-01-16T20:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cost Distance Output is Illogical</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/cost-distance-output-is-illogical/m-p/701446#M30989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;show your rasters or your cost raster at least, I suspect you have loads of cells with nodata values in them which will effectively bring any cost path analysis to a grinding halt if there is no way to reach destinations from origins etc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 20:06:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/cost-distance-output-is-illogical/m-p/701446#M30989</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-01-16T20:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cost Distance Output is Illogical</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/cost-distance-output-is-illogical/m-p/701447#M30990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the prompt response. That's correct - both of my rasters have many nodata values. However, I've evaluated the output in area directly adjacent to source and the numbers are still incorrect. Would the nodata values present in the layer somehow still impact the results?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 20:11:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/cost-distance-output-is-illogical/m-p/701447#M30990</guid>
      <dc:creator>DavidStone1</dc:creator>
      <dc:date>2018-01-16T20:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Cost Distance Output is Illogical</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/cost-distance-output-is-illogical/m-p/701448#M30991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;your point to raster step can create the origins&amp;nbsp; will do just that, but to create the distance from those locations, they must be located on cells that are not nodata, hence my question about nodata locations relative to the origins.&amp;nbsp; You can see what you have, but I don't know values your cost surface is comprised of (all 1's and nodata?) or its arrangement relative to the origins and how they accumulate directionally (considering sqrt(2) for the diagonals etc).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 20:46:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/cost-distance-output-is-illogical/m-p/701448#M30991</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-01-16T20:46:35Z</dc:date>
    </item>
  </channel>
</rss>

