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
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.

Under construction. Email me your wish list for improvements.