Understanding differing Max Record Counts

3263
2
Jump to solution
05-13-2016 08:34 AM
james-rae
New Contributor III

Hello.  I'm looking for some clarification on an ArcGIS Server situation I've come across.

This Map Server has a Max Record Count of 5

However, a Feature Layer endpoint in that service shows a Max Record Count of 1000

If you query the Feature Layer endpoint, the max of 5 from the Map Server is used, essentially making the Max Count provided by the Feature Layer incorrect.

Embedded linking is failing, raw is truncating, so this is the query URL over two lines: 

http://www.agr.gc.ca/atlas/rest/services/mapservices/aafc_census_of_agriculture_2011_ccs/MapServer/0...

where=1%3D1&outFields=FID&returnGeometry=false&f=pjson

It's unfortunate it appears I need to make a separate service call to determine the correct Max Record Count.

Am curious if this is the correct behavior for the Max Record Count property.

Also, this is a 10.11 server, has this been changed or corrected in newer versions?  I'd like my code to work correctly for as many cases as possible.  I don't have a newer server at my disposal to check with.

And of course, if anyone knows a better workaround then quering the Map Server root, please share.

Thanks

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
BillDaigle
Occasional Contributor III

What you're seeing is a documented bug at 10.1.  Looks like it was fixed at 10.2.

NIM086485 - Changes made in the Maximum number of records retu..

View solution in original post

0 Kudos
2 Replies
BillDaigle
Occasional Contributor III

What you're seeing is a documented bug at 10.1.  Looks like it was fixed at 10.2.

NIM086485 - Changes made in the Maximum number of records retu..

0 Kudos
james-rae
New Contributor III

Thank you Bill.  Exactly the information I was hunting for.

0 Kudos