ll_to_utm: Convert Geodetic Coordinates (Longitude, Latitude) to UTM...

View source: R/ll_to_utm.R

ll_to_utmR Documentation

Convert Geodetic Coordinates (Longitude, Latitude) to UTM Coordinates

Description

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.

Usage

ll_to_utm(df, long = "LONG", lat = "LAT", utm_zone = 15)

Arguments

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

Examples

ll_to_utm(df, long = "LONG", lat = "LAT", utm_zone = 15)

dKvale/aermod documentation built on July 5, 2023, 4:25 a.m.