Content-type: text/html
Manpage of DSHIFT
DSHIFT
Section: User Commands (1)
Updated: Local
Index
Return to Main Contents
NAME
dshift - Datum shift.
ORIGIN
IGM - CNR Via Gobetti 101, Bologna (ITALY)
SYNOPSIS
dshift
[
-X
datum_trf_file
] [
[
-d
shift code
] [
-C
I/O degree format
] [
-E[i][W][w][b][c][C]/[i][W][b]
] [
-m [DX/DY/DZ]
Turns on the speditive shift and gives the shifts between the two spheroids.
] [
-i
Expects on input pairs of known coordinates (longitude and latitude) and calculates the shifts between the two spheroids.
] [
-:
espects latitude, longitude
] [
-P
inhibits printing of input record
]
AVAILABILITY
This is dshift, 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
dshift
is a program for:
-
- Datum shift between italian datums (Rome 1940, ED50, WGS84, Genova 1909 by roto-translation and scaling tabulated matrixes (for very accurate shifts use program
datum
); or
- Datum shift using Molodenskji formula. When local DX DY DZ are applied a very accurate datum shift can be achieved.
- Calculates DX DY DZ for accurate Datum shift using Molodenskji formula. It requires a data set of points of known coordinates in the two datums.
dshift
uses the rototranslation and scaling matrix output from program
Datum
(Ligi and Bortoluzzi, 1989), and applies geocentric shift, or
uses the Molodenskji formula with dx,dy,dz. These latter are also output from program
Datum
, and are found to be better than tabulated published shifts. Alternatively, DX DY DZ can be calculated by the program and then reused as input.
Program
dshift
needs a file with following structure:
-
Code
old_datum_semimajor_axis new_datum_semimajor_axis
old_datum_eccentricity new_datum_eccentricity
delta_semimajor_axis delta_eccentricity
delta_x delta_y delta_z
rotation_matrix (i,j) (i=1,j=1..3)
rotation_matrix (i,j) (i=2,j=1..3)
rotation_matrix (i,j) (i=3,j=1..3)
translation_matrix (i) (i=1..3)
scaling_matrix (i) (i=1..3)
.
.
Code
.
.
Code
.
EOF
The following datum shift are now available in
dshift:
-
- Rome 1940 to ED50,Genova 1909 and WGS84
- ED50 to Rome 1940,Genova 1909 and WGS84
- Genova 1909 to Rome 1940, ED50 and WGS84
- WGS84 to Rome 1940, ED50 and Genova 1909
Input coordinates (geographical longitude and latitude) can be shifted to one of the above by
specifying option
-d
(see below for the appropriate code).
ARGUMENTS
None.
Reads and write to standard input and output.
OPTIONS
Options may appear anywhere on the command line. No space between single option
and codes.
- -Dcode
-
Selects the datum shift code, that could be:
-
mm2wgs from Rome 1940 to WSG84
mm2ed from Rome 1940 to ED50
ed2mm from ED50 to Rome 1940
ed2wgs from ED50 to WGS84
wgs2mm from WGS84 to Rome 1940
wgs2ed from WGS84 to ED50
ge2ed from Genova 1909 to ED50
- -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
- -E[i][W][w][b][c][C]
-
-E[i][W][b] / [i][W]][b]
-
Selects the ellipsoid
i International (Hayford 1924) (default)
W WGS84
w WGS72
b Bessel
C Clarke 1880
c Clarke 1886
- -m
-
If selected data are transformed with Molodenskji formula using dx,dy,dz
- -P
-
if selected input record is not printed
EXAMPLES
- dshift -dmm2ed -Cs/m -: <<EOF
-
440000 120000
450000 130000
440502.12 122407.23 a b c d
EOF
Read transformation matrix mm2ed
4400.09686 1200.04314 440000 120000
4500.09617 1300.04531 450000 130000
4405.13214 1224.16414 440502.12 122407.23 a b c d
will convert geographical latitude and longitude from Rome 1940 to ED50; input data format is (realnumber encoded) degree_minute_seconds, output format is (realnumber encoded) degree_minute; type of tranformation is Datum.
DIAGNOSTICS
BUGS
AUTHORS
G. Bortoluzzi (
IGM CNR
).
M. Ligi (
IGM - CNR
).
phone (39)-51-639-8882
e-mail :
giovanni.bortoluzzi@igm.bo.cnr.it,
marco.ligi@igm.bo.cnr.it
REFERENCES
Ligi M. and Bortoluzzi G. (1989) - Datum, a FORTRAN 77 computer program for datum shift and conversion of geographical coordinates between different cartographic systems. Computers & Geosciences, V.15, 4, 449-518.
SEE ALSO
datum digmap deg2deg geo2prj geo2pol
Index
- NAME
-
- ORIGIN
-
- SYNOPSIS
-
- AVAILABILITY
-
- DESCRIPTION
-
- ARGUMENTS
-
- OPTIONS
-
- 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