Brian Dunning's FileMaker Custom Functions

latORlonFromPoint ( Point ; Type )

Returns a latitude or longitude from a point on earth.

  Average rating: 4.8 (19 votes) Log in to vote

Edward P. Asmus   Edward P. Asmus
Asmus Consulting
http://asmus.uga.edu

Share on Facebook Share on Twitter

  Sample input:
latORlonFromPoint ( "38.2065,-112.1822"; "lat" )
  Sample output:
38.2065

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

Returns either the latitude or the longitude of a point. A point is of the form "latitude,longitude" that is useable in Google Earth or Google Maps if they are in decimal degrees (DD). The function is called with the point and a type. The type can be either "latitude" or "longitude" and may be shortened to "lat" or "lon". The type can also be in any case: upper, lower, or mixed.

 

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.