util.geoco2gk: Geographic coordinates to Gauss-Krueger-Coordinates

View source: R/util.geoco2gk.R

util.geoco2gkR Documentation

Geographic coordinates to Gauss-Krueger-Coordinates

Description

Converts geographic coordinates to Gauss-Krueger-Coordinates.

Usage

util.geoco2gk(x,y, meridian=4)

Arguments

x

A vector of longitudes to transform.

y

A vector of latitudes to transform.

meridian

The referenced meridian for Gauss-Krueger-Coordinates.

Details

Converts geographic coordinates (longitude, latitude) to Gauss-Krueger-Coordinates (‘Rechtswert’, ‘Hochwert’) referenced by a given meridian.

Value

A matrix containing the the ‘Rechtswert’ of the Gauss-Krueger-Coordinates in its first column and the ‘Hochwert’ in its second column.

Author(s)

Daniel Doktor, Maximilian Lange

Examples

 x <- c(51.3, 54.7)
 y <- c(12.3, 13.5)
 gk.xy <- util.geoco2gk(x,y,4)

phenmod documentation built on April 14, 2022, 5:08 p.m.