You must convert the latitude and longitude in proper manner.
Example for Conversion:
Convert 102° 45' 54" to decimalform.
Clearly, I've got 102°, but how do Iconvert the minutes and seconds to decimal form? By using the definitions anddoing the divisions. The 45' means 45/60 of a degree, since each degreecontains sixty minutes. Simplification and long division gives me 45/60 = 3/4 =0.75. So the 45' is 0.75°.
Now I need to deal with the 54". Sinceeach minute is sixty seconds, then I get 54/60 = 9/10 = 0.9. But this isminutes. Now I need to convert the 0.9 of a minute to degrees: