Re: [R] random uniform sample of points on an ellipsoid (e.g. WGS84)

2007-02-22 Thread Roger Bivand
On 21 Feb 2007, Russell Senior wrote: I am interested in making a random sample from a uniform distribution of points over the surface of the earth, using the WGS84 ellipsoid as a model for the earth. I know how to do this for a sphere, but would like to do better. I can supply random

[R] random uniform sample of points on an ellipsoid (e.g. WGS84)

2007-02-21 Thread Russell Senior
I am interested in making a random sample from a uniform distribution of points over the surface of the earth, using the WGS84 ellipsoid as a model for the earth. I know how to do this for a sphere, but would like to do better. I can supply random numbers, want latitude longitude pairs out.