<?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: How to specify snap distance parameter using SnapPourPoint GP Tool in ArcGIS Pro SDK? in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-specify-snap-distance-parameter-using/m-p/1303072#M9979</link>
    <description>&lt;P&gt;Thanks a lot,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/42133"&gt;@GKmieliauskas&lt;/a&gt;&amp;nbsp;!&amp;nbsp; After I specified distance after the output raster path, it solved the problem!&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jun 2023 16:35:42 GMT</pubDate>
    <dc:creator>AquanuityDevelopment</dc:creator>
    <dc:date>2023-06-26T16:35:42Z</dc:date>
    <item>
      <title>How to specify snap distance parameter using SnapPourPoint GP Tool in ArcGIS Pro SDK?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-specify-snap-distance-parameter-using/m-p/1303019#M9976</link>
      <description>&lt;P&gt;The following code with a snap distance of 5 will fail with error code&amp;nbsp;2147483647.&amp;nbsp; But if I remove the parameter.&amp;nbsp; It will be working fine.&amp;nbsp; Any ideas how to bypass this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;string sIputRaster = @"C:\Support\PourPoints.tif";&lt;/P&gt;&lt;P&gt;string sFlowAccumRaster = @"C:\Support\FlowAccumulation.tif";&lt;BR /&gt;string sRaterPath = @"C:\Support\Snap.tif";&lt;/P&gt;&lt;P&gt;var parameters = Geoprocessing.MakeValueArray(sIputRaster, sFlowAccumRaster, 5, sRaterPath);&lt;/P&gt;&lt;P&gt;var cts = new CancellationTokenSource();&lt;BR /&gt;var results = await Geoprocessing.ExecuteToolAsync("SnapPourPoint_sa", parameters, null, cts.Token,&lt;BR /&gt;(eventName, o) =&amp;gt;&lt;BR /&gt;{&lt;BR /&gt;}, GPExecuteToolFlags.None);&lt;BR /&gt;if (results.IsFailed)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp;MessageBox.Show("Failed to create fill layer. Error " + results.ErrorCode);&lt;/P&gt;&lt;P&gt;return;&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 14:59:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-specify-snap-distance-parameter-using/m-p/1303019#M9976</guid>
      <dc:creator>AquanuityDevelopment</dc:creator>
      <dc:date>2023-06-26T14:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify snap distance parameter using SnapPourPoint GP Tool in ArcGIS Pro SDK?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-specify-snap-distance-parameter-using/m-p/1303020#M9977</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As I mentioned in &lt;A href="https://community.esri.com/t5/arcgis-pro-sdk-questions/call-archydro-tools-using-arcgis-pro-sdk/m-p/1301557#M9955" target="_self"&gt;ArcHydro tools question&lt;/A&gt; spatial analyst output parameter can migrate. Try specify snap distance after output raster path. In addition check validation messages sent from geoprocessing tool execute.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 15:10:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-specify-snap-distance-parameter-using/m-p/1303020#M9977</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2023-06-26T15:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify snap distance parameter using SnapPourPoint GP Tool in ArcGIS Pro SDK?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-specify-snap-distance-parameter-using/m-p/1303072#M9979</link>
      <description>&lt;P&gt;Thanks a lot,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/42133"&gt;@GKmieliauskas&lt;/a&gt;&amp;nbsp;!&amp;nbsp; After I specified distance after the output raster path, it solved the problem!&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 16:35:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-specify-snap-distance-parameter-using/m-p/1303072#M9979</guid>
      <dc:creator>AquanuityDevelopment</dc:creator>
      <dc:date>2023-06-26T16:35:42Z</dc:date>
    </item>
  </channel>
</rss>

