latlong2UTM | R Documentation |
Translate the long lat coordinate in UTM coordinate
latlong2UTM(coord)
coord |
Coordinates of the site(s), a matrix/dataframe with two columns (e.g. cbind(longitude, latitude)) (see examples). |
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
long <- c(-52.68, -51.12, -53.11)
lat <- c(4.08, 3.98, 4.12)
coord <- cbind(long, lat)
UTMcoord <- latlong2UTM(coord)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.