NetTalk Central

Author Topic: Convert latitude and longitude to decimal coordinates to degrees minutes seconds  (Read 4176 times)

lkeyser

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • Email
Hi Everyone

The new Map feature works great !! thanks Cape Soft
One of my Client API's that I interface with,  needs to DMS info from my app.

Is there a method to change latitude and longitude to DMS format ?

Is this possible ?

Many Thanks
Louis

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Hi Louis,

There aren't methods in the class to do it, but of course it's certainly possible.
There are 60 seconds in a minute and 60 minutes in a degree. So it's just a little math to convert from a fraction-of-a-degree to Minutes and Seconds and vice versa.

cheers
Bruce