Increase the number of query return values for the arcgis layer (default 1000)

1. When querying layers, each layer is limited to the number of records returned by the query by default (1000 records). How to increase the number of returned records?

After searching online for a long time, I found these:

  Finally, according to the map, I found that there is a path in the ArcGIS Server installation directory: "C:\Program Files\ArcGIS\server\user\cfg" ( when ArcGIS Server is installed on the C drive by default ), there is a config file for the published map file. . If the map name is argc, the file name is argc.MapServer.ctg . After modifying the value of the <MaxRecordCount></MaxRecordCount> node in this file, restart the ArcGIS Server Object Manager service.

In the end, I didn't find any of these

2、

 

Finally decided to do it myself

Open arcmap - find the layer server to publish the service - right click on the layer you are looking for - parameters

There is a server that returns the maximum value, you can change it to 10000 (depending on the situation), then click OK


Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326832774&siteId=291194637