Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Distance Meaning #7

Open
minh5 opened this issue Sep 8, 2016 · 1 comment
Open

Distance Meaning #7

minh5 opened this issue Sep 8, 2016 · 1 comment

Comments

@minh5
Copy link

minh5 commented Sep 8, 2016

Thanks for this neat tool! Im curious, what is the meaning of the distance? For instance, what does it mean to have a cluster distance of 0.0005, does this mean that the cluster is 5 miles or that mean that points within .0005 miles will constitute a cluster?

@kaotika
Copy link
Member

kaotika commented Sep 8, 2016

The distance depends on the used reference system.

For metrical systems the real distance is calculated as cluster_distance * pixel_size_in_m at given scale. For EPSG:3857 at TMS scale level 10 (1:607.883) you have a pixel size of 152.87m. So real distance (cluster_distance = 50) ist 7643.5m. So the clusters are around (not exactly!) 7.5km away.

For lat/lon systems the distance is given in degrees. The real distance depends on where you're data is located on earth.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants