![]() |
Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.
|
NAME
dcoords2 - converts latitude and longitude coordinates from
degrees-minutes-seconds to decimal degrees.
SYNOPSIS
dcoords2 DD°MM'SS"[N/S] DD°MM'SS"[E/W]
DESCRIPTION
The dcoords2 command is a parameterized version of the dcoords
command that converts a set of latitude, longitude coordinates
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: dcoords2 47°49'05.90796" 102°26'58.48232"
Result: 47.818307766667 102.44957842222
Example: dcoords2 47°49'05.90796"N 102°26'58.48232"W
Result: 47.818307766667 -102.44957842222
AUTHOR
Paul M. Boren
pmboren AT gmail DOT com