Brian Dunning's FileMaker Custom Functions

DDStoDDM ( LATorLNG )

Converts DMS geocodes to DDM geocodes

  Average rating: 3.9 (15 votes) Log in to vote

Peter Sijmons   Peter Sijmons - Show more from this author
Szienz
http://www.szienz.com

Share on Facebook Share on Twitter

  Sample input:
N 24° 31' 37.6854"
S 24° 12' 24.8026"
24° 12' 24.8026" S
  Sample output:
24.5271334833333
-24.206889611111
-24.206889611111

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

This converts the latitude and longitude in degrees, minutes, seconds decimal DMS, to degrees decimal minutes DDM which is easier to use in FileMaker Webviewers that display Google map locations.

The comma substitution is needed when running on systems that have a decimal comma

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: