This application performs k Nearest Neighbor clustering to find clusters in geospatial data. For more information on k Nearest Neighbor clustering, please click here.
Clustering Tool
Step 1
Click the "Choose File" button and navigate to a csv file that contains at the minimum a latitude or Y column, a longitude or X column, and a value column.
![](styles/helpimages/cl_step1.png)
A popup will appear. Choose the column for the latitude, longitude, and value that you wish to map and click "Ok".
![](styles/helpimages/cl_step1B.png)
Your points should be mapped. To view the value for each point, click on it.
![](styles/helpimages/cl_step1C.png)
Step 2
Click "Calculate" and a popup will appear. Enter the number of clusters you wish to calculate (between 2 and 10). The application may return fewer clusters than requested if the data does not support the requested number of clusters. Click "Compute Clusters".
![](styles/helpimages/cl_step2.png)
Results
After a short time, the map should display your clustered layer. Each color represents a different cluster. You can clear the map to begin with a new dataset by clicking the "Clear" button.
![](styles/helpimages/cl_results.png)
Legend
The legend will automatically populate after you calculate clusters in your data.
![](styles/helpimages/cl_legend.png)
Basemap picker
Click the basemap button to toggle between the topographic basemap and a satellite imagery basemap.
![](styles/helpimages/basemap.png)