Hi All,

Thanks in advance for taking time to look into this,

One of my client requirement is having a roadmap/location tour video in google earth to his location, I have figured out, i can do it with the help of KML, Though i suck at programming, i understood the possible ways of working on KML.

Now the issue is, i am not able to understand how to calculate latitude and longitude into double values, that is 119°44'58.31"W = -119.748584

when i did R&D i understood that i can calculate with the help of this page http://www.directionsmag.com/site/latlong-converter
but i don't understand the way of specifying 119°44'58.31"W value into degrees minutes seconds., available in directionsmag website.

can anyone help me with this?, atleast any source to calculate LatLong which could be useful for a nonmath idiot like me.

Thank you. :)

Basically parse it into the three separate components:
119°44'58.31"W -> 119 degrees + 44 minutes + 58.31 seconds

take the seconds and divide by 60 (60 seconds/minute) : 58.31/60 = 0.9718333 minutes
Add this to the minutes value you already have : 44.9718333 minutes
Divide the total minutes by 60 (60minutes/hour) : 44.9718/60 = 0.74953....
Add this to the number of degrees : 119 + 0.74953 = 119.74953....

Basically parse it into the three separate components:
119°44'58.31"W -> 119 degrees + 44 minutes + 58.31 seconds

take the seconds and divide by 60 (60 seconds/minute) : 58.31/60 = 0.9718333 minutes
Add this to the minutes value you already have : 44.9718333 minutes
Divide the total minutes by 60 (60minutes/hour) : 44.9718/60 = 0.74953....
Add this to the number of degrees : 119 + 0.74953 = 119.74953....

Thank you So Much. :)