Content-type: text/html
Manpage of DEG2DEG
DEG2DEG
Section: User Commands (1)
Updated: Local
Index
Return to Main Contents
NAME
deg2deg
- Conversion of geographical latitude and longitude between different formats.
ORIGIN
IGM - CNR Via Gobetti 101, Bologna (ITALY)
SYNOPSIS
deg2deg
[
format I/O]
[
Long. offset Roma M.Mario
] [
] [
]
AVAILABILITY
This is
deg2deg,
part of IGM-CNR Cartographic Software.
The source code of this program together with information on how
to install it is available from IGM-CNR.
DESCRIPTION
Program
deg2deg
expects on input pairs of geographical coordinates (longitude and latitude, -180 to +180, -90 to + 90); on output, data are converted to the selected format;
If option -M is selected, the program does the same, except that it considers the longitude offset from Rome M.Mario (Italian State Network, also called ITALY 1940).
Input data record is by default preserved on output; to turn off, select -P option.
ARGUMENTS
None.
It reads and writes from standard input and to standard output.
OPTIONS
Options may appear anywhere on the command line. No space between single option
and codes. All options must be upper case.
- -C[s|m|d]/[s|m|d]
-
Selects the coordinate format for input/output, where
-
s real number encoding degree_minute_seconds.decimals
m real number encoding degree_minute.decimals
d real number whole degree.decimals
- -R
-
-
Longitude offset from Roma M.Mario (Italian State Network) (122708.400).
- -P
-
-
Turns off the printing of input record
- -:
-
-
Swaps the input coordinates.
DEFAULTS
Degree format input [m]
Degree format output [d]
Longitude offset Greenwich.
EXAMPLES
- deg2deg -Cs/d <<EOF
-
120000 440000 a b c
130000 450000 d e f
140000 460000 g h i
EOF
will give
12.0000000 44.0000000 120000 440000 a b c
13.0000000 45.0000000 130000 450000 d e f
-5.6264231 -53.4200333 -53735.123 -532512.12 g h i
DIAGNOSTICS
BUGS
AUTHORS
G. Bortoluzzi M.Ligi (IGM CNR).
phone (39)-51-639-8882
e-mail : gb@boigm2.igm.bo.cnr.it, gb@astbo1.bo.cnr.it
REFERENCES
Ligi M. and Bortoluzzi G. (1989) - Datum, a Fortran77 computer program for datum shift and conversion of geographical coordinates between different cartographic systems. Computer & Geosciences, 15(4), 449-518.
SEE ALSO
geo2prj geo2pol ux_time
Index
- NAME
-
- ORIGIN
-
- SYNOPSIS
-
- AVAILABILITY
-
- DESCRIPTION
-
- ARGUMENTS
-
- OPTIONS
-
- DEFAULTS
-
- EXAMPLES
-
- DIAGNOSTICS
-
- BUGS
-
- AUTHORS
-
- REFERENCES
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 15:06:03 GMT, December 16, 2007