<?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: Geoprocessing Vs Geoprocessor: Best practice, when to use, best suited for, etc. in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/geoprocessing-vs-geoprocessor-best-practice-when/m-p/531399#M14341</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I forget which is which, but one is the old geoprocessor class and is still provided for compatibility with previous versions.&amp;nbsp; The one you should be using for new code is the one in which you create an instance of the geoprocessing tool you want to use, set the parameters by accessing properties on that class and then pass the instance of that class into the geoprocessor's Execute method.&amp;nbsp; The old way requires you to fill a property set with the parameters then pass the name of the geoprocessing tool as a string into the Execute method along with the property set.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That makes sense Neil. Thanks!&amp;nbsp; I suspected one of the assemblies might be for backward compatibility. The Geoprocess&lt;/SPAN&gt;&lt;STRONG&gt;or&lt;/STRONG&gt;&lt;SPAN&gt; assembly has the tool &amp;lt;-&amp;gt; class mapping.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Aug 2012 10:22:05 GMT</pubDate>
    <dc:creator>JohnJackson</dc:creator>
    <dc:date>2012-08-21T10:22:05Z</dc:date>
    <item>
      <title>Geoprocessing Vs Geoprocessor: Best practice, when to use, best suited for, etc.</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/geoprocessing-vs-geoprocessor-best-practice-when/m-p/531396#M14338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am a bit confused regarding the components of ESRI.ArcGIS.Geoprocessor and ESRI.ArcGIS.Geoprocessing.&amp;nbsp; Is there a specific use each lends itself to (ex: better for custom tools or stand alone apps)?&amp;nbsp; Is there a best practice for when to use which?&amp;nbsp; I am currently working on a stand alone WPF / C# application where the geoprocessing takes place in a thread without any specific user interaction. Is one of these assemblies better suited than the other for that type of environment?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your input,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 19:34:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/geoprocessing-vs-geoprocessor-best-practice-when/m-p/531396#M14338</guid>
      <dc:creator>JohnJackson</dc:creator>
      <dc:date>2012-08-20T19:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessing Vs Geoprocessor: Best practice, when to use, best suited for, etc.</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/geoprocessing-vs-geoprocessor-best-practice-when/m-p/531397#M14339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I forget which is which, but one is the old geoprocessor class and is still provided for compatibility with previous versions.&amp;nbsp; The one you should be using for new code is the one in which you create an instance of the geoprocessing tool you want to use, set the parameters by accessing properties on that class and then pass the instance of that class into the geoprocessor's Execute method.&amp;nbsp; The old way requires you to fill a property set with the parameters then pass the name of the geoprocessing tool as a string into the Execute method along with the property set.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 19:41:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/geoprocessing-vs-geoprocessor-best-practice-when/m-p/531397#M14339</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2012-08-20T19:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessing Vs Geoprocessor: Best practice, when to use, best suited for, etc.</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/geoprocessing-vs-geoprocessor-best-practice-when/m-p/531398#M14340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I can tell you that in the AO Java API, these classes have useful side effects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geoprocessing.GeoProcessor;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geoprocessing.tools.datamanagementtools.Append;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.esri.arcgis.geoprocessing.tools.datamanagementtools.DeleteFeatures;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Executing the Append and DeleteFeatures tools will update the TOC and refresh the active view, assuming you're working with add-ins, so make sure you are not calling refresh again somewhere else in your logic.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2012 03:11:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/geoprocessing-vs-geoprocessor-best-practice-when/m-p/531398#M14340</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2012-08-21T03:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessing Vs Geoprocessor: Best practice, when to use, best suited for, etc.</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/geoprocessing-vs-geoprocessor-best-practice-when/m-p/531399#M14341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I forget which is which, but one is the old geoprocessor class and is still provided for compatibility with previous versions.&amp;nbsp; The one you should be using for new code is the one in which you create an instance of the geoprocessing tool you want to use, set the parameters by accessing properties on that class and then pass the instance of that class into the geoprocessor's Execute method.&amp;nbsp; The old way requires you to fill a property set with the parameters then pass the name of the geoprocessing tool as a string into the Execute method along with the property set.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That makes sense Neil. Thanks!&amp;nbsp; I suspected one of the assemblies might be for backward compatibility. The Geoprocess&lt;/SPAN&gt;&lt;STRONG&gt;or&lt;/STRONG&gt;&lt;SPAN&gt; assembly has the tool &amp;lt;-&amp;gt; class mapping.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2012 10:22:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/geoprocessing-vs-geoprocessor-best-practice-when/m-p/531399#M14341</guid>
      <dc:creator>JohnJackson</dc:creator>
      <dc:date>2012-08-21T10:22:05Z</dc:date>
    </item>
  </channel>
</rss>

