Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.

dcoords

echo {hms> ${lat}} {hms> ${lon}}
NAME

     dcoords - converts latitude and longitude coordinates from degrees-
               minutes-seconds to decimal degrees.


SYNOPSIS
     
     dcoords -lat DD°MM'SS"[N/S] -lon DD°MM'SS"[E/W]

     
DESCRIPTION
     
     The dcoords command will convert a set of latitude or longitude 
     coordinate that are in degrees-minutes-seconds format to signed 
     decimal degrees notation.  While both the N/S & E/W suffixes are 
     optional, negative signs will NOT appear without them.


EXAMPLES
     
     Example: dcoords -lat 47°49'05.90796" -lon 102°26'58.48232"
     Result:  47.818307766667 102.44957842222

     Example: dcoords -lat 47°49'05.90796"N -lon 102°26'58.48232"W
     Result:  47.818307766667 -102.44957842222


AUTHOR

     Paul M. Boren
     pmboren AT gmail DOT com

    
25 uses - Created 2010-05-20 07:14:02 - Last used 2010-06-12 15:11:54
Is this command broken? Tell Jon if you know how to fix it.
Do you find this command offensive? Let Jon know.