[R] random uniform sample of points on an ellipsoid (e.g. WGS84)
Roger Bivand
Roger.Bivand at nhh.no
Thu Feb 22 13:15:15 CET 2007
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 numbers, want latitude
> longitude pairs out.
>
> Can anyone point me at a solution? Thanks very much.
>
http://www.csit.fsu.edu/~burkardt/f_src/random_data/random_data.html
looks promising, untried.
>
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no
More information about the R-help
mailing list