Is there any direct way to cluster points having co-ordinates using DBSCAN algorithm?

Viewed 25

These are my latitude longitude:

enter image description here

Can someone help me in clustering these points? Python code I am using is:

dbscan=DBSCAN(eps=.2/6371.,min_samples=2,metric='haversine')
model=dbscan.fit(np.radians(df2))

But it's giving only one cluster.

0 Answers
Related