<?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: Watershed delineating using local server and arcgis runtime sdk for .net? in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/watershed-delineating-using-local-server-and/m-p/44455#M497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the reasons that I use ArcMap instead of ArcGIS pro is because many parts of the application were previously built using ArcMap. I will not have a problem transitioning to ArcGIS Pro for building new applications. As far as old ones, I can still use ArcGIS Pro if there is an easy way to upgrade the old ones rather than writing whole new program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jun 2020 16:57:24 GMT</pubDate>
    <dc:creator>ManishShrivastav</dc:creator>
    <dc:date>2020-06-19T16:57:24Z</dc:date>
    <item>
      <title>Watershed delineating using local server and arcgis runtime sdk for .net?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/watershed-delineating-using-local-server-and/m-p/44453#M495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to build a WPF Desktop app, wherein I am using Local server to consume a geoprocessing package. The idea is to develop an app where I can click at a location, to mark an outlet point, on the map and click the generate button to generate the watershed above the outlet. I tried to follow the sample from &lt;A href="https://developers.arcgis.com/net/latest/wpf/sample-code/local-server-geoprocessing/"&gt;https://developers.arcgis.com/net/latest/wpf/sample-code/local-server-geoprocessing/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But not successful in achieving the goal and I get “Job failed” message box.&lt;/P&gt;&lt;P&gt;I am attaching the code also. Any help is much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2020 03:58:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/watershed-delineating-using-local-server-and/m-p/44453#M495</guid>
      <dc:creator>ManishShrivastav</dc:creator>
      <dc:date>2020-06-19T03:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Watershed delineating using local server and arcgis runtime sdk for .net?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/watershed-delineating-using-local-server-and/m-p/44454#M496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a really exciting&amp;nbsp;use case&amp;nbsp;for Local Server.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt; Before I take a look... are you able to use ArcGIS Pro instead of ArcMap? (the next release of Local Server approx Q3 2020&amp;nbsp;will only support Pro packages, therefore I'd prefer to get&amp;nbsp;you going in that direction if possible)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2020 16:36:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/watershed-delineating-using-local-server-and/m-p/44454#M496</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2020-06-19T16:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: Watershed delineating using local server and arcgis runtime sdk for .net?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/watershed-delineating-using-local-server-and/m-p/44455#M497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the reasons that I use ArcMap instead of ArcGIS pro is because many parts of the application were previously built using ArcMap. I will not have a problem transitioning to ArcGIS Pro for building new applications. As far as old ones, I can still use ArcGIS Pro if there is an easy way to upgrade the old ones rather than writing whole new program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2020 16:57:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/watershed-delineating-using-local-server-and/m-p/44455#M497</guid>
      <dc:creator>ManishShrivastav</dc:creator>
      <dc:date>2020-06-19T16:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Watershed delineating using local server and arcgis runtime sdk for .net?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/watershed-delineating-using-local-server-and/m-p/44456#M498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One issue might be that you're not providing any input features.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your code initializes the features:&lt;/P&gt;&lt;P&gt;`gpParams.Inputs["Outlet of Watershed"] = new GeoprocessingFeatures();`&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I can't see any code that adds a feature to that input. You'll need something like this:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-runtime-samples-dotnet/blob/master/src/WPF/ArcGISRuntime.WPF.Viewer/Samples/Geoprocessing/AnalyzeViewshed/AnalyzeViewshed.xaml.cs#L70" title="https://github.com/Esri/arcgis-runtime-samples-dotnet/blob/master/src/WPF/ArcGISRuntime.WPF.Viewer/Samples/Geoprocessing/AnalyzeViewshed/AnalyzeViewshed.xaml.cs#L70"&gt;arcgis-runtime-samples-dotnet/AnalyzeViewshed.xaml.cs at master · Esri/arcgis-runtime-samples-dotnet · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also recommend reading this topic for tips on publishing geoprocessing services:&amp;nbsp;&lt;A class="link-titled" href="https://enterprise.arcgis.com/en/server/latest/publish-services/windows/a-quick-tour-of-authoring-geoprocessing-services.htm" title="https://enterprise.arcgis.com/en/server/latest/publish-services/windows/a-quick-tour-of-authoring-geoprocessing-services.htm"&gt;A quick tour of authoring and sharing geoprocessing services—Documentation | Documentation for ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2020 00:01:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/watershed-delineating-using-local-server-and/m-p/44456#M498</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2020-06-23T00:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Watershed delineating using local server and arcgis runtime sdk for .net?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/watershed-delineating-using-local-server-and/m-p/44457#M499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for pointing out to resourceful documentations. I tried to make some adjustments in the code as pointed out in the link &lt;A href="https://github.com/Esri/arcgis-runtime-samples-dotnet/blob/master/src/WPF/ArcGISRuntime.WPF.Viewer/Samples/Geoprocessing/AnalyzeViewshed/AnalyzeViewshed.xaml.cs#L70"&gt;https://github.com/Esri/arcgis-runtime-samples-dotnet/blob/master/src/WPF/ArcGISRuntime.WPF.Viewer/Samples/Geoprocessing/AnalyzeViewshed/AnalyzeViewshed.xaml.cs#L70&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After running the code, "Job Failed" message box shows up with message as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="/legacyfs/online/497665_Geoprocessing Error.JPG" /&gt;&lt;/P&gt;&lt;P&gt;I am attaching the new code as well.. Please let me know the work around.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2020 21:24:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/watershed-delineating-using-local-server-and/m-p/44457#M499</guid>
      <dc:creator>ManishShrivastav</dc:creator>
      <dc:date>2020-06-23T21:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Watershed delineating using local server and arcgis runtime sdk for .net?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/watershed-delineating-using-local-server-and/m-p/44458#M500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at the error message, it indicates that there was a problem reading the raster dataset that is the input to the Snap Pour Point (Spatial Analyst) tool - specifically it failed to find or read the VAT (raster attribute table).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your Model, that's the output from the Flow Accumulation tool therefore I recommend looking at the properties of that tool. For example, where is the output being written? I always advise using the&amp;nbsp;environment variables %ScratchFolder% or&amp;nbsp; %ScratchGDB% for the ScratchWorkspace e.g.&amp;nbsp;%ScratchFolder%\FlowAccOutput.tif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more info see:&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/tools/environments/scratch-folder.htm" title="https://desktop.arcgis.com/en/arcmap/latest/tools/environments/scratch-folder.htm"&gt;Scratch Folder (Environment setting)—Help | Documentation&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&lt;A class="link-titled" href="https://desktop.arcgis.com/en/arcmap/latest/tools/environments/scratch-gdb.htm" title="https://desktop.arcgis.com/en/arcmap/latest/tools/environments/scratch-gdb.htm"&gt;Scratch GDB (Environment setting)—Help | Documentation&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in your Model properties window set the location of the Scratch Workspace environment to a&amp;nbsp;folder you know exists e.g.&amp;nbsp;C:\WatershedDelineation\Scratch in which you have created a file geodatabase `scratch.gdb`.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These variables are substituted at runtime by ArcGIS whether running in the context of ArcMap or ArcGIS Runtime Local Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2020 22:38:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/watershed-delineating-using-local-server-and/m-p/44458#M500</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2020-06-23T22:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Watershed delineating using local server and arcgis runtime sdk for .net?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/watershed-delineating-using-local-server-and/m-p/44459#M501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to follow the instructions and rewritten the tool making sure that everything is output to "ScratchGDB" but I am still not able to get Raster Attribute Table from the output of Flow Accumulation. I have also tried to create the attribute table using "Build Raster Attribute Table" tool, which runs without any error but fails to create the attribute table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With all this I am still getting the same Geoprocessing Error as earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2020 04:23:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/watershed-delineating-using-local-server-and/m-p/44459#M501</guid>
      <dc:creator>ManishShrivastav</dc:creator>
      <dc:date>2020-06-24T04:23:19Z</dc:date>
    </item>
  </channel>
</rss>

