Programing Problem: Decimalize Latitude Longitude
Last year, i ran a elisp exercise but i got busy and never gave answer. Let's do this again. Here's the problem
Write a function “latitude-longitude-decimalize”.
It should take a string like this:
"37°26′36.42″N 06°15′14.28″W". The return value should be a pair of numbers, like this:
Feel free to use perl, python, ruby, etc. I'll be posting a solution in emacs lisp in 2 days.
Kurt's site is down at the moment. Here's a temp site for his python code: Source pastebin.com
• Jon Snader (jcs)'s solution in elisp + CL package, @ Source irreal.org
• Kurt's solution, Python, @ Source pastebin.com
• Mickey Petersen's solution, using emacs calc + elisp, @ Source www.masteringemacs.org
• Ian Kelly. Python 3. @ Source groups.google.com
will write a blog collecting the solutions and summery, and my clunky elisp solution this weekend.