Esri / geoservices-ruby

Ruby library for interacting with Geoservices
Apache License 2.0
12 stars 17 forks source link

adds test and support for getting count for Server version 10.0 #4

Closed dmfenton closed 9 years ago

dmfenton commented 9 years ago

Fall back to requesting all the object IDs and counting them up if the server doesn't support returnCountOnly.

Resolves https://github.com/ArcGIS/composer/issues/6981

dmfenton commented 9 years ago

ping @ajturner

dmfenton commented 9 years ago

ping @ajturner

ajturner commented 9 years ago

So does <10.1 not have currentVersion ?

dmfenton commented 9 years ago

It's only on the root services homepage and not on the map server or services pages.

http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/

brooksjbr commented 9 years ago

@ajturner @dmfenton What's happening with PR? It's listed as a fix for #6981.

dmfenton commented 9 years ago

Just waiting on @ajturner to bless it.

dmfenton commented 9 years ago

So does <10.1 not have currentVersion ?

This was added to all resources at 10.0 SP1 as was the return count only option, so the check I'm doing is valid. image http://resources.arcgis.com/en/help/rest/apiref/