mapping - Converting from longitude\latitude to Cartesian coordinates -


I have some earth-centric coordinate points, which are given as latitude and longitude ().

How can I convert them to the Cartesian coordinates (X, Y, Z) with origin in the center of the Earth?

I have recently done something like "Harvison Formula" on WGS-84 data , Which is derived as "the method of Hawrance" with very satisfactory results. Yes, WGS-84 assumes that the Earth is an ellipse, but I believe that you get an average error of 0.5% using an approach like "Harsin Formula", which can be an acceptable amount error Is your case As long as you are not talking about the distance of some feet and still the earth is theoretically curved, you will also get some error ... If you check the more stringent WGS-84 compatible approach "Vincenti Formula " is needed.

I understand where STAR is coming from, but good software engineering is often about the trade off, so it all depends on the accuracy of your Required for For example, "Manhattan Diesel Formula" can be calculated from the "distance formula" as compared to the result, may be better for some situations because it is computational less expensive. Think "which point is closest?" In scenarios, you do not need accurate distance measurements. In relation to this, implementing "Horsine Formula" is easy and it is good because it uses "circular trigonometry" instead of "cosine law" based approach which is based on two-dimensional trigonometry. So, you get a good balance of accuracy from complexity.

Gentleman by the name of Chris Wayne There is a great website on it that tells you some concepts of concepts and shows different programmatic deployment; In this form, your X / Y conversion question should also be answered.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -