go-point-clustering
go-point-clustering copied to clipboard
Question: Task suitability
I have a list of points collected from cs:go maps. In general, maps are limited and flat areas with a few hundred meters. I want to cluster these points. Is the implementation suitable for the use of the purpose described above (I used X = Longitude, Y = Latitude)?
If points have longitude and latitude, then yep.
If they are more of flat areas with X, Y, you would probably need to redefine how distance is calculated: sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2))