Programming the statistical procedures from SAS

Clustering locations based on distance

Occasional Learner
Posts: 1

Clustering locations based on distance

I have a simple data set with 3 fields - location name, latitude, and longitude.  I have about 1,100 locations and want to cluster them into regions of about 15-16 locations each.  The furthest distance I want to allow between any 2 locations within a region is 30 miles.  What is my best approach to solving this problem?

Esteemed Advisor
Posts: 5,524

Re: Clustering locations based on distance

One way is to convert the lat-long to UTM coordinates and use euclidian distance for clustering (the distance between UTM coordinates approximates the local distance in meters).


To do the conversion, look at

Ask a Question
Discussion stats
  • 1 reply
  • 2 in conversation