Hello,
I want to increase amount of returned records from an AGO service. According to documentation, it should be controlled by maxRecordCount field. The real behavior is different: the layer always returns 4000 records, in accordance with standardMaxRecordCount field. I tried to update this field, but unsuccessfully. What does control max. records in AGO for now?
Thanks!
Solved! Go to Solution.
Hi Michael; if your concern is to increase the number of features that will appear within the map viewer, you can change the maxRecordCountFactor parameter. Please keep in mind that increasing this factor can greatly decrease performance within your webmap and should be used with caution. Details can be found here: Error: Layer did not draw completely because there are too many features to display.
However, if you are trying to export the data from the service, query the data in REST, or display it in ArcMap, this number is still determined by the maxRecordCount.
Did you check How To: Update the maximum record count for feature services in ArcGIS Online?
The number of features displayed in a web map is no longer determined by the maxRecordCount. This article describes how to increase maxRecordCount for querying from REST or for creating a local copy of a service in ArcMap.
Thanks Janita,
I am aware of this article. Do I understand right that I cannot control a number of features displayed for now? AGO will always return 4000 features as set by standardMaxRecordCount? Is there any other way to control this?
Thanks!
Did you try updating standardMaxRecordCount parameter to a higher value?
Yes. It had no effect.
Hi Michael; if your concern is to increase the number of features that will appear within the map viewer, you can change the maxRecordCountFactor parameter. Please keep in mind that increasing this factor can greatly decrease performance within your webmap and should be used with caution. Details can be found here: Error: Layer did not draw completely because there are too many features to display.
However, if you are trying to export the data from the service, query the data in REST, or display it in ArcMap, this number is still determined by the maxRecordCount.
Mary, thanks a lot!
Is there a limit for maxRecordCountFactor? We cannot get more than 5.
Michael, I am not certain that there is a hard limit for the factor, but you'll want to keep in mind that increasing the factor by any amount will greatly affect performance of the webmap.