Feature Request: Closest Feature

1140
4
08-25-2016 05:53 PM
MichaelDavis3
Occasional Contributor III

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?

0 Kudos
4 Replies
DanPatterson_Retired
MVP Emeritus
0 Kudos
DanPatterson_Retired
MVP Emeritus

the power of advertising https://community.esri.com/ideas/12497 

by Anonymous User
Not applicable

You can use network analyst extension tool to calculate all this.

create model in model maker and the GP services.

Closest facility analysis—Help | ArcGIS for Desktop 

MichaelDavis3
Occasional Contributor III

Yes but this cannot be done on the device and requires a network connection.

0 Kudos