convert radians to decimal degrees

3393
6
Jump to solution
04-12-2017 09:22 AM
CelesteWalz
Occasional Contributor

I Have an export from an app that gives me location in radians. Is there a simple way to convert to decimal degrees? I would like to be able to import into arcmap.

Sample:

TimeStampLatLongElevationSpeed
4/12/17 12:54:40-1.68776740.57753701842.6
4/12/17 12:54:50-1.68776890.57753321822.3
4/12/17 12:55:00-1.68776940.57752961812.3
4/12/17 12:55:10-1.68776850.57752741820.0
0 Kudos
1 Solution

Accepted Solutions
DanPatterson_Retired
MVP Emeritus

math.degrees(-1.6877674)
-96.70194881976822

In the field calculator, if this looks about right

View solution in original post

6 Replies
DanPatterson_Retired
MVP Emeritus

math.degrees(-1.6877674)
-96.70194881976822

In the field calculator, if this looks about right

CelesteWalz
Occasional Contributor

Thank you! Worked great. I can't believe in my searching that didn't come up as a function, but I'm not familiar with Python so I'm sure it was operator error.

0 Kudos
DanPatterson_Retired
MVP Emeritus

buried in the help files, but useful links there are  Python is the language of the present and future since vb has been removed in PRO

CelesteWalz
Occasional Contributor

Bookmarked. And I guess I'll have to learn some Python. Thanks again.

0 Kudos
DarrenWiens2
MVP Honored Contributor

Dan's solution is correct, and what I use myself, but I just want to point out that degrees, whether lat/long or the same old degrees you remember from sixth grade math class (e.g. the angle in a wedge-shaped object) they are the same thing. The formula to convert radians to degrees, no matter what language you write, is: radians * 180/pi

CelesteWalz
Occasional Contributor

Let's just say it has been a LOOONNGG time since I took 6th grade math! 🙂  

Thanks for the formula, though - I've put it my notes for next time.