Skip to main content
edited tags
Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345
Source Link
Irene
  • 1.3k
  • 1
  • 14
  • 25

How to select all remaining features after a Layer Definition filtering?

I have a map service that represents the World map with a table with population associated. I would like to filter some of the data matching a criteria and then, select ALL remaining features to work with them later, for instance, adding all them to an array.

For example, I can solve the first part of the problem if I create an ArcGIS Dynamic Map Service and apply a Layer Definition filtering to obtain a subset, like filtering countries with an population bigger/smaller than a threshold.

But, once I see on the screen my filtered map, how can I select all remaining features?

Does anyone know? Any Feature Layer magic?

Thanks for your help!