ll_to_utm | R Documentation |
Convert longitude, latitude coordinates in a data frame to UTM coordinates in a specified UTM zone. The longitude and latitude coordinates should be columns in the data frame passed into the function. The user can optionally specify the names of the columns to process. The function returns the dataframe with the X and Y columns bound to it.
ll_to_utm(df, long = "LONG", lat = "LAT", utm_zone = 15)
df |
Input data frame. |
long |
The name of the column containing longitude values |
lat |
The name of the column containing latitude values |
utm_zone |
UTM zone in which to calculate X, Y coordinates |
ll_to_utm(df, long = "LONG", lat = "LAT", utm_zone = 15)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.