Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm developing geoprocessing service which do few processes with geographic data. I would like to get somehow geometry of those data and use it in my web aplication (JS ArcGIS API). Now I'm wondering how to (with best performance) return geometry from service to my application? Now I'm trying manually access to feature geometry, and while iterating throught it I'm concatenate it's coordinates to string. It is very slow method, because I've got about 60-90k vertex (avg) on polygon so concatenating it is taking to much of time. Can anyone see other possibilities to return geometry of features from service to JS with better performance?

share|improve this question
up vote 1 down vote accepted

So is there a reason why you are trying to return the coordinates as a string instead of returning the data as is? The output of your geoprocessing tasks should be returned as features without issue. Can you simplify the polygon features so you do not have so many vertices.

This is a link to esri's general performance tips, it is down near the bottom concerning lines and polygons:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.