I have 30 points showing locations of petrol filling stations. I want to know the average distance of all the filling station to each other.

What tool can I use in ArcGIS Desktop?

closed as unclear what you're asking by PolyGeo Apr 14 '18 at 21:42

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Qgis distance matrix calculate all distance between all features of your layer and can give you as output the average/standard deviation/min/max values if you choose this option. What are you don't understand on this output ? – Hugo Roussaffa - GeoDatup Oct 22 '17 at 7:47
  • If you wish to also ask about QGIS please do that in a separate question. – PolyGeo Oct 22 '17 at 8:21
  • Are the points in the same feature class? – PolyGeo Oct 22 '17 at 8:26
  • Yea they are on thesame feature – tplshams Oct 22 '17 at 8:30
  • 1
    What type of distance, euclidean distance (as the crow flies) or network distance (along roads)? – Fezter Oct 22 '17 at 23:57

Up to ArcGIS 10.1 (which I use), there is a Near Tool that may allow you to accomplish what you are after. Please note that it seems to have been modified in more recent versions. This is the link to the Tool as of version 9 (http://webhelp.esri.com/arcgisdesktop/9.2/index.cfm?id=1111&pid=1107&topicname=Near_%28Analysis%29). If you feed your point shapefile both as input and near feature, for each point ArcGIS will calculate the distance to the nearest point and will report this in the attribute table. Then, you can use the distance field in the attribute table to calculate any statistic you are interested in (e.g., min, max, average).

  • 1
    While the OP didn't specify network distance, it's worth pointing out that the distance calculated by the Near Tool is euclidean distance and not distance along the roads. – Fezter Oct 22 '17 at 23:56

Not the answer you're looking for? Browse other questions tagged or ask your own question.