<?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 Max number of features in an input FeatureSet? in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/max-number-of-features-in-an-input-featureset/m-p/715348#M27275</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have a geoprocessing service with the following signature: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Parameter: Features 
Data Type: GPMultiValue:GPFeatureRecordSetLayer 
Display Name Features 
Description: Input feature set. 
Direction: esriGPParameterDirectionInput 
Default Value: 
Parameter Type: esriGPParameterTypeRequired 
Category: 

Parameter: Output 
Data Type: GPDataFile 
Display Name Output 
Description: 
Direction: esriGPParameterDirectionOutput 
Default Value: 
Parameter Type: esriGPParameterTypeDerived 
Category: &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This GP service converts all the FeatureSets in the input to one shapefile.&amp;nbsp; The actual Python code for the service is dead-simple:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;import sys, os, arcpy

features = arcpy.GetParameter(0)
output = os.path.join(arcpy.env.scratchWorkspace, "ssexport.shp")&amp;nbsp;&amp;nbsp;&amp;nbsp; 
arcpy.CopyFeatures_management(features, output)&amp;nbsp;&amp;nbsp;&amp;nbsp; 
arcpy.SetParameter(1, output)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are calling this service with an array of one FeatureSet. That FeatureSet has N features.&amp;nbsp; The service runs properly when N &amp;lt;= 2000, but when the number of features in the FeatureSet exceeds 2000, the GP script fails with "The workspace is not connected."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There seems to be a limit of 2000 on the number of features in an input feature set.&amp;nbsp; Note that this IS NOT the well-known 1000 feature output limit.&amp;nbsp; Our research in the docs and online reveals no mention of such an input limit, and our careful search of the entire ArcGIS Server configuration directory reveals no server setting for this input limit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone speak to the existence of this limit and suggest a way to change or circumvent it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks - &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Todd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Apr 2014 15:30:01 GMT</pubDate>
    <dc:creator>ToddBryan</dc:creator>
    <dc:date>2014-04-11T15:30:01Z</dc:date>
    <item>
      <title>Max number of features in an input FeatureSet?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/max-number-of-features-in-an-input-featureset/m-p/715348#M27275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have a geoprocessing service with the following signature: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Parameter: Features 
Data Type: GPMultiValue:GPFeatureRecordSetLayer 
Display Name Features 
Description: Input feature set. 
Direction: esriGPParameterDirectionInput 
Default Value: 
Parameter Type: esriGPParameterTypeRequired 
Category: 

Parameter: Output 
Data Type: GPDataFile 
Display Name Output 
Description: 
Direction: esriGPParameterDirectionOutput 
Default Value: 
Parameter Type: esriGPParameterTypeDerived 
Category: &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This GP service converts all the FeatureSets in the input to one shapefile.&amp;nbsp; The actual Python code for the service is dead-simple:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;import sys, os, arcpy

features = arcpy.GetParameter(0)
output = os.path.join(arcpy.env.scratchWorkspace, "ssexport.shp")&amp;nbsp;&amp;nbsp;&amp;nbsp; 
arcpy.CopyFeatures_management(features, output)&amp;nbsp;&amp;nbsp;&amp;nbsp; 
arcpy.SetParameter(1, output)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are calling this service with an array of one FeatureSet. That FeatureSet has N features.&amp;nbsp; The service runs properly when N &amp;lt;= 2000, but when the number of features in the FeatureSet exceeds 2000, the GP script fails with "The workspace is not connected."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There seems to be a limit of 2000 on the number of features in an input feature set.&amp;nbsp; Note that this IS NOT the well-known 1000 feature output limit.&amp;nbsp; Our research in the docs and online reveals no mention of such an input limit, and our careful search of the entire ArcGIS Server configuration directory reveals no server setting for this input limit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone speak to the existence of this limit and suggest a way to change or circumvent it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks - &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Todd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 15:30:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/max-number-of-features-in-an-input-featureset/m-p/715348#M27275</guid>
      <dc:creator>ToddBryan</dc:creator>
      <dc:date>2014-04-11T15:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Max number of features in an input FeatureSet?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/max-number-of-features-in-an-input-featureset/m-p/715349#M27276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just in case someone else also visits this page: A few days ago I had the very same problem and it turned out to be a bug in ArcGIS Server, still present in 10.5.1.&lt;BR /&gt;Esri Inc. now records this as&lt;/P&gt;&lt;P&gt;BUG-000107968 -- &lt;SPAN style="font-size: 12.0pt;"&gt;Running geoprocessing service with more than 2000 output features causes geoprocessing failure with the error message "The workspace is not connected"&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that the text is not completely correct: It's the number of input features – not the number of output features – that causes problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 07:49:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/max-number-of-features-in-an-input-featureset/m-p/715349#M27276</guid>
      <dc:creator>RalfSchmidt</dc:creator>
      <dc:date>2017-09-13T07:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Max number of features in an input FeatureSet?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/max-number-of-features-in-an-input-featureset/m-p/715350#M27277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I converted the thread from a discussion to a question, which typically gets more views/response.&amp;nbsp; I will mark Ralf's answer as the correct answer since he listed the bug (and it still exists).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/trbryan"&gt;trbryan&lt;/A&gt;&amp;nbsp;&amp;nbsp; if you are still having issues and/or found a workaround, a summary would be helpful for others (and you can change the correct-answer selection if needed).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 15:24:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/max-number-of-features-in-an-input-featureset/m-p/715350#M27277</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2017-09-13T15:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Max number of features in an input FeatureSet?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/max-number-of-features-in-an-input-featureset/m-p/715351#M27278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you running this through REST or SOAP? &amp;nbsp;The bug details seem to imply that REST works, but SOAP is the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 21:23:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/max-number-of-features-in-an-input-featureset/m-p/715351#M27278</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2017-09-13T21:23:42Z</dc:date>
    </item>
  </channel>
</rss>

