<?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: Syntax for Map Algebra in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/syntax-for-map-algebra/m-p/724483#M10510</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The reclassify that Robert suggested is the correct to develop a sort of 'cost' raster.&amp;nbsp; This could then be incorporated into the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//009z00000021000000"&gt;Least Cost Path&lt;/A&gt;&lt;SPAN&gt; or &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/How_Weighted_Overlay_works/009z000000s1000000/"&gt;Weighted Overlay&lt;/A&gt;&lt;SPAN&gt; tool depending on how many criteria you had.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Mar 2013 12:32:53 GMT</pubDate>
    <dc:creator>JeffreySwain</dc:creator>
    <dc:date>2013-03-19T12:32:53Z</dc:date>
    <item>
      <title>Syntax for Map Algebra</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/syntax-for-map-algebra/m-p/724481#M10508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am just learning how to use the spatial analyst and map algebra feature and I am stuck trying to get the syntax correct for a simple problem.&amp;nbsp; I need to figure the best potential site locations for a store based upon distance from major roads.&amp;nbsp; If a location is within 1000m of a major road its scored 10, if between 1000 and 3000 meters its scored 20 and all other distances are scored 0.&amp;nbsp; None of the syntax formula's I have written seem to work.&amp;nbsp; I am working with 10.1. I have a raster dataset with the euclidian distance to the roads. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 20:53:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/syntax-for-map-algebra/m-p/724481#M10508</guid>
      <dc:creator>AndyFaris</dc:creator>
      <dc:date>2013-03-18T20:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for Map Algebra</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/syntax-for-map-algebra/m-p/724482#M10509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You could use the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//009z000000sr000000"&gt;Reclassify&lt;/A&gt;&lt;SPAN&gt; Geoprocessing tool to reclassify the values of your raster to 10, 20 and zero based upon a manual classification.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert LeClair&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Esri-Denver&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 21:36:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/syntax-for-map-algebra/m-p/724482#M10509</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2013-03-18T21:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for Map Algebra</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/syntax-for-map-algebra/m-p/724483#M10510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The reclassify that Robert suggested is the correct to develop a sort of 'cost' raster.&amp;nbsp; This could then be incorporated into the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//009z00000021000000"&gt;Least Cost Path&lt;/A&gt;&lt;SPAN&gt; or &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/How_Weighted_Overlay_works/009z000000s1000000/"&gt;Weighted Overlay&lt;/A&gt;&lt;SPAN&gt; tool depending on how many criteria you had.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2013 12:32:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/syntax-for-map-algebra/m-p/724483#M10510</guid>
      <dc:creator>JeffreySwain</dc:creator>
      <dc:date>2013-03-19T12:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for Map Algebra</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/syntax-for-map-algebra/m-p/724484#M10511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks to you both for the response and help.&amp;nbsp; The weighted overlay seems a much easier way of getting the information.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2013 19:39:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/syntax-for-map-algebra/m-p/724484#M10511</guid>
      <dc:creator>AndyFaris</dc:creator>
      <dc:date>2013-03-19T19:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for Map Algebra</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/syntax-for-map-algebra/m-p/724485#M10512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; I need to figure the best potential site locations for a store based upon distance from major roads.&amp;nbsp; If a location is within 1000m of a major road its scored 10, if between 1000 and 3000 meters its scored 20 and all other distances are scored 0.&amp;nbsp; None of the syntax formula's I have written seem to work.&amp;nbsp; I am working with 10.1. I have a raster dataset with the euclidian distance to the roads. &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you decide that you'd like to do something fancier than what's easy to do with the Weighted Overlay tool, Map Algebra is quite up to the task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Reclassify&lt;/STRONG&gt;&lt;SPAN&gt; is handy, but I have to say the &lt;/SPAN&gt;&lt;STRONG&gt;Con&lt;/STRONG&gt;&lt;SPAN&gt; function is really useful for this kind of thing. I'm assuming you're using Raster Calculator and have a raster layer called "distRas" in your table of contents. This expression, which nests one Con inside another, will do what you want:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Courier New;"&gt;Con("distRas" &amp;lt; 1000,10,Con("distRas" &amp;lt; 3000,20,0))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;UPDATE: fixed syntax above&lt;/STRONG&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2013 23:08:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/syntax-for-map-algebra/m-p/724485#M10512</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2013-03-19T23:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for Map Algebra</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/syntax-for-map-algebra/m-p/724486#M10513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If you decide that you'd like to do something fancier than what's easy to do with the Weighted Overlay tool, Map Algebra is quite up to the task.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Reclassify&lt;/STRONG&gt; is handy, but I have to say the &lt;STRONG&gt;Con&lt;/STRONG&gt; function is really useful for this kind of thing. I'm assuming you're using Raster Calculator and have a raster layer called "distRas" in your table of contents. This expression, which nests one Con inside another, will do what you want:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Courier New;"&gt;Con("distRas" &amp;lt; 1000,10,Con("distRas" &amp;lt; 3000,20),0)&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This was exactly what I was trying to come up with, thanks curtvprice!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2013 03:24:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/syntax-for-map-algebra/m-p/724486#M10513</guid>
      <dc:creator>AndyFaris</dc:creator>
      <dc:date>2013-03-20T03:24:19Z</dc:date>
    </item>
  </channel>
</rss>

