Scilab Function
Last update : 31/10/2005
geo2gkn - conversion of geographical coord. into
GK-N coordinates
Calling Sequence
-
[z,NRout] =
geo2gkn(w2,w1,NR)
Parameters
-
w2
: Vector with longitude values (DEG)
-
w1
: Vector with lattitude values (DEG)
-
NR
: meridional stripe number. Argument is optional. If it is not
used, it is calculated in relation to the longitude value. In
Germany, meridional stripe numbers 3, 4 and 5 are used.
-
z
: complex vector with Gauss-Krüger coordinates. Real part =
Right Value, Imag. part = height value.
-
NRout
: meridional stripe number for the calculated Gauss-Krüger
value.
Description
-
The function geo2gkn calculates Gauss-Krüger Coordinates in the
cartesian Potsdam-Rauenberg-DHDN format. By changing the values of the
constants of the earth ellipsoide, other cartesian formats can
achieved.
-
However: A transformation is not done, because it is just funny.
The background behind all coordinate transformations are further
mathematical operations, like calculating distances, directions
etc.
Examples
[Z1,NR]=geo2gkn(8,49,3);
[Z2,NR]=geo2gkn(10,51,3);
d=abs(Z2-Z1)/1000; // Distance between points in km
disp(d);
See Also
gkn2geo
,
tkblatt
,
Authors
-
Dr. Andreas Geissler geisslea@web.de
Used Function
geo2gkk