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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.