Skip to contents

longlat_to_utm

Usage

longlat_to_utm(data, longlat_crs, utm_crs)

Arguments

data

a dataframe

longlat_crs

a variable in the dataframe

utm_crs

a variable in the dataframe

Value

a dataframe

Examples

longlat_to_utm(oregonfrogs, "+proj=longlat +datum=WGS84", "+proj=utm +zone=10")[1:5,1:4]
#>        X       Y detection survey_date
#> 1 597369 4846486  Captured  2018-09-25
#> 2 597352 4846487 No visual  2018-10-02
#> 3 597345 4846458 No visual  2018-10-09
#> 4 597340 4846464 No visual  2018-10-15
#> 5 597344 4846460 No visual  2018-10-22