rmartin4

Geometry not returned in AGSQueryTask

Discussion created by rmartin4 on May 25, 2011
Latest reply on May 25, 2011 by rmartin4
Hello,

I am trying to execute an AGSQueryTask with a 'where' clause of 1=1 to retrieve all features. The objects of the resulting AGSFeatureSet have all the right entries in the attributes dictionary, but their geometry is null. Unfortunately I need the geometry (or more specifically, their envelope) in order to display a callout. I tried playing around with the query task sample code and had the same result. Is there something I'm not following?


Thank you in advance,
Robert Martin

Outcomes