<?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: Roads in Least Cost Analysis in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/roads-in-least-cost-analysis/m-p/54401#M756</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm supposed to be using Single Output Map Algebra, right?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The syntax with the brackets is for the Arc 9.3.1 raster calculator. Is that what's tripping you up? The syntax for the (similar) single output map algebra tool is different. There are examples in the online help; which one you want to use is up to you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note in Arc 10, the Raster Calculator, the Single-Output and Multi-Output tools are all replaced with the new Map Algebra tool. There have been complaints about this, but I kind of like only having one syntax instead of three.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 May 2011 12:48:51 GMT</pubDate>
    <dc:creator>curtvprice</dc:creator>
    <dc:date>2011-05-30T12:48:51Z</dc:date>
    <item>
      <title>Roads in Least Cost Analysis</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/roads-in-least-cost-analysis/m-p/54400#M755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to include the roads layer in my least cost grid by creating regions that the path would be dissuaded from crossing, to be done by making all the cells above rasterised road have their cost value changed to '10' (on a 10 point scale).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I created &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/28916-Lines-affecting-least-cost-paths?p=102029#post102029"&gt;this&lt;/A&gt;&lt;SPAN&gt; thread a while ago to ask this question, and it was answered but we got sidetracked and now the thread is dead. The solution provided is this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The overwriting can be done with a combination of con and isnull, as in&lt;BR /&gt;Con( Isnull( [roads] ), [impedance], 10 )&lt;BR /&gt;Here, 10 is the value to put in the [impedance] grid at all road cells.&lt;BR /&gt;&lt;BR /&gt; A similar approach is to add a large impedance at all road cells, as in&lt;BR /&gt;Not( Isnull( [roads] ) ) * 10 + [impedance]&lt;BR /&gt;This exploits the (documented) convention that false values are 0 and true values are 1.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I can't make the statements in your first post work, for instance 'Con( Isnull( [RasterRoads] ), [Cost], 10 )' with 'RasterRoads' being a rasterised road layer that is nodata for everything except road cells, and 'cost' being the cost layer already made up of slope and landuse.&lt;BR /&gt;I'm supposed to be using Single Output Map Algebra, right? Why does putting that statement into it not work? (the model thing remains white, it won't let me run it).&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could someone please help me, I am desperate &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 May 2011 04:53:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/roads-in-least-cost-analysis/m-p/54400#M755</guid>
      <dc:creator>NickSmale</dc:creator>
      <dc:date>2011-05-29T04:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Roads in Least Cost Analysis</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/roads-in-least-cost-analysis/m-p/54401#M756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm supposed to be using Single Output Map Algebra, right?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The syntax with the brackets is for the Arc 9.3.1 raster calculator. Is that what's tripping you up? The syntax for the (similar) single output map algebra tool is different. There are examples in the online help; which one you want to use is up to you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note in Arc 10, the Raster Calculator, the Single-Output and Multi-Output tools are all replaced with the new Map Algebra tool. There have been complaints about this, but I kind of like only having one syntax instead of three.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2011 12:48:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/roads-in-least-cost-analysis/m-p/54401#M756</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2011-05-30T12:48:51Z</dc:date>
    </item>
  </channel>
</rss>

