Select to view content in your preferred language

What does control max records returned by service: standardMaxRecord or maxRecordCount?

1971
7
Jump to solution
02-06-2017 05:40 AM
MichaelGinzburg
Frequent Contributor

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!

0 Kudos
1 Solution

Accepted Solutions
MaryLong
Esri Contributor

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.

View solution in original post

7 Replies
JayantaPoddar
MVP Esteemed Contributor

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.



Think Location
MichaelGinzburg
Frequent Contributor

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!

0 Kudos
JayantaPoddar
MVP Esteemed Contributor

Did you try updating standardMaxRecordCount parameter to a higher value?



Think Location
0 Kudos
MichaelGinzburg
Frequent Contributor

Yes. It had no effect.

0 Kudos
MaryLong
Esri Contributor

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.

MichaelGinzburg
Frequent Contributor

Mary, thanks a lot!

Is there a limit for maxRecordCountFactor? We cannot get more than 5.

0 Kudos
MaryLong
Esri Contributor

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.

0 Kudos