Index2GK: Converts FarmData indices to Gauss-Kruger coordinates.

View source: R/Functions.R

Index2GKR Documentation

Converts FarmData indices to Gauss-Kruger coordinates.

Description

This function accepts indices that are within the FarmData space and converts them to a pair of Gauss-Kruger (GK) coordinates.

Usage

Index2GK(X, Y)

Arguments

X

a numeric value for the 'X' value in the FarmData space.

Y

a numeric value for the 'Y' value in the FarmData space.

Details

Assumes that the GK zone is EPSG 31467. References to indices are valid if the full data set is loaded, see FarmData and AcquireData.

Value

For index values between 1 and 3,250 for X and between 1 and 4,400 for Y, returns Gauss-Kruger coordinates valid in the EPSG 31467 coordinate system.

Author(s)

Carsten Croonenbroeck

See Also

GK2Index for the inverse.

Examples

Index2GK(1, 4400) # Will return c(3280000, 5230000), the lower left point.
Index2GK(3250, 1) # Will return c(3929800, 6109800), the top right point.

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

Related to Index2GK in wflo...