AnsweredAssumed Answered

Feature Request: Closest Feature

Question asked by mikedmanak on Aug 25, 2016
Latest reply on Aug 30, 2016 by mikedmanak

Any chance we could get an additional capability in the SDK to return the closest feature in a AGSGDBFeatureTable for a given point?


Right now the only way I can figure out to do this is to do a measure to every feature and find the shortest distance.  This is rather expensive, especially if you are working with a large address point layer or roadway stations.  


Things can be more efficient by first creating a buffer of X distance from your location, selecting all points within the buffer, then calculating the closest feature from that subset... but it's still a rather complex undertaking for something that is pretty standard fare for GIS.


Also - what's up with the Quartz Beta?  Any update on when that bad boy might be ready for production?