<?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: Hydrology Flow Direction tool output &amp;quot;incorrect&amp;quot; when setting z limit in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/hydrology-flow-direction-tool-output-amp-quot/m-p/624550#M9100</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: curtvprice&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Has this issue been corrected for 10.1?&amp;nbsp; &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The bug report says it was indeed resolved in 10.0 SP4 and 10.1. I would take this to support with a small test dataset so they can fix it!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;NIM-069368 When running the Spatial Analyst &amp;gt; Hydrology &amp;gt; Fill tool and specifying a Z limit, ArcGIS Version 10 SP2 fills less sinks than ArcGIS Version 9.3.1 SP2. &lt;BR /&gt;&lt;BR /&gt;Status: Resolved&lt;BR /&gt;Version Fixed: 10.1&lt;BR /&gt;SP Fixed: 10.0SP4&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jun 2013 21:56:00 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2013-06-19T21:56:00Z</dc:date>
    <item>
      <title>Hydrology Flow Direction tool output &amp;quot;incorrect&amp;quot; when setting z limit</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/hydrology-flow-direction-tool-output-amp-quot/m-p/624541#M9091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: wesley.king&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS v10 sp1, 64 bit Vista:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've never seen this happen before, but I haven't done a hydrology analysis since installing v10.&amp;nbsp; When running the Fill tool and not setting the z limit (defaulting to fill all), then running flow direction the output is as expected...values of; 1,2,4,8,16,32,64,128.&amp;nbsp; Then running flow accumulation with with directional raster works as expected (see attachment).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;BUT&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When running the Fill tool and setting the z limit (trying about 8 different values), then running flow direction the output is NOT as expected...cells with values ranging 1-255.&amp;nbsp; Then running flow accumulation with this directional raster results in output that is obviously wrong (see attachment).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone have any idea what's happening?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wes&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2011 13:58:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/hydrology-flow-direction-tool-output-amp-quot/m-p/624541#M9091</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-06-03T13:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Hydrology Flow Direction tool output "incorrect" when setting z limit</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/hydrology-flow-direction-tool-output-amp-quot/m-p/624542#M9092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: wesley.king&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I ran the same tools with the same input (same elevation raster and z limit of .1) in both v10 and v9.3.1 and the resulting flow accumulation is horribly different.&amp;nbsp; See the attachments named according to which Arc version used.&amp;nbsp; The extent for the screen shot is the same, but one is shifted slightly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The tool order is; Fill &amp;gt; Flow Direction &amp;gt; Flow Accumulation&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure what to think about this...anyone come across anything similar, or have any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wes&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2011 18:46:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/hydrology-flow-direction-tool-output-amp-quot/m-p/624542#M9092</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-06-03T18:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Hydrology Flow Direction tool output "incorrect" when setting z limit</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/hydrology-flow-direction-tool-output-amp-quot/m-p/624543#M9093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Helps to add the attachments &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2011 18:50:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/hydrology-flow-direction-tool-output-amp-quot/m-p/624543#M9093</guid>
      <dc:creator>WesKing</dc:creator>
      <dc:date>2011-06-03T18:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Hydrology Flow Direction tool output "incorrect" when setting z limit</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/hydrology-flow-direction-tool-output-amp-quot/m-p/624544#M9094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: pyadav1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We would like to work with you to understand the problem and troubleshoot it. Could you please contact Technical Support so we can work with you to get a reproducible case? If it is a software defect, our analyst will report it our development team for further investigation. To contact Esri Support, you can either: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Go to Support.esri.com &amp;gt; Scroll down &amp;gt; Choose Support Request Form and submit a new request online; or &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Call 888-377-4575 and have a new call logged with an analyst.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2011 21:07:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/hydrology-flow-direction-tool-output-amp-quot/m-p/624544#M9094</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-06-03T21:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Hydrology Flow Direction tool output "incorrect" when setting z limit</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/hydrology-flow-direction-tool-output-amp-quot/m-p/624545#M9095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Pavan, I just submitted and hope to hear from you soon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Wes&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2011 21:47:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/hydrology-flow-direction-tool-output-amp-quot/m-p/624545#M9095</guid>
      <dc:creator>WesKing</dc:creator>
      <dc:date>2011-06-03T21:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Hydrology Flow Direction tool output "incorrect" when setting z limit</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/hydrology-flow-direction-tool-output-amp-quot/m-p/624546#M9096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: rhbricky&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Was this ever resolved?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The output from Fill is distinctly different in 10SP2 than in 9.3 (and incorrect)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use a layer filled in 9.3, it works just fine. Filling using 10 or 100 gives me the original unfilled DEM as a result.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 19:42:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/hydrology-flow-direction-tool-output-amp-quot/m-p/624546#M9096</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-09-28T19:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Hydrology Flow Direction tool output "incorrect" when setting z limit</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/hydrology-flow-direction-tool-output-amp-quot/m-p/624547#M9097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Richard,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This issue has not been resolved yet.&amp;nbsp; ESRI was able to reproduce exactly as occurred with my analysis.&amp;nbsp; A software bug report has been sent in by ESRI support services and I haven't heard anything since it was sent in.&amp;nbsp; The reference number for this bug is NIM069368 just so you know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I searched the fixes in SP3 and didn't see it was included so I'm assuming it will be a while before the fix occurs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Wes&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 20:00:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/hydrology-flow-direction-tool-output-amp-quot/m-p/624547#M9097</guid>
      <dc:creator>WesKing</dc:creator>
      <dc:date>2011-10-26T20:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Hydrology Flow Direction tool output "incorrect" when setting z limit</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/hydrology-flow-direction-tool-output-amp-quot/m-p/624548#M9098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: pyadav1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Richard,&lt;BR /&gt;This issue has not been resolved yet.&amp;nbsp; ESRI was able to reproduce exactly as occurred with my analysis.&amp;nbsp; A software bug report has been sent in by ESRI support services and I haven't heard anything since it was sent in.&amp;nbsp; The reference number for this bug is NIM069368 just so you know.&lt;BR /&gt;&lt;BR /&gt;I searched the fixes in SP3 and didn't see it was included so I'm assuming it will be a while before the fix occurs.&lt;BR /&gt;&lt;BR /&gt;Wes&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Wes, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to let you know NIM069368 is in our ArcGIS 10 Service Pack 4 target list. SP 4 is planned to be available next month (March, 2012). I greatly appreciate your efforts to bring this issue to our attention. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pavan Yadav&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 15:55:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/hydrology-flow-direction-tool-output-amp-quot/m-p/624548#M9098</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-02-08T15:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: Hydrology Flow Direction tool output "incorrect" when setting z limit</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/hydrology-flow-direction-tool-output-amp-quot/m-p/624549#M9099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Has this issue been corrected for 10.1?&amp;nbsp; I am experiencing the same issues using fill tool with z limit set to 1.&amp;nbsp; I am using 1m LiDAR dataset, conversion las to raster, cell size 3m.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can run the fill tool with z limit default-flow direction-flow accumulation with no problem.&amp;nbsp; If I set z limit to 1, I have the same troubles described in this blog.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rick Thalacker&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 19:36:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/hydrology-flow-direction-tool-output-amp-quot/m-p/624549#M9099</guid>
      <dc:creator>RickThalacker</dc:creator>
      <dc:date>2013-06-19T19:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Hydrology Flow Direction tool output "incorrect" when setting z limit</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/hydrology-flow-direction-tool-output-amp-quot/m-p/624550#M9100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: curtvprice&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Has this issue been corrected for 10.1?&amp;nbsp; &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The bug report says it was indeed resolved in 10.0 SP4 and 10.1. I would take this to support with a small test dataset so they can fix it!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;NIM-069368 When running the Spatial Analyst &amp;gt; Hydrology &amp;gt; Fill tool and specifying a Z limit, ArcGIS Version 10 SP2 fills less sinks than ArcGIS Version 9.3.1 SP2. &lt;BR /&gt;&lt;BR /&gt;Status: Resolved&lt;BR /&gt;Version Fixed: 10.1&lt;BR /&gt;SP Fixed: 10.0SP4&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 21:56:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/hydrology-flow-direction-tool-output-amp-quot/m-p/624550#M9100</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-06-19T21:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hydrology Flow Direction tool output "incorrect" when setting z limit</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/hydrology-flow-direction-tool-output-amp-quot/m-p/624551#M9101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The trouble I am having refers directly to the trouble in the top post.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"When running the Fill tool and not setting the z limit (defaulting to fill all), then running flow direction the output is as expected...values of; 1,2,4,8,16,32,64,128. Then running flow accumulation with with directional raster works as expected (see attachment).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;BUT&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When running the Fill tool and setting the z limit (trying about 8 different values), then running flow direction the output is NOT as expected...cells with values ranging 1-255."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I not sure this relates to filling fewer cells than previous version of ArcMap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rick&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ver.10.1 with SP1 installed on machine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 16:58:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/hydrology-flow-direction-tool-output-amp-quot/m-p/624551#M9101</guid>
      <dc:creator>RickThalacker</dc:creator>
      <dc:date>2013-06-20T16:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Hydrology Flow Direction tool output "incorrect" when setting z limit</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/hydrology-flow-direction-tool-output-amp-quot/m-p/624552#M9102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: curtvprice&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; &lt;BR /&gt;When running the Fill tool and setting the z limit (trying about 8 different values), then running flow direction the output is NOT as expected...cells with values ranging 1-255." &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is what I'd expect... if you set a Z limit, some areas are not filled, so there will be sinks remaining when you calculate flow direction. As described in the FlowDirection tool reference, sinks will be coded with values between 1 and 255 (ie non-powers of two) that code which cells flow into the sink. You can easily identify those sink cells using the extract By Attributes tool:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;ExtractByAttributes("flowgrid", "flowgrid",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "VALUE NOT IN (1,2,4,8,16,32,64,128)")&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;UPDATE:&lt;/STRONG&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A href="http://stackoverflow.com/questions/600293/how-to-check-if-a-number-is-a-power-of-2" rel="nofollow noopener noreferrer" target="_blank"&gt;stackoverflow &lt;/A&gt;&lt;SPAN&gt;is awesome. Here's an arcpy map algebra way to do it that is just too cool, using the "bitwise and" operator &amp;amp;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;SetNull("flowgrid" != 0 and "flowgrid" &amp;lt; 256 and
&amp;nbsp;&amp;nbsp;&amp;nbsp; (("flowgrid" &amp;amp; ("flowgrid" - 1)) == 0, "flowgrid")&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:36:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/hydrology-flow-direction-tool-output-amp-quot/m-p/624552#M9102</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-12T02:36:04Z</dc:date>
    </item>
  </channel>
</rss>

