latlong2UTM: Translate the long lat coordinate in UTM coordinate

View source: R/latlong2UTM.R

latlong2UTMR Documentation

Translate the long lat coordinate in UTM coordinate

Description

Translate the long lat coordinate in UTM coordinate

Usage

latlong2UTM(coord)

Arguments

coord

Coordinates of the site(s), a matrix/dataframe with two columns (e.g. cbind(longitude, latitude)) (see examples).

Value

a data frame with :

  • long: The longitude of the entry

  • lat: The latitude of the entry

  • codeUTM: The code proj for UTM

  • X: The X UTM coordinate

  • Y: The Y UTM coordinate

Examples


long <- c(-52.68, -51.12, -53.11)
lat <- c(4.08, 3.98, 4.12)
coord <- cbind(long, lat)

UTMcoord <- latlong2UTM(coord)



BIOMASS documentation built on Sept. 29, 2023, 5:09 p.m.