Select to view content in your preferred language

Maxed out Query Results

979
3
Jump to solution
07-25-2012 06:44 AM
ChrisCyphers
Occasional Contributor
I???m working with data that has several thousand features.  When using a the query widget and doing a query on those features based on a particular field, the result seems to max out at 1000 features and excludes several that I know should be part of the result.  Has anyone else run into this kind of problem?  If so how were you able to overcome the problem.
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
AnthonyGiles
Honored Contributor
Chris,

This may be related to the Maximum Record Count setting on the service. Is this your own service you have access to? If so, you can change it in the service configuration file, should be in the server folder in program directory, i.e in server 9:
C:\Program Files\ArcGIS\server\user\cfg\myService.cfg
Look for this tag in the .cfg file and update it, then save and restart the ArcGIS Server Object Manager service
<MaxRecordCount>1000</MaxRecordCount>
If you're using AGS Server 10, the above file will be in the 'Server10.0' directory, vs 'server' folder. Also, in Server 10 this option is now available via service properties in ArcCatalog, go to the properties of the service, then the 'Parameters' tab, then set 'Maximum Number of records returned by Server' to whatever you need and restart.

Regards

Anthony

View solution in original post

0 Kudos
3 Replies
AnthonyGiles
Honored Contributor
Chris,

This may be related to the Maximum Record Count setting on the service. Is this your own service you have access to? If so, you can change it in the service configuration file, should be in the server folder in program directory, i.e in server 9:
C:\Program Files\ArcGIS\server\user\cfg\myService.cfg
Look for this tag in the .cfg file and update it, then save and restart the ArcGIS Server Object Manager service
<MaxRecordCount>1000</MaxRecordCount>
If you're using AGS Server 10, the above file will be in the 'Server10.0' directory, vs 'server' folder. Also, in Server 10 this option is now available via service properties in ArcCatalog, go to the properties of the service, then the 'Parameters' tab, then set 'Maximum Number of records returned by Server' to whatever you need and restart.

Regards

Anthony
0 Kudos
ChrisCyphers
Occasional Contributor
Anthony,

Thanks for the response.  Our admistrator was able to change the Maximum Number of Records Returned by Server count and it gave me the result I wanted.  Just slows performance so now we need to develop a workaround for that as well.

Thanks again!
Chris
0 Kudos
BjornSvensson
Esri Regular Contributor
Another option you might want to consider is adding it as a layer, either as an individual layer or as part of a map service.  In both cases you can create popups for it so that users can click on them for more information.
0 Kudos