Learn R Programming

wflo (version 1.9)

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

Description

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

Usage

LonLat2GK(Lon, Lat)

Value

Returns a vector of two values where X is first, Y second.

Arguments

Lon

longitude value (decimal system, east).

Lat

latitude value (decimal system, north).

Author

Carsten Croonenbroeck

Details

The resulting values are in GK zone EPSG 31467.

See Also

GK2LonLat for the inverse.

Examples

Run this code
LonLat2GK(12.09750, 54.07548) # Will return c(3702793, 5998320).

Run the code above in your browser using DataLab