Functions for converting latitude-longitude data to UTM.

long2UTM(long)

UTMzones(long)

chooseUTM(long)

Arguments

long

A vector of longitude values.

Value

UTM vector of zone numbers. UTM vector of zone numbers. UTM zone number.

Examples

long2UTM(c(-90, 0, 90))
#> [1] 16 31 46
UTMzones(c(-90, 90, 90))
#> [1] 16 46
chooseUTM(c(-90, -80, -70))
#> [1] 17