-
Notifications
You must be signed in to change notification settings - Fork 121
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
calculate center and radius of polygon? #152
Comments
Would be useful to have a |
Is this ever implemented or how did you solve this? I am searching for similar solution i think, i need to know if a car is inside the geofence/radius of an address? |
Is it possible / are there plans to keep track of the center and radius of a polygon?
My use case:
For this I need to calculate the weighted center of the current polygon (not: average of the bounding box) and the radius of the coordinates.
Bonus points when average is calculated by keeping track of the sums of x/y/z (and dividing by number of coordinates) instead of calculating/adding all x/y/z's when center is calculated.
The text was updated successfully, but these errors were encountered: