adjones

GeometryService Buffer action on many features (through JSAPI)

Discussion created by adjones on Sep 7, 2010
Latest reply on Sep 8, 2010 by khutchins-esristaff
I am using the JSAPI to call the GeometryService over REST and return a buffer of many features (0-200). The features are generally very simple polygons (4-10 verticies) but some could have 100 or so.  It seems to be ok for up to about 25 features but the wait time then gets exponentially longer as more features are added.  The XHR call for the GeometryService timesout at 1 minute which basically rules using this out for more than 80 features.

I understand that these geometry actions can be intensive but this seems excessive.  I have a similar action in a WebADF app which can buffer hundreds of features in around 5-10 seconds and update the map so surely the server can handle this kind of request easily?

Are there any guidelines available on the best way to use the GeometryService and its limitations in terms of request sizes?

Just to clarify, I am using a proxy page and JSAPI v1.5.

Any help would be appreciated as my bosses are not too impressed that the 6 year old ArcIMS app this is replacing can do it faster!

Outcomes