Quote:
Originally Posted by siva.guduru
hello,
Thank you for all your replies...
Now if i want to convert two locations as two cordinates on screen how can i do that... supposee there is a location which i want o convert in to X and Y coordinates of screen to represetn on screen (x,y), is there any way i can do that.
I have a vague idea suppose if we have a Latitude if we can take some Cos and Sin values thani think we weill get some coordinate value but what about longitude then how can we go about longitude... where should we incorporate longitude in calculating the coordinate information.
Any Help regarding this would be of great use for me...
Thanks & Regards,
Siva Charan Guduru.
|
Simple, your Latitude is the Y coordinate, and the Longitude is the X coordinate. That is absolutely correct, if you assume the earth is flat. The assumption is reasonable unless:
- You are near the poles
- The two points are far from each other, eg a few thousand km
Once you have the two points, scale correctly.