<?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 Raster Percentage Difference in Water Utilities Questions</title>
    <link>https://community.esri.com/t5/water-utilities-questions/raster-percentage-difference/m-p/103246#M206</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello fellow ArcMap User,&amp;nbsp;&lt;/P&gt;&lt;P&gt;i´ve got a question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im using ArcMap 10.6.1 on Win10 with full license.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to find a possible way but haven´t found it yet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to see the percentage (and absolute but percentage is more important) difference between two raster-datasets. Is there any way to make this happen with raster-math or something else?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My task is about inundation areas in urban regions and i want to compare two different approaches.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am pretty new to the software and appreciate any help from experienced user.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much i am looking for your answer.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 07 Apr 2019 09:10:50 GMT</pubDate>
    <dc:creator>FrithjofThomsen</dc:creator>
    <dc:date>2019-04-07T09:10:50Z</dc:date>
    <item>
      <title>Raster Percentage Difference</title>
      <link>https://community.esri.com/t5/water-utilities-questions/raster-percentage-difference/m-p/103246#M206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello fellow ArcMap User,&amp;nbsp;&lt;/P&gt;&lt;P&gt;i´ve got a question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im using ArcMap 10.6.1 on Win10 with full license.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to find a possible way but haven´t found it yet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to see the percentage (and absolute but percentage is more important) difference between two raster-datasets. Is there any way to make this happen with raster-math or something else?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My task is about inundation areas in urban regions and i want to compare two different approaches.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am pretty new to the software and appreciate any help from experienced user.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much i am looking for your answer.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Apr 2019 09:10:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/raster-percentage-difference/m-p/103246#M206</guid>
      <dc:creator>FrithjofThomsen</dc:creator>
      <dc:date>2019-04-07T09:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Raster Percentage Difference</title>
      <link>https://community.esri.com/t5/water-utilities-questions/raster-percentage-difference/m-p/103247#M207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;What have you tried?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;Do you have the spatial analyst extension?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In the raster calculator, subtract the two and then divide by the raster that you are using as the denominator...multiply the result by 100%.&amp;nbsp; Of course if will fail miserably if you have 0 in the raster you are using as the denominator, so extra efforts will be needed to mask those cells.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Apr 2019 21:07:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/raster-percentage-difference/m-p/103247#M207</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-04-07T21:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Raster Percentage Difference</title>
      <link>https://community.esri.com/t5/water-utilities-questions/raster-percentage-difference/m-p/1147186#M1815</link>
      <description>&lt;P&gt;Hey Dan,&lt;/P&gt;&lt;P&gt;I'm attempting something similar to what the original poster was asking about. I have 0 values in the denominator layer. I was going to try to create an if/then statement to prevent an error from being thrown but can't seem to figure out how to use if/then in the raster calculator.&lt;/P&gt;&lt;P&gt;Others have suggested using a Field Calculator, which allows for if/then statements, but this doesn't (to my knowledge) allow me to pull in a value from a different layer. Any suggestions?&lt;/P&gt;&lt;P&gt;The if/then statement would look something like this:&lt;/P&gt;&lt;P&gt;def PrcntChng(OldVal, NewVal):&lt;/P&gt;&lt;P&gt;&amp;nbsp; if OldVal == 0:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; PC = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; else:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; PC = ((NewVal - OldVal) / OldVal) * 100&lt;/P&gt;&lt;P&gt;&amp;nbsp; return PC&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 19:55:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-utilities-questions/raster-percentage-difference/m-p/1147186#M1815</guid>
      <dc:creator>MattMoy</dc:creator>
      <dc:date>2022-02-23T19:55:38Z</dc:date>
    </item>
  </channel>
</rss>

