<?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 path values are smaller than cost surface in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/cost-path-values-are-smaller-than-cost-surface/m-p/124808#M9699</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm recently do cost path calculations using cost distance and cost surface layer.&lt;/P&gt;&lt;P&gt;My cost surface values are between 1 to 19 (to simplify).&lt;/P&gt;&lt;P&gt;The result that made me confused was the final cost path surface really small, smaller than cost surface's.&lt;/P&gt;&lt;P&gt;Cost path values are around 0.00....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use cost surface cell size of 30 m * 30 m.&lt;/P&gt;&lt;P&gt;And it calculated with model builder and python script which result the same values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything I missed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[bayu]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Apr 2015 00:38:35 GMT</pubDate>
    <dc:creator>BayuWidyasanyata</dc:creator>
    <dc:date>2015-04-13T00:38:35Z</dc:date>
    <item>
      <title>Cost path values are smaller than cost surface</title>
      <link>https://community.esri.com/t5/python-questions/cost-path-values-are-smaller-than-cost-surface/m-p/124808#M9699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm recently do cost path calculations using cost distance and cost surface layer.&lt;/P&gt;&lt;P&gt;My cost surface values are between 1 to 19 (to simplify).&lt;/P&gt;&lt;P&gt;The result that made me confused was the final cost path surface really small, smaller than cost surface's.&lt;/P&gt;&lt;P&gt;Cost path values are around 0.00....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use cost surface cell size of 30 m * 30 m.&lt;/P&gt;&lt;P&gt;And it calculated with model builder and python script which result the same values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything I missed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[bayu]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 00:38:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cost-path-values-are-smaller-than-cost-surface/m-p/124808#M9699</guid>
      <dc:creator>BayuWidyasanyata</dc:creator>
      <dc:date>2015-04-13T00:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cost path values are smaller than cost surface</title>
      <link>https://community.esri.com/t5/python-questions/cost-path-values-are-smaller-than-cost-surface/m-p/124809#M9700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do you mean the size of the raster is much smaller than the input raster? or do you mean the values are smaller than you expect?&amp;nbsp; Is there a chance that you didn't specify/check you Environments options in the Cost Path tool? or within the script or model that you use?&amp;nbsp; Don't assume that the extents have been set, nor previously set extents maintained.&amp;nbsp; Another possibility is that you path may not have reached a destination because it can't be reached.&amp;nbsp; If you have any screen grabs to show what you mean, they would be useful&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 00:43:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cost-path-values-are-smaller-than-cost-surface/m-p/124809#M9700</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-04-13T00:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cost path values are smaller than cost surface</title>
      <link>https://community.esri.com/t5/python-questions/cost-path-values-are-smaller-than-cost-surface/m-p/124810#M9701</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;I mean the values which smaller than I expected.&lt;/P&gt;&lt;P&gt;Below are the screenshots of cost path and cost surface values.&lt;/P&gt;&lt;P&gt;1) cost path&lt;/P&gt;&lt;P&gt;&lt;IMG alt="costpath.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/83959_costpath.png" style="width: 620px; height: 333px;" /&gt;&lt;/P&gt;&lt;P&gt;The pic above contains 2 lines (a to b and b to a) with same costpath values (0.004128).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) cost surface (symbology's unique values: 1 to 25.4)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="costsurface.png" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/84626_costsurface.png" style="width: 620px; height: 478px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the python cost path parameter used:&lt;/P&gt;&lt;P&gt;costPath = arcpy.gp.CostPath_sa(DPath, CostDis_shp9, COSTBACKLINK, CostPat_shp6, "EACH_CELL", "FID")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 01:18:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cost-path-values-are-smaller-than-cost-surface/m-p/124810#M9701</guid>
      <dc:creator>BayuWidyasanyata</dc:creator>
      <dc:date>2015-04-13T01:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cost path values are smaller than cost surface</title>
      <link>https://community.esri.com/t5/python-questions/cost-path-values-are-smaller-than-cost-surface/m-p/124811#M9702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are your maps in unprojected coordinates (ie in decimal degrees)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 02:07:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cost-path-values-are-smaller-than-cost-surface/m-p/124811#M9702</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-04-13T02:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cost path values are smaller than cost surface</title>
      <link>https://community.esri.com/t5/python-questions/cost-path-values-are-smaller-than-cost-surface/m-p/124812#M9703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you mean my cost surface layer?&lt;/P&gt;&lt;P&gt;I checked it was GCS_WGS_1984.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="costsurface_degree.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/84627_costsurface_degree.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 03:43:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cost-path-values-are-smaller-than-cost-surface/m-p/124812#M9703</guid>
      <dc:creator>BayuWidyasanyata</dc:creator>
      <dc:date>2015-04-13T03:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cost path values are smaller than cost surface</title>
      <link>https://community.esri.com/t5/python-questions/cost-path-values-are-smaller-than-cost-surface/m-p/124813#M9704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, you should be using projected data when performing these types of analysis that is why your outputs are in decimal degrees.&amp;nbsp; Project your data to a suitable projected coordinate system specifying an appropriate cell size and extent and try the analysis again.&amp;nbsp; Also, why are your origin and destination points so close together?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 04:41:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cost-path-values-are-smaller-than-cost-surface/m-p/124813#M9704</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-04-13T04:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Cost path values are smaller than cost surface</title>
      <link>https://community.esri.com/t5/python-questions/cost-path-values-are-smaller-than-cost-surface/m-p/124814#M9705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, I will change the projection and recalculate.&lt;/P&gt;&lt;P&gt;About the short distance, it's only for a quick calculations &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will update the result soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 04:45:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cost-path-values-are-smaller-than-cost-surface/m-p/124814#M9705</guid>
      <dc:creator>BayuWidyasanyata</dc:creator>
      <dc:date>2015-04-13T04:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cost path values are smaller than cost surface</title>
      <link>https://community.esri.com/t5/python-questions/cost-path-values-are-smaller-than-cost-surface/m-p/124815#M9706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure you use the appropriate Project tool and not the Define Projection tool&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 04:46:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cost-path-values-are-smaller-than-cost-surface/m-p/124815#M9706</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-04-13T04:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cost path values are smaller than cost surface</title>
      <link>https://community.esri.com/t5/python-questions/cost-path-values-are-smaller-than-cost-surface/m-p/124816#M9707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Final result should looks fine now.&lt;/P&gt;&lt;P&gt;It's another lines (path) calculations:&lt;/P&gt;&lt;P&gt;Before: 0.00706413015723&lt;/P&gt;&lt;P&gt;After: 762.926025391&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One question,&lt;/P&gt;&lt;P&gt;Is it already correct since it's still contains decimal?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 10:01:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cost-path-values-are-smaller-than-cost-surface/m-p/124816#M9707</guid>
      <dc:creator>BayuWidyasanyata</dc:creator>
      <dc:date>2015-04-15T10:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cost path values are smaller than cost surface</title>
      <link>https://community.esri.com/t5/python-questions/cost-path-values-are-smaller-than-cost-surface/m-p/124817#M9708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;762 ish meters ... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 10:51:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cost-path-values-are-smaller-than-cost-surface/m-p/124817#M9708</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-04-15T10:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Cost path values are smaller than cost surface</title>
      <link>https://community.esri.com/t5/python-questions/cost-path-values-are-smaller-than-cost-surface/m-p/124818#M9709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you explain why it's in meters?&lt;/P&gt;&lt;P&gt;From what I understand, the cost path defines the "cost", real or might normalization cost. CMIIW.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 13:08:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cost-path-values-are-smaller-than-cost-surface/m-p/124818#M9709</guid>
      <dc:creator>BayuWidyasanyata</dc:creator>
      <dc:date>2015-04-15T13:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Cost path values are smaller than cost surface</title>
      <link>https://community.esri.com/t5/python-questions/cost-path-values-are-smaller-than-cost-surface/m-p/124819#M9710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry, I assumed distance...units then....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 13:18:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cost-path-values-are-smaller-than-cost-surface/m-p/124819#M9710</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-04-15T13:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cost path values are smaller than cost surface</title>
      <link>https://community.esri.com/t5/python-questions/cost-path-values-are-smaller-than-cost-surface/m-p/124820#M9711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK. Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 13:33:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cost-path-values-are-smaller-than-cost-surface/m-p/124820#M9711</guid>
      <dc:creator>BayuWidyasanyata</dc:creator>
      <dc:date>2015-04-15T13:33:20Z</dc:date>
    </item>
  </channel>
</rss>

