powered by
Translate the long lat coordinate in UTM coordinate
latlong2UTM(coord)
a data frame with :
long: The longitude of the entry
long
lat: The latitude of the entry
lat
codeUTM: The code proj for UTM
codeUTM
proj
X: The X UTM coordinate
X
Y: The Y UTM coordinate
Y
Coordinates of the site(s), a matrix/dataframe with two columns (e.g. cbind(longitude, latitude)) (see examples).
long <- c(-52.68, -51.12, -53.11) lat <- c(4.08, 3.98, 4.12) coord <- cbind(long, lat) # \donttest{ UTMcoord <- latlong2UTM(coord) # }
Run the code above in your browser using DataLab