powered by
This function accepts indices that are within the FarmData space and converts them to a pair of Gauss-Kruger (GK) coordinates.
Index2GK(X, Y)
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.
a numeric value for the 'X' value in the FarmData space.
a numeric value for the 'Y' value in the FarmData space.
Carsten Croonenbroeck
Assumes that the GK zone is EPSG 31467. References to indices are valid if the full data set is loaded, see FarmData and AcquireData.
FarmData
AcquireData
GK2Index for the inverse.
GK2Index
Index2GK(1, 4400) # Will return c(3280000, 5230000), the lower left point. Index2GK(3250, 1) # Will return c(3929800, 6109800), the top right point.
Run the code above in your browser using DataLab