Learn R Programming

wflo (version 1.9)

GK2LonLat: 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)

Value

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

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.

Author

Carsten Croonenbroeck

Details

Assumes that the GK zone is EPSG 31467.

See Also

LonLat2GK for the inverse.

Examples

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

Run the code above in your browser using DataLab