<?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: Is there any limit on number of features a query task returns? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-any-limit-on-number-of-features-a-query/m-p/760021#M70415</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, this is set within the Parameters of the service.&amp;nbsp; Ex:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]24194[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See the following help link &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//0155000003nv000000"&gt;here&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;&lt;STRONG&gt;Maximum number of records returned by the server:&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp; Clients, such as the ArcGIS web APIs, can perform query operations to&amp;nbsp; return specific information, or records, from a map service.&amp;nbsp; This&amp;nbsp; property specifies&amp;nbsp; how many records can be returned by the server to a&amp;nbsp; client for any given query operation.&amp;nbsp; Specifying a large number of&amp;nbsp; records to be returned by the server can slow the performance of client&amp;nbsp; applications consuming your map service, such as web browsers, and your&amp;nbsp; GIS server.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 May 2013 12:44:35 GMT</pubDate>
    <dc:creator>JakeSkinner</dc:creator>
    <dc:date>2013-05-10T12:44:35Z</dc:date>
    <item>
      <title>Is there any limit on number of features a query task returns?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-any-limit-on-number-of-features-a-query/m-p/760020#M70414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Group,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to perform a query task against a feature layer in ArcGISDynamic Layer which contains 36527 features .But When I query the feature layer and count the fatures length ,I see only 1000.My question is does query returns a maximum of 1000 or is it possible that the map REST service layer is set to 1000 records .Because I noticed the same query on map service from the URL returns just 1000.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the code related the query .The queryTask.executeForCount is printing 36527 but I see in only 1000 features after query task exceuted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need the solution very soon.Could anyone help me understand what's going on here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;var layerId = getlayerIdByName("primary_dataset","Active Road Crossings"); &amp;nbsp; var queryTask = new esri.tasks.QueryTask(primaryMapUrl + "/"+layerId); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var query = new esri.tasks.Query(); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query.returnGeometry = false; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query.outFields = ["OBJECTID","ENG_XING"];&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query.where = "1=1" ; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryTask.executeForCount(query,function(count){ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert(count); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },function(error){ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(error); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryTask.execute(query,populateDotXingNumbers);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 12:05:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-any-limit-on-number-of-features-a-query/m-p/760020#M70414</guid>
      <dc:creator>srujand</dc:creator>
      <dc:date>2013-05-10T12:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any limit on number of features a query task returns?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-any-limit-on-number-of-features-a-query/m-p/760021#M70415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, this is set within the Parameters of the service.&amp;nbsp; Ex:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]24194[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See the following help link &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//0155000003nv000000"&gt;here&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;&lt;STRONG&gt;Maximum number of records returned by the server:&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp; Clients, such as the ArcGIS web APIs, can perform query operations to&amp;nbsp; return specific information, or records, from a map service.&amp;nbsp; This&amp;nbsp; property specifies&amp;nbsp; how many records can be returned by the server to a&amp;nbsp; client for any given query operation.&amp;nbsp; Specifying a large number of&amp;nbsp; records to be returned by the server can slow the performance of client&amp;nbsp; applications consuming your map service, such as web browsers, and your&amp;nbsp; GIS server.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 12:44:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-any-limit-on-number-of-features-a-query/m-p/760021#M70415</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2013-05-10T12:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any limit on number of features a query task returns?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-any-limit-on-number-of-features-a-query/m-p/760022#M70416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes, this is set within the Parameters of the service.&amp;nbsp; Ex:&lt;BR /&gt;&lt;BR /&gt;[ATTACH=CONFIG]24194[/ATTACH]&lt;BR /&gt;&lt;BR /&gt;See the following help link &lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/main/10.1/index.html#//0155000003nv000000" rel="nofollow" target="_blank"&gt;here&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;&lt;STRONG&gt;Maximum number of records returned by the server:&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp; Clients, such as the ArcGIS web APIs, can perform query operations to&amp;nbsp; return specific information, or records, from a map service.&amp;nbsp; This&amp;nbsp; property specifies&amp;nbsp; how many records can be returned by the server to a&amp;nbsp; client for any given query operation.&amp;nbsp; Specifying a large number of&amp;nbsp; records to be returned by the server can slow the performance of client&amp;nbsp; applications consuming your map service, such as web browsers, and your&amp;nbsp; GIS server.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Awesome!!! That was very helpful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;From which tool is that screen shot from ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 12:51:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-any-limit-on-number-of-features-a-query/m-p/760022#M70416</guid>
      <dc:creator>srujand</dc:creator>
      <dc:date>2013-05-10T12:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any limit on number of features a query task returns?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-any-limit-on-number-of-features-a-query/m-p/760023#M70417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That screen shot is from when you are publishing a map service at 10.1.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 13:18:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-any-limit-on-number-of-features-a-query/m-p/760023#M70417</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2013-05-10T13:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any limit on number of features a query task returns?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-any-limit-on-number-of-features-a-query/m-p/760024#M70418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;That screen shot is from when you are publishing a map service at 10.1.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; Thanks A lot!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 13:23:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-any-limit-on-number-of-features-a-query/m-p/760024#M70418</guid>
      <dc:creator>srujand</dc:creator>
      <dc:date>2013-05-10T13:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any limit on number of features a query task returns?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-any-limit-on-number-of-features-a-query/m-p/760025#M70419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jake,&lt;/P&gt;&lt;P&gt;When I go change the number to 2000 or higher, while publishing the map service, I am getting this error, do you know how I can fix this?&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="106020" alt="ScriptError.PNG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/106020_ScriptError.PNG" style="width: 620px; height: 263px;" /&gt;&lt;/P&gt;&lt;P&gt;I asked a question this morning in the forum, because I am not getting an accurate result when the selected features are more than 1000 within the buffer distance, here :&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/message/524454"&gt;Re: Selected features within a buffer not getting accurate results&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 22:17:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-any-limit-on-number-of-features-a-query/m-p/760025#M70419</guid>
      <dc:creator>JssrRR</dc:creator>
      <dc:date>2015-06-02T22:17:39Z</dc:date>
    </item>
  </channel>
</rss>

