Select to view content in your preferred language

Layers in Extent

1512
11
11-16-2011 02:00 PM
HeathClark
New Contributor III
Is there a way to get the layerIds of a Dynamic service that are only within a particular map.extent?
0 Kudos
11 Replies
HeathClark
New Contributor III
After discussing with a few other people, the purpose of providing an extent, height, width and dpi is so that the map service can determine the current map scale. Once the scale is known, the map service can exclude layers based on their scale dependency settings. The map service is not doing a spatial intersection based on the extent that's provided to exclude layers from the identify operation.

Glad you were able to come up with a solution to get your identify time down to something relatively reasonable. For future reference, when you have hundreds of layers you need to serve, the Esri recommendation is to use multiple map services with the number of layers in a map service to something smaller, say...less than 100. Preferably less than 50.


Thanks for "documentation" on what the identifyParameter.mapExtent is really doing.  Could that explanation be included in the Class: IdentifyParameters API Reference?  What is currently in the documentation is not clear on that point (hence this thread).
0 Kudos
derekswingley1
Frequent Contributor II
Could that explanation be included in the Class: IdentifyParameters API Reference?  What is currently in the documentation is not clear on that point (hence this thread).


Yes, I'll get it in the documentation but the change probably won't roll out for a week or two.
0 Kudos