Is there already a method/tool that can take X geopoints and equally put
them into Y regions ? i.e. 17 geopoints into 6 regions { 5 regions would
contain 3 points, 6th region contain 2 }. There is no constraint to the
area of the region.

If not I plan to write my own method:
1. Find weighted center of all geopoints
2. Create a circle that encompasses all geopoints
3. Create a pie shape from that circle, increase/decrease the size until it
contains desired amount of points.
4. Continue creating pie shapes until there are no more datapoints left.

Would there be any road blockers to implementing this method ? Is there any
sample code I can utilize to bootstrap this project ?

Thanks for any advice.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to