<?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: Con Statement help in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/con-statement-help/m-p/613849#M8928</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is the structure:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;con(basal_area &amp;gt;3, con(state_parks &amp;lt; 80, 10, 1), 1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The structure of con is, &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;con(statement, if true, if false)&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Also, take into account if your rasters have null values, any value versus a null value, will be a null value.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Dec 2012 06:04:51 GMT</pubDate>
    <dc:creator>AndreuAres_Martin</dc:creator>
    <dc:date>2012-12-05T06:04:51Z</dc:date>
    <item>
      <title>Con Statement help</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/con-statement-help/m-p/613848#M8927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to write a Con statement in the Raster Calculator tool and I am having difficulty with the structure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have two rasters, one being basal-area (basal.img) and the other being state parks (parks.img).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The value field for the basal.img is the amount of basal-area per acre reclassified as 1,2,3,4,5.&amp;nbsp; The value field for the state parks field is road distance from a certain point in miles.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am attempting to write a statement where if Basal-area is &amp;gt;3 and if the distance to a state park is &amp;lt;80 then the resulting value would be 10, otherwise it would be 1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be greatly appreciated, thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2012 00:41:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/con-statement-help/m-p/613848#M8927</guid>
      <dc:creator>MikeFazio</dc:creator>
      <dc:date>2012-12-05T00:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Con Statement help</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/con-statement-help/m-p/613849#M8928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is the structure:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;con(basal_area &amp;gt;3, con(state_parks &amp;lt; 80, 10, 1), 1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The structure of con is, &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;con(statement, if true, if false)&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Also, take into account if your rasters have null values, any value versus a null value, will be a null value.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2012 06:04:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/con-statement-help/m-p/613849#M8928</guid>
      <dc:creator>AndreuAres_Martin</dc:creator>
      <dc:date>2012-12-05T06:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Con Statement help</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/con-statement-help/m-p/613850#M8929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;pay attention to case sensitivity and the need for brackets when using the Con statement ie&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/20461-syntax-error-in-con-statement"&gt;http://forums.arcgis.com/threads/20461-syntax-error-in-con-statement&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2012 08:00:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/con-statement-help/m-p/613850#M8929</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2012-12-05T08:00:58Z</dc:date>
    </item>
  </channel>
</rss>

