Skip to contents

utm_to_longlat

Usage

utm_to_longlat(data, utm_crs, longlat_crs)

Arguments

data

a dataframe

utm_crs

a variable in the dataframe

longlat_crs

a variable in the dataframe

Value

a dataframe

Examples

utm_to_longlat(oregonfrogs_raw, "+proj=utm +zone=10", "+proj=longlat +datum=WGS84")[1:5,1:4]
#>           X        Y          Site Subsite
#> 1 -121.7903 43.76502 Crane Prairie SE Pond
#> 2 -121.7905 43.76503 Crane Prairie SE Pond
#> 3 -121.7906 43.76477 Crane Prairie SE Pond
#> 4 -121.7907 43.76483 Crane Prairie SE Pond
#> 5 -121.7906 43.76479 Crane Prairie SE Pond