GEOSTATS: Lat long to Rectangular
- There is a quick and dirty method for converting the lat long values into
a metric rectangular coordinate system. This should be allright for a
small area but you might want to check the resutls carefully. I've only
used this for quick exploratory means:
latitude (a) [in degress]
longitude (b) [in degrees]
r is the radius of the earth which in KM is appx.6375 km
x = r cos(a) cos (b)
y = r cos(a) sin (b)
z = r sin(a)
x,y,z will be in the units of r.
As I said this is a fast way to get to a rectangular system but probably
is not the best.
If you find a better way please let me know as I have been looking for a
proper way to project my own data without resorting to the above, which
works well for exploratory analysis but is not proper (doesn't take
into account the fact that the earth is not a perfect sphere)
*To post a message to the list, send it to ai-geostats@....
*As a general service to list users, please remember to post a summary
of any useful responses to your questions.
*To unsubscribe, send email to majordomo@... with no subject and
"unsubscribe ai-geostats" in the message body.
DO NOT SEND Subscribe/Unsubscribe requests to the list!