Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.
|
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