AnsweredAssumed Answered

How to get the features from the feature table using geometry.

Question asked by murugha23 on Aug 9, 2018
Latest reply on Aug 9, 2018 by NFurness-esristaff

I have tried to get the features from the feature table using `AGSQueryparameter` by applying a geometry (AGSPolyLine). But it returns empty `AGSFeatureQueryResult`. How can i get the features here.

 

code:

AGSQueryParameters* query = [AGSQueryParameters queryParameters];

[query setGeometry:geometry];

[query setReturnGeometry:YES];

 

// fetching features from AGSArcGISFeatureTable

 

[featueTable queryFeaturesWithParameters:query completion:^(AGSFeatureQueryResult * _Nullable result, NSError * _Nullable error) {

 

//empty results here

 

}];

Outcomes