Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Convert Latitude / Longitude in Degree/Radians?

How can i convert Latitude and longitude in degree/radians? Do you guys any formula or any idea? I want to show it on MapKit. Thanks.....

like image 551
Umair_uas Avatar asked Apr 13 '12 11:04

Umair_uas


People also ask

Is latitude and longitude in degrees or radians?

Longitude is expressed as -180 degrees (-pi radians) to 180 degrees (pi radians) with 0 degrees centered at the prime meridian. Latitude is expressed as -90 degrees (-pi/2 radians) to 90 degrees (pi/2 radians) with respect to the equator.

How do you convert degrees to radians?

To convert the value of the angle in degree, to its equivalent radians, we need to multiply the given value with π/180. For example, the value of 180 degrees is π in radians.

How many radians is 360 in 180 degrees?

Trigonometry Examples To convert degrees to radians, multiply by π180° π 180 ° , since a full circle is 360° or 2π radians.


1 Answers

Since Latitude and Longitude are measured in degrees, you can use the following formula to convert to radians, and back to degrees:

Radians = Degrees * PI / 180

and on the inverse,

Degrees = Radians * 180 / PI
like image 174
George Johnston Avatar answered Oct 11 '22 19:10

George Johnston