GK2LonLat: Converts Gauss-Kruger coordinates to longitude/latitude...

View source: R/Functions.R

GK2LonLatR Documentation

Converts Gauss-Kruger coordinates to longitude/latitude coordinates.

Description

This function accepts a pair of Gauss-Kruger (GK) coordinates and converts them to longitude (decimal system, east) and latitude (decimal system, north) coordinates by performing re-projection.

Usage

GK2LonLat(X, Y)

Arguments

X

a numeric value for the 'right' value in the GK coordinate system.

Y

a numeric value for the 'top' value in the GK coordinate system.

Details

Assumes that the GK zone is EPSG 31467.

Value

Returns a vector of two values where longitude is first, latitude second.

Author(s)

Carsten Croonenbroeck

See Also

LonLat2GK for the inverse.

Examples

LonLat <- GK2LonLat(3702793, 5998319) # Will return c(12.09750, 54.07547).

wflo documentation built on Jan. 15, 2023, 5:10 p.m.

Related to GK2LonLat in wflo...