astroGeo: Convert geographical coordinates to and from Swiss topo...

Description Usage Arguments Details Author(s) Examples

Description

Geographic and Swiss topo rectangular coordinates, X positive to the north, Y positive to the east (!)

Usage

1
2
3
4
LB2MK( long, lat )
LB2YX( long, lat )
YX2LB( yt_e, xt_n )
YX2MK( yt_e, xt_n )

Arguments

long,lat

Real, geogr. longitude, latitude

yt_e, xt_n

Real, Swiss coordinates, east, north positive

Details

LB2MK From geogr. longitude and latitude to planar meridian convergence [gon].
LB2YX From geogr. longitude and latitude to Swiss coordinates.
YX2LB From Swiss coordinates to geogr. longitude and latitude.
YX2MK From Swiss coordinates North and East to planar meridian convergence [gon].
LongBerne, LatBerne geogr. coordinates of Berne, 7deg26'22.50" east, 46deg57'08.66" north.
yToEastBerne, xtoNorthBerne Swiss topo coordinates of refernce point near Berne.

Author(s)

Christian W. Hoffmann <christian@echoffmann.ch> after H.Matthias, lecture 'Amtliche Vermessungswerke 1', ETH Zurich, 1986.

Examples

1
2
3
4
5
LB2MK( LongBerne, LatBerne) #  7.21188e-16 [gon]
LB2MK( 9.132582913360895, 46.18669420448755) # somewhere in Switzerland , 1.37472
LB2YX( LongBerne, LatBerne) # 600.0, 200.0
YX2LB ( yToEastBerne, xtoNorthBerne ) # 7.4395833  46.9524055
YX2MK ( 600, 200) #  =   0

cwhmisc documentation built on May 1, 2019, 7:55 p.m.