HowTo:  Update the maximum record count for feature services in ArcGIS Online

相关信息
Article ID: 44060
Software:
ArcGIS Online Current
Platforms: N/A

问题描述
The MaxRecordCount property is used to define how many features can be accessed when drawing and querying data in a hosted feature service, or when creating a local copy of a hosted feature service for use with ArcMap.

The default MaxRecordCount value is 1000. Therefore, when uploading a file to a web map, there is a limit of 1000 features. This is to ensure feature services are managed efficiently.

If the user must query and display more than 1000 feature services in ArcGIS Online, the feature services maximum number of records in the REST endpoint can be changed by increasing the MaxRecordCount value.


Increasing the value impacts performance if there is a large amount of data added to a web map. Hence, querying and displaying data from the web map may take a significant amount of time.

The instructions provided describe how to update or change the maximum number of records of feature services in the REST endpoint in ArcGIS Online.


Users may have to visit each layer to update the parameter if there are multiple layers in the service.

已邀请:

易智瑞技术支持

赞同来自:

解决方案
  1. Log in to www.arcgis.com with administrator credentials.
  2. Click My Content, and navigate to the intended feature service. Open the feature service.[*]In the item details page of the feature service, click the hyperlink under 'Layers'. The ArcGIS REST Services Directory page opens. 
  3. Modify the URL to the one displayed below, appending admin to the end of the URL and deleting the rest of the URL to the service: http://services.arcgis.com/xxxx/ArcGIS/admin
  4. Click Services and find the intended service.
  5. Click the service name. The URL becomes: http://services.arcgis.com/xxx ... erver
  6. Scroll to the bottom of the page, and click Update Definition.[*]Search for the maxRecordCount parameter (Press 'Ctrl' + 'F' and search for 'maxRecordCount'). Change all the default values of 1000 to the number of desired features records to display.
  7. Click Update Service Definition.
  8. Go back to the 'My Content' page and open the feature service in a new web map. All features beyond 1000 are now displayed as desired.


其它相关参考
  1. ArcGIS REST API Help: Update Definition (Feature Service)
  2. ArcGIS REST API Help: Update Definition (Feature Layer)
  3. FAQ: Is there a feature limit in ArcGIS Online
  4. Error: Layer did not draw completely because there are too many features to display


创建及修改时间
Created: 2/10/2015

Last Modified: 2/20/2015
原文链接
http://support.esri.com/en/kno ... 44060

要回复问题请先登录注册