Convert_LL_to_UTM_Fn: Convert from Lat-Long to UTM

View source: R/deprecated.R

Convert_LL_to_UTM_FnR Documentation

Convert from Lat-Long to UTM

Description

Convert_LL_to_UTM_Fn converts from Latitude-Longitude to Universal Transverse Mercator projections for a given location

Usage

Convert_LL_to_UTM_Fn(Lon, Lat, zone = NA, flip_around_dateline = FALSE)

Arguments

Lon

vector of longitudes

Lat

vector of latitudes

zone

UTM zone (integer between 1 and 60) or alphanumeric CRS code used by package rgdal to convert latitude-longitude coordinates to projection in kilometers; zone=NA uses UTM and automatically detects the appropriate zone

flip_around_dateline

boolean specifying whether to flip Lat-Lon locations around the dateline, and then retransform back (only useful if Lat-Lon straddle the dateline)

Value

A data frame with the following columns

X

The UTM eastings for each value of Lon

Y

The UTM northings measured from the equator for each Lat


James-Thorson/FishStatsUtils documentation built on Feb. 6, 2024, 4:26 a.m.