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

hmscoords

echo {ifthen -value1 ${lat} -value2 0 -test GREATEREQUAL -then {>hms ${lat}}N -else {strreplace -find - -replace -string {>hms ${lat}}}S} {ifthen -value1 ${lon} -value2 0 -test GREATEREQUAL -then {>hms ${lon}}E -else {strreplace -find - -replace -string {>hms ${lon}}}W}
NAME

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


SYNOPSIS
     
     hmscoords -lat DD.DDDDD... -lon DD.DDDDD...

     
DESCRIPTION
     
     The hmscoords command will convert a set of latitude or longitude 
     coordinate that are in signed decimal degrees notation to degrees-
     minutes-seconds format.


EXAMPLES
     
     Example: hmscoords -lat 47.818307766667 -lon -102.44957842222
     Result:  47°49'05.91"N 102°26'58.48"W


AUTHOR

     Paul M. Boren
     pmboren AT gmail DOT com
    
22 uses - Created 2010-05-21 22:21:36 - Last used 2010-06-09 18:37:21
Is this command broken? Tell Jon if you know how to fix it.
Do you find this command offensive? Let Jon know.