How can I get an array of the features IDs founded by a query?
For example, I want to find an array that contains the OBJECTIDs for all the features in the feature class using this where-statement “OBJECTID >=1”
I used queryIds() method, which returns a Future contains the wanted IDs array, but I cannot extract this array from the Future.
How can I get this array?
Thank you and Best Regards,
Hani
Hi Hani,
Good question.
Could you use getSelectionIDs() on FeatureLayer? This returns an array of ids.
FeatureLayer | ArcGIS Android 10.2.5 API
Would this work for you?