Essentially, treat the locations as masses connected by damped springs. Then run what amounts to a physics simulation until the masses no longer move or some specified number of iterations is reached.
For a pre-packaged Perl solution, I've used Graph::Layouter to good effect.
In reply to Re: Distribute locations evenly on a map
by mpeg4codec
in thread Distribute locations evenly on a map
by FloydATC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |